[FIX] pos_restaurant: hide badge when floor edit mode

closes odoo/odoo#143515

Signed-off-by: Adrien Guilliams (adgu) <adgu@odoo.com>
This commit is contained in:
Joseph Caburnay
2023-11-27 09:51:05 +00:00
parent 1d515d27c5
commit d8fc625931
@@ -10,7 +10,7 @@
<span
t-att-class="orderCountClass"
class="badge d-flex align-items-center justify-content-center position-absolute rounded-pill"
t-attf-class="{{ orderCount === 0 ? 'd-none' : ''}}"
t-attf-class="{{ orderCount === 0 or pos.isEditMode ? 'd-none' : ''}}"
t-att-style="badgeStyle"
t-esc="orderCount"/>
</div>