We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b22f64 commit 5682e42Copy full SHA for 5682e42
pos_customer_wallet_partner_is_user/static/src/xml/Screens/PaymentScreen/PaymentScreen.xml
@@ -0,0 +1,21 @@
1
+<?xml version="1.0" encoding="utf-8" ?>
2
+<!--
3
+SPDX-FileCopyrightText: 2024 Coop IT Easy SC
4
+
5
+SPDX-License-Identifier: AGPL-3.0-or-later
6
+-->
7
+<templates id="template" xml:space="preserve">
8
9
+ <t
10
+ t-name="PaymentScreen"
11
+ t-inherit="point_of_sale.PaymentScreen"
12
+ t-inherit-mode="extension"
13
+ owl="1"
14
+ >
15
+ <xpath expr="//div[hasclass('paymentmethod')]" position="attributes">
16
+ <attribute
17
+ name="t-if"
18
+ >!paymentMethod.is_customer_wallet_method || currentOrder.get_partner().is_customer_wallet_user</attribute>
19
+ </xpath>
20
+ </t>
21
+</templates>
0 commit comments