diff --git a/models/intermediate/edeposit/int_edeposit__verification_fees.sql b/models/intermediate/edeposit/int_edeposit__verification_fees.sql index 7733344..317d64f 100644 --- a/models/intermediate/edeposit/int_edeposit__verification_fees.sql +++ b/models/intermediate/edeposit/int_edeposit__verification_fees.sql @@ -88,12 +88,12 @@ select er.rejected_fee_in_txn_currency, er.rejected_fee_in_gbp, case - when ct.is_cancellation_threshold_surpassed is true + when ct.is_cancellation_threshold_surpassed is true and v.is_cancelled is true then {{ cancellation_fee }} else 0 end as cancelled_fee_in_txn_currency, case - when ct.is_cancellation_threshold_surpassed is true + when ct.is_cancellation_threshold_surpassed is true and v.is_cancelled is true then rate * {{ cancellation_fee }} else 0 end as cancelled_fee_in_gbp,