summaryrefslogtreecommitdiff
path: root/addons/pos_six/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/pos_six/static/src/xml')
-rw-r--r--addons/pos_six/static/src/xml/BalanceButton.xml12
-rw-r--r--addons/pos_six/static/src/xml/Chrome.xml10
2 files changed, 22 insertions, 0 deletions
diff --git a/addons/pos_six/static/src/xml/BalanceButton.xml b/addons/pos_six/static/src/xml/BalanceButton.xml
new file mode 100644
index 00000000..e68d7ae3
--- /dev/null
+++ b/addons/pos_six/static/src/xml/BalanceButton.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates id="template" xml:space="preserve">
+
+ <t t-name="BalanceButton" owl="1">
+ <div class="header-button balance-button" t-on-click="sendBalance">
+ <span class="lock-button">
+ Send Balance
+ </span>
+ </div>
+ </t>
+
+</templates>
diff --git a/addons/pos_six/static/src/xml/Chrome.xml b/addons/pos_six/static/src/xml/Chrome.xml
new file mode 100644
index 00000000..1187e4f5
--- /dev/null
+++ b/addons/pos_six/static/src/xml/Chrome.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates id="template" xml:space="preserve">
+
+ <t t-name="Chrome" t-inherit="point_of_sale.Chrome" t-inherit-mode="extension" owl="1">
+ <xpath expr="//SyncNotification" position="after">
+ <BalanceButton t-if="balanceButtonIsShown" />
+ </xpath>
+ </t>
+
+</templates>