Tower: upload laundry_management 19.0.19.0.4 (via marketplace)

This commit is contained in:
2026-05-01 15:00:45 +00:00
parent e19464e2a8
commit beace16323

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="laundry_management.LaundryDeliveryDetailsPopup">
<Dialog title="props.title" size="'md'">
<div class="p-3">
<div class="mb-3">
<label class="form-label fw-bold">
Delivery Address
<span t-if="props.requireAddress" class="text-danger">*</span>
</label>
<textarea class="form-control form-control-lg"
rows="3"
t-att-class="{'is-invalid': state.addressError}"
t-att-value="state.address"
t-on-input="(ev) => { this.state.address = ev.target.value; this.state.addressError = false; }"
placeholder="Building, street, district, city..."
t-ref="addressInput"/>
<div t-if="state.addressError" class="invalid-feedback">
Address is required.
</div>
</div>
<div class="mb-3">
<label class="form-label fw-bold">
Scheduled Date / Time
<span t-if="props.requireScheduledTime" class="text-danger">*</span>
</label>
<input type="datetime-local"
class="form-control form-control-lg"
t-att-class="{'is-invalid': state.timeError}"
t-att-value="state.scheduledAt"
t-on-input="(ev) => { this.state.scheduledAt = ev.target.value; this.state.timeError = false; }"/>
<div t-if="state.timeError" class="invalid-feedback">
Scheduled time is required.
</div>
</div>
</div>
<t t-set-slot="footer">
<button class="btn btn-primary btn-lg flex-fill" t-on-click="confirm">
Save
</button>
<button class="btn btn-secondary btn-lg flex-fill" t-on-click="cancel">
Cancel
</button>
</t>
</Dialog>
</t>
</templates>