Browse Source

Test format ticket

12.0
Juliana 4 years ago
parent
commit
a837cf5977
  1. 54
      static/src/xml/pos.xml

54
static/src/xml/pos.xml

@ -81,41 +81,41 @@
<div class="pos-center-align title-product"><t t-esc="transaction.name"/></div> <div class="pos-center-align title-product"><t t-esc="transaction.name"/></div>
<br /> <br />
<br /> <br />
<table class='ticket-info pos-center-align'> </div>
<tr class="title-info"> <div class='orderlines' line-ratio='0.6'>
<td>Prix Unitaire</td> <line>
<td>Poids Net</td> <left>Prix Unitaire</left>
</tr> <right>Poids Net</right>
<tr> </line>
<td><span><t t-esc="transaction.price_product"/></span> €/kg</td> <line>
<td><span><t t-esc="transaction.weight_net"/></span> kg</td> <left>
</tr> <span><t t-esc="transaction.price_product"/></span> €/kg
</table> </left>
<right><span><t t-esc="transaction.weight_net"/></span> kg</right>
</line>
<br /> <br />
<br /> <br />
<table class='ticket-total pos-center-align'> <line>
<tr class="title-info"> <left>
<td>Prix Total <span>Prix Total</span>
</td> </left>
</tr> </line>
<tr> <line>
<td><span><t t-esc="transaction.price_net"/></span> <left>
</td> <span><t t-esc="transaction.price_net"/></span> €/kg
</tr> </left>
</table> </line>
<br /> <br />
<br /> <br />
<table class='pos-center-align'> <line>
<tr class="title-info bloc-barcode"> <left>
<td>
<img t-att-src="'/report/barcode/EAN13/' + widget.get_barcode_data()" /> <img t-att-src="'/report/barcode/EAN13/' + widget.get_barcode_data()" />
<span class="caption"><t t-esc="num_ean13"/></span> <span class="caption"><t t-esc="num_ean13"/></span>
</td> </left>
</tr> </line>
</table>
</div> </div>
</div> </div>
</receipt> </receipt>
</t> </t>
</templates> </templates>
|||||||
100:0
Loading…
Cancel
Save