Commit 283695de by François C.

Modify img src att for curtlery

parent ee7dc519
...@@ -111,13 +111,13 @@ ...@@ -111,13 +111,13 @@
<t t-extend="XmlReceipt"> <!-- Ticket sent to the printer --> <t t-extend="XmlReceipt"> <!-- Ticket sent to the printer -->
<t t-jquery="div.orderlines line:not([indent]) left" t-operation="prepend"> <!-- hack to get product name line (lines with qty have 'indent' attr) --> <t t-jquery="div.orderlines line:not([indent]) left" t-operation="prepend"> <!-- hack to get product name line (lines with qty have 'indent' attr) -->
<t t-if='receipt.meal_voucher_used === true and line.product_meal_voucher_ok === true'> <t t-if='receipt.meal_voucher_used === true and line.product_meal_voucher_ok === true'>
<img src="receipt.curtlery_img_src" alt="#" /> <img t-att-src="receipt.curtlery_img_src" t-att-alt="#"/>
</t> </t>
</t> </t>
<t t-jquery="div.orderlines" t-operation="after"> <t t-jquery="div.orderlines" t-operation="after">
<t t-if="receipt.meal_voucher_used === true"> <t t-if="receipt.meal_voucher_used === true">
<line><right>--------</right></line> <line><right>--------</right></line>
<line><left><img src="receipt.curtlery_img_src" alt="#" /> Eligible subtotal for</left></line> <line><left><img t-att-src="receipt.curtlery_img_src" t-att-alt="#" /> Eligible subtotal for</left></line>
<line> <line>
<left>meal vouchers:</left> <left>meal vouchers:</left>
<right><value t-att-value-decimals='pos.currency.decimals'><t t-esc='receipt.total_meal_voucher_eligible' /></value></right> <right><value t-att-value-decimals='pos.currency.decimals'><t t-esc='receipt.total_meal_voucher_eligible' /></value></right>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment