From ca495e7e76d56e8d3e39690c6dd28e4304aeebbe Mon Sep 17 00:00:00 2001 From: Daniel Camargo Date: Mon, 30 Jun 2014 16:29:12 -0300 Subject: [PATCH] implement additional payment math in Settlement.php #2250 --- .../frontend/settlement-restaurants.phtml | 125 ++++++++++-------- 1 file changed, 67 insertions(+), 58 deletions(-) diff --git a/include/views/default/cockpit2/frontend/settlement-restaurants.phtml b/include/views/default/cockpit2/frontend/settlement-restaurants.phtml index ca5118e93..8443f9509 100644 --- a/include/views/default/cockpit2/frontend/settlement-restaurants.phtml +++ b/include/views/default/cockpit2/frontend/settlement-restaurants.phtml @@ -87,84 +87,93 @@ + + +
+ Show details + Hide details +

+

+ +
+ +

+ Total Amounts +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Credit Card Subtotal$ {{sum.card_subtotal | formatPrice}}
Tax$ {{sum.tax | formatPrice}}
Delivery Fee$ {{sum.delivery_fee | formatPrice}}
Tip$ {{sum.tip | formatPrice}}
Promo Gift Card$ {{sum.promo_gift_card | formatPrice}}
Apology Gift Card$ {{sum.apology_gift_card | formatPrice}}
Cash Reimburse$ {{sum.cash_reimburse | formatPrice}}
Cash Subtotal$ {{sum.cash_subtotal | formatPrice}}
Credit Card Charge$ {{sum.credit_charge | formatPrice}}
Crunchbutton Fees$ {{sum.restaurant_fee | formatPrice}}
Adjustments$ {{sum.adjustment | formatPrice}}
Total due$ {{sum.total_due | formatPrice}}
+
+ - + -
Restaurant Total Due
{{restaurant.name}} $ {{restaurant.total_due | formatPrice}} - Show Hide Details


-

- Total Amounts -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Credit Card Subtotal$ {{sum.card_subtotal | formatPrice}}
Tax$ {{sum.tax | formatPrice}}
Delivery Fee$ {{sum.delivery_fee | formatPrice}}
Tip$ {{sum.tip | formatPrice}}
Promo Gift Card$ {{sum.promo_gift_card | formatPrice}}
Apology Gift Card$ {{sum.apology_gift_card | formatPrice}}
Cash Reimburse$ {{sum.cash_reimburse | formatPrice}}
Cash Subtotal$ {{sum.cash_subtotal | formatPrice}}
Credit Card Charge$ {{sum.credit_charge | formatPrice}}
Crunchbutton Fees$ {{sum.restaurant_fee | formatPrice}}
Adjustments$ {{sum.adjustment | formatPrice}}
Total due$ {{sum.total_due | formatPrice}}
-