Tower: upload laundry_management 19.0.19.0.4 (via marketplace)

This commit is contained in:
2026-05-01 15:00:47 +00:00
parent b37e8a0f7a
commit 1326d21dfa

View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<!-- Inject a READ-ONLY Laundry Settlements panel inside the closing
popup, just below the per-method breakdown and above the cash
count input. The panel does NOT modify any expected/counted
math — it is purely a visibility aid for non-cash settlement
collections that don't show up in the standard breakdown. -->
<t t-name="laundry_management.ClosePosPopupSettlements"
t-inherit="point_of_sale.ClosePosPopup"
t-inherit-mode="extension">
<xpath expr="//div[hasclass('payment-methods-overview')]" position="after">
<div class="laundry-closing-settlements w-100 mb-3 p-2"
t-if="laundrySettlements.loaded and laundrySettlements.count > 0">
<div class="d-flex align-items-center justify-content-between fs-5 fw-bold"
style="color:#b45309;border-bottom:2px solid #f59e0b;padding-bottom:4px;">
<span>
<i class="fa fa-tshirt me-2"/>Laundry Settlements
</span>
<span t-esc="env.utils.formatCurrency(laundrySettlements.total)"/>
</div>
<div class="text-muted small ps-1">
<t t-esc="laundrySettlements.count"/> settlement payment(s) collected
this session — already posted to accounting.
</div>
<div t-foreach="laundrySettlements.by_journal" t-as="j" t-key="j_index"
class="d-flex align-items-center justify-content-between ps-2 mt-1">
<span>
<i t-if="j.type === 'cash'" class="fa fa-money me-1 text-success"/>
<i t-else="" class="fa fa-credit-card me-1 text-primary"/>
<t t-esc="j.name"/>
<span class="text-muted small ms-1">
(<t t-esc="j.type"/>)
</span>
</span>
<span t-esc="env.utils.formatCurrency(j.total)"/>
</div>
<div class="text-muted small fst-italic ps-1 mt-1">
Cash settlements already counted in expected drawer above.
Non-cash entries are informational only.
</div>
</div>
</xpath>
</t>
</templates>