| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<templates id="template" xml:space="preserve"> |
| 3 |
<t t-name="pos_event.TicketScreen" t-inherit="point_of_sale.TicketScreen" t-inherit-mode="extension"> |
| 4 |
<xpath expr="//button[hasclass('edit-order-payment')]" position="attributes"> |
| 5 |
<attribute name="t-if">!this.pos.config.module_pos_hr || this.pos.employeeIsAdmin</attribute> |
| 6 |
</xpath> |
| 7 |
<xpath expr="//div[hasclass('ticket-screen')]//div[hasclass('subpads d-flex flex-column')]" position="attributes"> |
| 8 |
<attribute name="t-if">!this.pos.config.module_pos_hr or this.pos.cashier._role !== 'minimal'</attribute> |
| 9 |
</xpath> |
| 10 |
</t> |
| 11 |
</templates> |