Added total fee cost of booking

This commit is contained in:
Joaquin Ossa 2024-12-02 08:44:24 +01:00
parent 126e702c6e
commit b03982b708
4 changed files with 11 additions and 0 deletions

View file

@ -13,6 +13,7 @@ select
av.verification_status,
av.nightly_fee_local,
av.number_nights,
av.nightly_fee_local * av.number_nights as total_fee_local,
av.email_flag,
av.phone_flag,
av.watch_list,
@ -55,6 +56,7 @@ select
ev.verification_source,
ev.verification_status,
ev.nightly_fee_local,
ev.nightly_fee_local * ev.number_nights as total_fee_local,
ev.number_nights,
ev.email_flag,
ev.phone_flag,

View file

@ -1246,6 +1246,10 @@ models:
data_type: integer
description: "number of nights for the booking"
- name: total_fee_local
data_type: double precision
description: "total fee for the booking"
- name: email_flag
data_type: text
description: "screening result for email"

View file

@ -12,6 +12,7 @@ select
eav.verification_status as verification_status,
eav.nightly_fee_local as nightly_fee_local,
eav.number_nights as number_nights,
eav.total_fee_local as total_fee_local,
eav.email_flag as email_flag,
eav.phone_flag as phone_flag,
eav.watch_list as watch_list,

View file

@ -63,6 +63,10 @@ models:
data_type: integer
description: "number of nights for the booking"
- name: total_fee_local
data_type: double precision
description: "total fee for the booking"
- name: email_flag
data_type: text
description: "screening result for email"