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

Open in your IDE?
  1. {% verbatim %}
  2. <script id="tpl-drawer-purchase-order" type="text/template">
  3.     <div class="hb-doc-card hb-doc-card-summary">
  4.         <div class="hb-doc-card-label">Total Amount</div>
  5.         <div class="hb-doc-card-value hb-doc-card-value-positive">{{amount}}</div>
  6.     </div>
  7.     <div class="hb-doc-card hb-doc-card-table">
  8.         <div class="hb-doc-card-header">
  9.             <span class="hb-doc-card-title">Line Items</span>
  10.             <span class="hb-doc-card-meta">{{lineCountLabel}}</span>
  11.         </div>
  12.         <div class="hb-doc-table-wrap">
  13.             <table class="hb-doc-table">
  14.                 <thead>
  15.                     <tr>
  16.                         <th>Item</th>
  17.                         <th class="text-right">Qty</th>
  18.                         <th class="text-right">Unit Price</th>
  19.                         <th class="text-right">Total</th>
  20.                     </tr>
  21.                 </thead>
  22.                 <tbody>{{linesHtml}}</tbody>
  23.             </table>
  24.         </div>
  25.     </div>
  26. </script>
  27. <script id="tpl-drawer-purchase-order-row" type="text/template">
  28.     <tr>
  29.         <td>{{itemName}}</td>
  30.         <td class="text-right">{{quantity}}</td>
  31.         <td class="text-right">{{unitPrice}}</td>
  32.         <td class="text-right">{{total}}</td>
  33.     </tr>
  34. </script>
  35. {% endverbatim %}