15 lines
823 B
XML
15 lines
823 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<templates xml:space="preserve">
|
|
<t t-name="bank_statement_reconciliation.SelectionInfo" t-inherit="web.ListView" t-inherit-mode="extension">
|
|
<xpath expr="//Layout" position="inside">
|
|
<t t-set-slot="layout-actions">
|
|
<div t-if="model.root.selection.length > 0" class="alert alert-info d-flex align-items-center gap-3 m-2" role="alert">
|
|
<i class="fa fa-info-circle fa-lg"/>
|
|
<strong t-esc="model.root.selection.length"/> lines selected
|
|
<span class="mx-2">|</span>
|
|
Total: <strong t-esc="model.root.selection.reduce((sum, rec) => sum + (rec.data.amount || 0), 0).toFixed(2)"/>
|
|
</div>
|
|
</t>
|
|
</xpath>
|
|
</t>
|
|
</templates> |