Browse Source

[IMP] pos_payment_terminal: Change button disposition

pull/389/head
Denis Roussel 5 years ago
parent
commit
45f9b54028
  1. 7
      pos_payment_terminal/static/src/xml/pos_payment_terminal.xml

7
pos_payment_terminal/static/src/xml/pos_payment_terminal.xml

@ -1,9 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve"> <templates id="template" xml:space="preserve">
<t t-extend="PaymentScreen-Paymentlines" > <t t-extend="PaymentScreen-Paymentlines" >
<t t-jquery=".col-name" t-operation="append">
<t t-jquery="th:last" t-operation="before">
<th name="terminal-transaction"></th>
</t>
<t t-jquery="td.delete-button" t-operation="before">
<t t-if="line.cashregister.journal.payment_mode and widget.pos.config.iface_payment_terminal"> <t t-if="line.cashregister.journal.payment_mode and widget.pos.config.iface_payment_terminal">
<td>
<button class="payment-terminal-transaction-start" t-att-data-cid='line.cid'>Start transaction</button> <button class="payment-terminal-transaction-start" t-att-data-cid='line.cid'>Start transaction</button>
</td>
</t> </t>
</t> </t>
</t> </t>

Loading…
Cancel
Save