{% verbatim %}<script id="tpl-drawer-expense-invoice-summary" type="text/template"> <div class="hb-doc-metric-grid"> <div class="hb-doc-metric-card"> <div class="hb-doc-metric-label">Date</div> <div class="hb-doc-metric-value">{{date}}</div> </div> <div class="hb-doc-metric-card"> <div class="hb-doc-metric-label">Invoice Amount</div> <div class="hb-doc-metric-value hb-doc-card-value-negative">{{invoiceAmount}}</div> </div> <div class="hb-doc-metric-card"> <div class="hb-doc-metric-label">Prev Balance</div> <div class="hb-doc-metric-value">{{prevBalance}}</div> </div> <div class="hb-doc-metric-card"> <div class="hb-doc-metric-label">Due</div> <div class="hb-doc-metric-value hb-doc-card-value-negative">{{dueAmount}}</div> </div> </div></script><script id="tpl-drawer-expense-invoice-detail" type="text/template"> <div class="hb-doc-card hb-doc-card-table"> <div class="hb-doc-section-header">Expense Detail</div> <div class="hb-doc-table-wrap"> <table class="hb-doc-table"> <thead> <tr> <th>{{partyColHeader}}</th> <th>Type</th> <th>Expense Head</th> <th>Expense Desc.</th> <th>Balance Desc.</th> <th class="text-right">Amount</th> <th class="text-right">Currency</th> <th class="text-right">Rate</th> </tr> </thead> <tbody> <tr> <td>{{partyHtml}}</td> <td>{{expenseType}}</td> <td>{{expenseHead}}</td> <td>{{expenseDesc}}</td> <td>{{balanceDesc}}</td> <td class="text-right">{{amount}}</td> <td class="text-right">{{currency}}</td> <td class="text-right">{{rate}}</td> </tr> </tbody> </table> </div> </div></script><script id="tpl-drawer-expense-invoice-probable" type="text/template"> <div class="hb-doc-card hb-doc-card-table"> <div class="hb-doc-section-header">{{label}}</div> <div class="hb-doc-table-wrap"> <table class="hb-doc-table"> <thead> <tr> <th>#</th> <th>Head</th> <th class="text-right">Debit</th> <th class="text-right">Credit</th> <th>Note</th> </tr> </thead> <tbody> {{rowsHtml}} <tr> <td colspan="2"></td> <td class="text-right hb-doc-card-value-positive">{{totalDr}}</td> <td class="text-right hb-doc-card-value-negative">{{totalCr}}</td> <td></td> </tr> </tbody> </table> </div> </div></script><script id="tpl-drawer-expense-invoice-voucher" type="text/template"> <div class="hb-doc-card hb-doc-card-table"> <div class="hb-doc-section-header">Transaction - {{vDate}} # {{vHash}}</div> <div class="hb-doc-table-wrap"> <table class="hb-doc-table"> <thead> <tr> <th>#</th> <th>Head</th> <th class="text-right">Debit</th> <th class="text-right">Credit</th> <th>Note</th> </tr> </thead> <tbody> {{rowsHtml}} <tr> <td colspan="2"></td> <td class="text-right hb-doc-card-value-positive">{{totalDr}}</td> <td class="text-right hb-doc-card-value-negative">{{totalCr}}</td> <td></td> </tr> </tbody> </table> </div> </div></script><script id="tpl-drawer-expense-invoice-row" type="text/template"> <tr> <td>{{index}}.</td> <td>{{headName}}</td> <td class="text-right hb-doc-card-value-positive">{{dr}}</td> <td class="text-right hb-doc-card-value-negative">{{cr}}</td> <td>{{note}}</td> </tr></script>{% endverbatim %}