-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! [MIG] pos_customer_wallet: Migration to 16.0
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
- Loading branch information
1 parent
132afcb
commit 1063d58
Showing
4 changed files
with
44 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
pos_customer_wallet/static/src/xml/Screens/PartnerListScreen/PartnerEditDetails.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<templates id="template" xml:space="preserve"> | ||
|
||
<t | ||
t-name="PartnerDetailsEdit" | ||
t-inherit="point_of_sale.PartnerDetailsEdit" | ||
t-inherit-mode="extension" | ||
owl="1" | ||
> | ||
<xpath expr="//div[hasclass('partner-details-right')]" position="inside"> | ||
<div class="partner-detail"> | ||
<span class="label">Customer Wallet</span> | ||
<span | ||
class="detail" | ||
t-esc="env.pos.format_currency(props.partner.customer_wallet_balance)" | ||
/> | ||
</div> | ||
</xpath> | ||
</t> | ||
|
||
</templates> |
21 changes: 21 additions & 0 deletions
21
pos_customer_wallet/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<templates id="template" xml:space="preserve"> | ||
|
||
<t | ||
t-name="OrderReceipt" | ||
t-inherit="point_of_sale.OrderReceipt" | ||
t-inherit-mode="extension" | ||
owl="1" | ||
> | ||
<xpath expr="//div[hasclass('before-footer')]" position="before"> | ||
<div> | ||
Customer Wallet Balance | ||
<span | ||
t-esc="env.pos.format_currency(receipt.customer_wallet_balance)" | ||
class="pos-receipt-right-align" | ||
/> | ||
</div> | ||
</xpath> | ||
</t> | ||
|
||
</templates> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters