Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
odoo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
odoo
Commits
2b17877a
Commit
2b17877a
authored
Apr 07, 2022
by
François C.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix curtlery img alt error
parent
283695de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pos_meal_voucher.xml
...dons/pos_meal_voucher/static/src/xml/pos_meal_voucher.xml
+2
-2
No files found.
lacagette_addons/pos_meal_voucher/static/src/xml/pos_meal_voucher.xml
View file @
2b17877a
...
@@ -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
t-att-src=
"receipt.curtlery_img_src"
t-att-alt=
"#"
/>
<
span>
#
</span>
</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
t-att-src=
"receipt.curtlery_img_src"
t-att-alt=
"#"
/
>
Eligible subtotal for
</left></line>
<line><left><
span>
#
</span
>
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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment