Browse Source

[CLEAN] Format XML

pull/12/head
Thibault Francois 8 years ago
parent
commit
66cb326117
  1. 27
      beesdoo_pos/static/src/xml/templates.xml
  2. 3
      beesdoo_pos/views/beesdoo_pos.xml

27
beesdoo_pos/static/src/xml/templates.xml

@ -3,7 +3,8 @@
<t t-extend="ReceiptScreenWidget">
<t t-jquery='.pos-receipt-container' t-operation='before'>
<div class="button send">
<i class='fa fa-envelope'></i> Send Receipt By Mail
<i class='fa fa-envelope'></i>
Send Receipt By Mail
</div>
<div class="message-send">
</div>
@ -14,9 +15,13 @@
<t t-jquery="t[t-if='widget.pos.get_client()']" t-operation="after">
<t t-if="widget.pos.get_client()">
<div class='customer-information-pay'>
Balance: <span class='customer-balance' />
<br /><span class='customer-delegate1' />
<br /><span class='customer-delegate2' />
Balance:
<span class='customer-balance' />
<br />
<span class='customer-delegate1' />
<br />
<span class='customer-delegate2' />
</div>
</t>
</t>
@ -26,10 +31,16 @@
<t t-jquery=".paymentmethods-container" t-operation="inner">
<t t-if="widget.pos.get_client()">
<div class="customer-information">
<span class='customer-name' /> <br />
Balance: <span class='customer-balance' /><br />
<span class='customer-delegate1' /> <br />
<span class='customer-delegate2' /> <br />
<span class='customer-name' />
<br />
Balance:
<span class='customer-balance' />
<br />
<span class='customer-delegate1' />
<br />
<span class='customer-delegate2' />
<br />
</div>
</t>
</t>

3
beesdoo_pos/views/beesdoo_pos.xml

@ -29,7 +29,8 @@
<template id="assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/beesdoo_pos/static/src/js/beesdoo.js"></script>
<script type="text/javascript"
src="/beesdoo_pos/static/src/js/beesdoo.js"></script>
<link rel='stylesheet' href="/beesdoo_pos/static/src/css/beesdoo.css" />
</xpath>
</template>

Loading…
Cancel
Save