Silly mistake fixed
This commit is contained in:
parent
435db55c1e
commit
82629e040b
3 changed files with 6 additions and 6 deletions
|
|
@ -20,12 +20,12 @@ with
|
|||
cer.rate,
|
||||
v.is_cancelled,
|
||||
case
|
||||
when v.verification_status in {{ ok_status }}
|
||||
when v.verification_status in {{ ok_status }} and is_cancelled = false
|
||||
then v.nightly_fee_local * v.number_nights
|
||||
else 0
|
||||
end as ok_status_fee_in_txn_currency,
|
||||
case
|
||||
when v.verification_status in {{ ok_status }}
|
||||
when v.verification_status in {{ ok_status }} and is_cancelled = false
|
||||
then cer.rate * v.nightly_fee_local * v.number_nights
|
||||
else 0
|
||||
end as ok_status_fee_in_gbp,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue