Debian Codegraph @

addons/pos_restaurant/static/src/app/screens/receipt_screen/receipt_screen.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <templates id="template" xml:space="preserve">
3 <t t-name="pos_restaurant.ReceiptScreen" t-inherit="point_of_sale.ReceiptScreen" t-inherit-mode="extension">
4 <xpath expr="//div[@id='action_btn_desktop']" position="inside">
5 <button t-if="isContinueSplitting()" class="button next validation btn btn-primary w-100 py-5 rounded-0 fs-2" t-att-class="{ highlight: !locked }" t-on-click="continueSplitting" name="resume">
6 <i class="fa fa-chevron-right" role="img" aria-label="Pay" title="Pay" />
7 Continue
8 </button>
9 </xpath>
10 <xpath expr="//div[@id='action_btn_mobile']" position="inside">
11 <div t-if="isContinueSplitting()" class="btn-switchpane validation-button btn btn-primary flex-fill d-flex justify-content-center align-items-center rounded-0 fw-bolder fs-1" t-att-class="{ highlight: !locked }" t-on-click="continueSplitting" name="resume">
12 Continue
13 </div>
14 </xpath>
15 <xpath expr="//div[@id='action_btn_desktop']/button[hasclass('validation')]" position="attributes">
16 <attribute name="t-if">!isContinueSplitting()</attribute>
17 </xpath>
18 <xpath expr="//div[@id='action_btn_mobile']/div[hasclass('validation-button')]" position="attributes">
19 <attribute name="t-if">!isContinueSplitting()</attribute>
20 </xpath>
21 </t>
22 </templates>