src/ApplicationBundle/Resources/views/voucherTemplate/expense_invoice.html.twig line 1

Open in your IDE?
  1. {% verbatim %}
  2. <script id="tpl-drawer-expense-invoice-summary" type="text/template">
  3.     <div class="hb-doc-metric-grid">
  4.         <div class="hb-doc-metric-card">
  5.             <div class="hb-doc-metric-label">Date</div>
  6.             <div class="hb-doc-metric-value">{{date}}</div>
  7.         </div>
  8.         <div class="hb-doc-metric-card">
  9.             <div class="hb-doc-metric-label">Invoice Amount</div>
  10.             <div class="hb-doc-metric-value hb-doc-card-value-negative">{{invoiceAmount}}</div>
  11.         </div>
  12.         <div class="hb-doc-metric-card">
  13.             <div class="hb-doc-metric-label">Prev Balance</div>
  14.             <div class="hb-doc-metric-value">{{prevBalance}}</div>
  15.         </div>
  16.         <div class="hb-doc-metric-card">
  17.             <div class="hb-doc-metric-label">Due</div>
  18.             <div class="hb-doc-metric-value hb-doc-card-value-negative">{{dueAmount}}</div>
  19.         </div>
  20.     </div>
  21. </script>
  22. <script id="tpl-drawer-expense-invoice-detail" type="text/template">
  23.     <div class="hb-doc-card hb-doc-card-table">
  24.         <div class="hb-doc-section-header">Expense Detail</div>
  25.         <div class="hb-doc-table-wrap">
  26.             <table class="hb-doc-table">
  27.                 <thead>
  28.                     <tr>
  29.                         <th>{{partyColHeader}}</th>
  30.                         <th>Type</th>
  31.                         <th>Expense Head</th>
  32.                         <th>Expense Desc.</th>
  33.                         <th>Balance Desc.</th>
  34.                         <th class="text-right">Amount</th>
  35.                         <th class="text-right">Currency</th>
  36.                         <th class="text-right">Rate</th>
  37.                     </tr>
  38.                 </thead>
  39.                 <tbody>
  40.                     <tr>
  41.                         <td>{{partyHtml}}</td>
  42.                         <td>{{expenseType}}</td>
  43.                         <td>{{expenseHead}}</td>
  44.                         <td>{{expenseDesc}}</td>
  45.                         <td>{{balanceDesc}}</td>
  46.                         <td class="text-right">{{amount}}</td>
  47.                         <td class="text-right">{{currency}}</td>
  48.                         <td class="text-right">{{rate}}</td>
  49.                     </tr>
  50.                 </tbody>
  51.             </table>
  52.         </div>
  53.     </div>
  54. </script>
  55. <script id="tpl-drawer-expense-invoice-probable" type="text/template">
  56.     <div class="hb-doc-card hb-doc-card-table">
  57.         <div class="hb-doc-section-header">{{label}}</div>
  58.         <div class="hb-doc-table-wrap">
  59.             <table class="hb-doc-table">
  60.                 <thead>
  61.                     <tr>
  62.                         <th>#</th>
  63.                         <th>Head</th>
  64.                         <th class="text-right">Debit</th>
  65.                         <th class="text-right">Credit</th>
  66.                         <th>Note</th>
  67.                     </tr>
  68.                 </thead>
  69.                 <tbody>
  70.                     {{rowsHtml}}
  71.                     <tr>
  72.                         <td colspan="2"></td>
  73.                         <td class="text-right hb-doc-card-value-positive">{{totalDr}}</td>
  74.                         <td class="text-right hb-doc-card-value-negative">{{totalCr}}</td>
  75.                         <td></td>
  76.                     </tr>
  77.                 </tbody>
  78.             </table>
  79.         </div>
  80.     </div>
  81. </script>
  82. <script id="tpl-drawer-expense-invoice-voucher" type="text/template">
  83.     <div class="hb-doc-card hb-doc-card-table">
  84.         <div class="hb-doc-section-header">Transaction - {{vDate}} # {{vHash}}</div>
  85.         <div class="hb-doc-table-wrap">
  86.             <table class="hb-doc-table">
  87.                 <thead>
  88.                     <tr>
  89.                         <th>#</th>
  90.                         <th>Head</th>
  91.                         <th class="text-right">Debit</th>
  92.                         <th class="text-right">Credit</th>
  93.                         <th>Note</th>
  94.                     </tr>
  95.                 </thead>
  96.                 <tbody>
  97.                     {{rowsHtml}}
  98.                     <tr>
  99.                         <td colspan="2"></td>
  100.                         <td class="text-right hb-doc-card-value-positive">{{totalDr}}</td>
  101.                         <td class="text-right hb-doc-card-value-negative">{{totalCr}}</td>
  102.                         <td></td>
  103.                     </tr>
  104.                 </tbody>
  105.             </table>
  106.         </div>
  107.     </div>
  108. </script>
  109. <script id="tpl-drawer-expense-invoice-row" type="text/template">
  110.     <tr>
  111.         <td>{{index}}.</td>
  112.         <td>{{headName}}</td>
  113.         <td class="text-right hb-doc-card-value-positive">{{dr}}</td>
  114.         <td class="text-right hb-doc-card-value-negative">{{cr}}</td>
  115.         <td>{{note}}</td>
  116.     </tr>
  117. </script>
  118. {% endverbatim %}