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

Open in your IDE?
  1. {% verbatim %}
  2. <script id="tpl-drawer-journal-voucher" type="text/template">
  3.     <div class="hb-doc-metric-grid">
  4.         <div class="hb-doc-metric-card">
  5.             <div class="hb-doc-metric-label">Total Debit</div>
  6.             <div class="hb-doc-metric-value hb-doc-card-value-positive">{{totalDr}}</div>
  7.         </div>
  8.         <div class="hb-doc-metric-card">
  9.             <div class="hb-doc-metric-label">Total Credit</div>
  10.             <div class="hb-doc-metric-value hb-doc-card-value-negative">{{totalCr}}</div>
  11.         </div>
  12.     </div>
  13.     <div class="hb-doc-card hb-doc-card-table">
  14.         <div class="hb-doc-section-header">Voucher Lines</div>
  15.         <div class="hb-doc-table-wrap">
  16.             <table class="hb-doc-table">
  17.                 <thead>
  18.                     <tr>
  19.                         <th>Head</th>
  20.                         <th class="text-right">Debit</th>
  21.                         <th class="text-right">Credit</th>
  22.                         <th>Note</th>
  23.                     </tr>
  24.                 </thead>
  25.                 <tbody>{{detailsHtml}}</tbody>
  26.             </table>
  27.         </div>
  28.     </div>
  29. </script>
  30. <script id="tpl-drawer-journal-voucher-row" type="text/template">
  31.     <tr>
  32.         <td>{{headName}}</td>
  33.         <td class="text-right hb-doc-card-value-positive">{{dr}}</td>
  34.         <td class="text-right hb-doc-card-value-negative">{{cr}}</td>
  35.         <td>{{note}}</td>
  36.     </tr>
  37. </script>
  38. {% endverbatim %}