diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-09-13 18:07:59 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-09-13 18:07:59 +0200 |
| commit | 6c948c36bbf72dd896e0bff03aa7fbddadcbb0cd (patch) | |
| tree | f8620905c011735d8a3c340c46d1417a54a75972 /addons/pos_restaurant/static/src/xml/floors.xml | |
| parent | 48503fcf08eac6fed12e080d4f501f9bbc8d257d (diff) | |
| parent | 197474e5b9ad43ab2d587a98136a1a809ce9a2e7 (diff) | |
[MERGE] forward port branch saas-12.5 up to 197474e5b9a
Diffstat (limited to 'addons/pos_restaurant/static/src/xml/floors.xml')
| -rw-r--r-- | addons/pos_restaurant/static/src/xml/floors.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/addons/pos_restaurant/static/src/xml/floors.xml b/addons/pos_restaurant/static/src/xml/floors.xml index 9179a742636..b3019a915d4 100644 --- a/addons/pos_restaurant/static/src/xml/floors.xml +++ b/addons/pos_restaurant/static/src/xml/floors.xml @@ -6,7 +6,7 @@ <t t-if='receipt.table'> at table <t t-esc='receipt.table' /> </t> - <t t-if='receipt.customer_count'> + <t t-if='receipt.table && receipt.customer_count'> <div>Guests: <t t-esc='receipt.customer_count' /></div> </t> </t> @@ -23,6 +23,19 @@ </t> </t> + <t t-extend="OrderSelectorWidget"> + <t t-jquery=".order-sequence" t-operation="replace"> + <span class="order-sequence"> + <t t-if="order.server_id && widget.pos.pos_session.login_number != order.uid.split('-')[1]"> + <t t-esc="order.uid.substring(order.uid.indexOf('-') +1)"/> + </t> + <t t-else=""> + <t t-esc="order.sequence_number"/> + </t> + </span> + </t> + </t> + <t t-name="TableGuestsButton"> <div class='control-button'> <span class='control-button-number'> |
