From 229b5ca3bdd1ce669f9b50f1821734ba21b8966b Mon Sep 17 00:00:00 2001 From: luoyang Date: Tue, 14 Apr 2020 10:13:00 +0800 Subject: [PATCH] fix partner invoice style --- .../templates/partner_settlement_dialog.html | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/src/main/ui/static/payment/tradelog/templates/partner_settlement_dialog.html b/src/main/ui/static/payment/tradelog/templates/partner_settlement_dialog.html index 16f3195f7..492a24bf1 100644 --- a/src/main/ui/static/payment/tradelog/templates/partner_settlement_dialog.html +++ b/src/main/ui/static/payment/tradelog/templates/partner_settlement_dialog.html @@ -162,13 +162,12 @@ Currency Input Amount Total Amount - - Surcharge Amount - System Rate - System Profit - Incremental Rate - Incremental Profit - Tax Amount + Surcharge rate for RoyalPay + Surcharge Amount for RoyalPay + GST Amount for RoyalPay + Surcharge rate for Mini Program + Surcharge Amount for Mini Program + GST Amount for Mini Program Settle Amount Remark @@ -185,16 +184,14 @@ - - {{(((tr.surcharge_rate * 100) > tr.rate_value)?(tr.surcharge_rate * 100-tr.rate_value):tr.surcharge_rate)| number : 2}} - % + + {{(((tr.surcharge_rate * 100) > tr.rate_value)?((tr.surcharge_rate * 100-tr.rate_value)):(tr.surcharge_rate))|number:2}} % - {{(tr.total_surcharge-tr.incremental_surcharge) | number : 2 | currency:tr.currency}} - {{tr.source}}:{{(tr.rate_value) | number : 2}}% - 0.00% - {{tr.source}}:{{tr.incremental_surcharge | currency:tr.currency}}{{0.00 | currency:tr.currency}} - {{0.00 | currency:tr.currency}} - + + + + +