Added total fee cost of booking
This commit is contained in:
parent
126e702c6e
commit
b03982b708
4 changed files with 11 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ select
|
||||||
av.verification_status,
|
av.verification_status,
|
||||||
av.nightly_fee_local,
|
av.nightly_fee_local,
|
||||||
av.number_nights,
|
av.number_nights,
|
||||||
|
av.nightly_fee_local * av.number_nights as total_fee_local,
|
||||||
av.email_flag,
|
av.email_flag,
|
||||||
av.phone_flag,
|
av.phone_flag,
|
||||||
av.watch_list,
|
av.watch_list,
|
||||||
|
|
@ -55,6 +56,7 @@ select
|
||||||
ev.verification_source,
|
ev.verification_source,
|
||||||
ev.verification_status,
|
ev.verification_status,
|
||||||
ev.nightly_fee_local,
|
ev.nightly_fee_local,
|
||||||
|
ev.nightly_fee_local * ev.number_nights as total_fee_local,
|
||||||
ev.number_nights,
|
ev.number_nights,
|
||||||
ev.email_flag,
|
ev.email_flag,
|
||||||
ev.phone_flag,
|
ev.phone_flag,
|
||||||
|
|
|
||||||
|
|
@ -1246,6 +1246,10 @@ models:
|
||||||
data_type: integer
|
data_type: integer
|
||||||
description: "number of nights for the booking"
|
description: "number of nights for the booking"
|
||||||
|
|
||||||
|
- name: total_fee_local
|
||||||
|
data_type: double precision
|
||||||
|
description: "total fee for the booking"
|
||||||
|
|
||||||
- name: email_flag
|
- name: email_flag
|
||||||
data_type: text
|
data_type: text
|
||||||
description: "screening result for email"
|
description: "screening result for email"
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ select
|
||||||
eav.verification_status as verification_status,
|
eav.verification_status as verification_status,
|
||||||
eav.nightly_fee_local as nightly_fee_local,
|
eav.nightly_fee_local as nightly_fee_local,
|
||||||
eav.number_nights as number_nights,
|
eav.number_nights as number_nights,
|
||||||
|
eav.total_fee_local as total_fee_local,
|
||||||
eav.email_flag as email_flag,
|
eav.email_flag as email_flag,
|
||||||
eav.phone_flag as phone_flag,
|
eav.phone_flag as phone_flag,
|
||||||
eav.watch_list as watch_list,
|
eav.watch_list as watch_list,
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,10 @@ models:
|
||||||
data_type: integer
|
data_type: integer
|
||||||
description: "number of nights for the booking"
|
description: "number of nights for the booking"
|
||||||
|
|
||||||
|
- name: total_fee_local
|
||||||
|
data_type: double precision
|
||||||
|
description: "total fee for the booking"
|
||||||
|
|
||||||
- name: email_flag
|
- name: email_flag
|
||||||
data_type: text
|
data_type: text
|
||||||
description: "screening result for email"
|
description: "screening result for email"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue