You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

122 lines
4.6 KiB

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="ConfirmationScreen">
<t t-jquery='.pos-bottom-confirm' t-operation='replace'>
<div class="pos-bottom pos-bottom-confirm">
<div class="pos-confirm-screen">
<p class="text-center">Merci.<br/>
Vous pouvez passer en caisse</p>
<div class='back-presentation'>
<img class="logo-scan mb-3" src="/vracoop_pos_free_balance_v2/static/src/img/picto-confirm.png" />
</div>
<h1 class='product-name'><t t-esc="widget.get_product_name()" /></h1>
<div class='product-price'>
à <t t-esc="widget.format_currency(widget.get_product_price()) + '/' + widget.get_product_uom()" />
</div>
<div class="centered-content touch-scrollable">
<div class="button print">
<i class='fa fa-print'></i> Imprimer le ticket
</div>
<div class="pos-ticket-container">
</div>
</div>
</div>
</div>
</t>
</t>
<t t-name="PosTicketBls">
<div class="pos-sale-ticket" t-attf-style="width:300px">
<div class="pos-center-align title-mag">Rayon vrac</div>
<br />
<div class="pos-center-align title-product"><t t-esc="transaction.name"/></div>
<br />
<br />
<table class='ticket-info pos-center-align'>
<tr class="title-info">
<td>Prix Unitaire</td>
<td>Poids Net</td>
</tr>
<tr>
<td><span><t t-esc="transaction.price_product"/></span> €/kg</td>
<td><span><t t-esc="transaction.weight_net"/></span> kg</td>
</tr>
</table>
<br />
<br />
<table class='ticket-total pos-center-align'>
<tr class="title-info">
<td>Prix Total
</td>
</tr>
<tr>
<td><span><t t-esc="transaction.price_net"/></span>
</td>
</tr>
</table>
<br />
<br />
<table class='pos-center-align'>
<tr class="title-info bloc-barcode">
<td>
<img t-att-src="widget.get_barcode_url()" style="width:100%;height:35%;" />
<span class="caption"><t t-esc="num_ean13"/></span>
</td>
</tr>
</table>
</div>
</t>
<t t-name="XmlReceiptBls">
<receipt align='center' width='40' value-thousands-separator='' >
<div class="pos-sale-ticket">
<div class="pos-center-align title-mag">Rayon vrac</div>
<br/>
<br/>
<div font='b'>
<div class="pos-center-align title-product"><t t-esc="transaction.name"/></div>
<br />
<br />
</div>
<div class='orderlines' line-ratio='0.6'>
<line>
<left>Prix Unitaire</left>
<right>Poids Net</right>
</line>
<line>
<left>
<span><t t-esc="transaction.price_product"/></span> €/kg
</left>
<right><span><t t-esc="transaction.weight_net"/></span> kg</right>
</line>
<br />
<br />
<line>
<left>
<span>Prix Total</span>
</left>
</line>
<line>
<left>
<span><t t-esc="transaction.price_net"/></span> €/kg
</left>
</line>
<br />
<br />
<line>
<img t-att-src="url_barcode" style="width:100%;height:35%;" />
<span class="caption"><t t-esc="num_ean13"/></span>
</line>
<br />
<br />
</div>
</div>
</receipt>
</t>
</templates>