diff options
| author | Antoine Prieels <anp@odoo.com> | 2020-08-27 09:50:57 +0000 |
|---|---|---|
| committer | Antoine Prieels <anp@odoo.com> | 2020-08-28 06:18:48 +0000 |
| commit | eaae65941177dcf89d03251343de3cb4e7866003 (patch) | |
| tree | b2e8f16a5e74882b00b68f2d670ca42d5809b7c8 /addons/point_of_sale/static/src/xml/Screens/TicketScreen/TicketScreen.xml | |
| parent | 9b67f6ee0783e8b02edb260b3ba5a0322187a416 (diff) | |
[IMP] pos_restaurant(_adyen): Keep tab open
As long as the payment is not validated, the cashier can add products
to the order, even if the payment has been completed. The amount
authorized can be adjusted if the payment interface implements the
canBeAdjusted method.
closes odoo/odoo#56639
Taskid: 2117032
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/point_of_sale/static/src/xml/Screens/TicketScreen/TicketScreen.xml')
| -rw-r--r-- | addons/point_of_sale/static/src/xml/Screens/TicketScreen/TicketScreen.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/point_of_sale/static/src/xml/Screens/TicketScreen/TicketScreen.xml b/addons/point_of_sale/static/src/xml/Screens/TicketScreen/TicketScreen.xml index 2aa890e029d..abdba9bb63e 100644 --- a/addons/point_of_sale/static/src/xml/Screens/TicketScreen/TicketScreen.xml +++ b/addons/point_of_sale/static/src/xml/Screens/TicketScreen/TicketScreen.xml @@ -16,6 +16,7 @@ <div class="col start wide">Date</div> <div class="col start wide">Receipt Number</div> <div class="col start">Customer</div> + <div class="col start wide" t-if="showCardholderName()">Cardholder Name</div> <div class="col start">Employee</div> <div class="col end">Total</div> <div class="col start narrow">Status</div> @@ -32,6 +33,9 @@ <div class="col start"> <t t-esc="getCustomer(order)"></t> </div> + <div t-if="showCardholderName()" class="col start"> + <t t-esc="getCardholderName(order)"></t> + </div> <div class="col start"> <t t-esc="getEmployee(order)"></t> </div> |
