Tower: upload laundry_management 19.0.19.0.4 (via marketplace)
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="laundry_management.LaundryOrderAttributePopup">
|
||||
<Dialog title="props.title" size="'lg'">
|
||||
<div class="p-2">
|
||||
<t t-if="!props.attributes.length">
|
||||
<div class="alert alert-info text-center">
|
||||
No attributes available.
|
||||
</div>
|
||||
</t>
|
||||
<div class="d-flex flex-wrap gap-2">
|
||||
<t t-foreach="props.attributes" t-as="attr" t-key="attr.id">
|
||||
<button class="btn btn-lg px-3 py-2"
|
||||
t-att-class="isSelected(attr.id) ? 'btn-primary' : 'btn-outline-primary'"
|
||||
t-att-style="attr.color ? ('border-color:' + attr.color + ';color:' + (isSelected(attr.id) ? '#fff' : attr.color)) : ''"
|
||||
t-on-click="() => this.toggle(attr.id)">
|
||||
<span t-esc="attr.name"/>
|
||||
</button>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
<t t-set-slot="footer">
|
||||
<button class="btn btn-primary btn-lg flex-fill" t-on-click="confirm">
|
||||
Confirm
|
||||
</button>
|
||||
<button class="btn btn-secondary btn-lg flex-fill" t-on-click="skip">
|
||||
Skip
|
||||
</button>
|
||||
</t>
|
||||
</Dialog>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Reference in New Issue
Block a user