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
5743b9cb
Commit
5743b9cb
authored
Mar 24, 2022
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix meal voucher subtotal display on pos ticket
parent
89de62bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
8 deletions
+20
-8
fr.po
lacagette_addons/pos_meal_voucher/i18n/fr.po
+13
-6
pos_meal_voucher.xml
...dons/pos_meal_voucher/static/src/xml/pos_meal_voucher.xml
+7
-2
No files found.
lacagette_addons/pos_meal_voucher/i18n/fr.po
View file @
5743b9cb
...
...
@@ -355,14 +355,21 @@ msgstr "Pour ajouter un chèque restaurant merci de fermer cette fenêtre et sca
#. module: pos_meal_voucher
#. openerp-web
#: code:addons/pos_meal_voucher/static/src/xml/pos_meal_voucher.xml:9
2
#: code:addons/pos_meal_voucher/static/src/xml/pos_meal_voucher.xml:9
6
#, python-format
msgid "Eligible
amount
for meal vouchers:"
msgstr "
Montant
éligible en tickets restaurant :"
msgid "Eligible
subtotal
for meal vouchers:"
msgstr "
Sous-total
éligible en tickets restaurant :"
#. module: pos_meal_voucher
#. openerp-web
#: code:addons/pos_meal_voucher/static/src/xml/pos_meal_voucher.xml:1
07
#: code:addons/pos_meal_voucher/static/src/xml/pos_meal_voucher.xml:1
10
#, python-format
msgid "Eligible amount for meal vouchers:"
msgstr "Montant éligible en tickets restaurant :"
msgid "Eligible subtotal for"
msgstr "Sous-total éligible en"
#. module: pos_meal_voucher
#. openerp-web
#: code:addons/pos_meal_voucher/static/src/xml/pos_meal_voucher.xml:112
#, python-format
msgid "meal vouchers:"
msgstr "tickets restaurant :"
lacagette_addons/pos_meal_voucher/static/src/xml/pos_meal_voucher.xml
View file @
5743b9cb
...
...
@@ -88,8 +88,12 @@
<t
t-jquery=
"table.receipt-total"
t-operation=
"before"
>
<t
t-if=
"order.meal_voucher_used === true"
>
<table
class=
'receipt-eligible-meal-voucher'
>
<colgroup>
<col
width=
'75%'
/>
<col
width=
'25%'
/>
</colgroup>
<tr>
<td>
Eligible
amount
for meal vouchers:
</td>
<td>
Eligible
subtotal
for meal vouchers:
</td>
<td
class=
"pos-right-align"
>
<t
t-esc=
"widget.format_currency(order.get_total_meal_voucher_eligible())"
/>
</td>
...
...
@@ -103,8 +107,9 @@
<t
t-jquery=
"div.orderlines"
t-operation=
"after"
>
<t
t-if=
"receipt.meal_voucher_used === true"
>
<line><right>
--------
</right></line>
<line><left>
Eligible subtotal for
</left></line>
<line>
<left>
Eligible amount for
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>
</line>
</t>
...
...
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