Pārlūkot izejas kodu

Ajuste ticket barba roja

sebas 4 gadi atpakaļ
vecāks
revīzija
49d4479603
1 mainītis faili ar 18 papildinājumiem un 2 dzēšanām
  1. 18 2
      static/src/xml/pos.xml

+ 18 - 2
static/src/xml/pos.xml

@@ -21,12 +21,28 @@
                     <br />
                 </t>
 
-                User: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/><br />
+                <p>=======================================</p>
+                Tel: <t t-esc="widget.pos.company.phone || ''"/> <br/>
+                Vendedor: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/><br/>
+
                 <t t-if="order.attributes.client">
 
                     Cliente: <t t-esc="order.attributes.client.name ? order.attributes.client.name : ''"/><br />
-                    N° de legajo: <t t-esc="order.attributes.client.fax ? order.attributes.client.fax : ''"/>
+                    R.U.C. Nª: <t t-esc="order.attributes.client.ruc ? order.attributes.client.ruc : ''"/><br />
+                    Tel: <t t-esc="order.attributes.client.phone ? order.attributes.client.phone : ''"/><br/>
+                    <t t-if="order.attributes.client.address">
+                      Dir.: <t t-esc="order.attributes.client.address"/><br/>
+                    </t>
+                    <t t-if="order.attributes.table">
+                      <t t-if="order.attributes.table.type =='table'">
+                        Mesa: <t t-esc="order.attributes.table.name"/>
+                      </t>
+                      <t t-if="order.attributes.table.type =='delivery'">
+                        Delivery: <t t-esc="order.attributes.table.name"/>
+                      </t>
+                    </t>
                 </t>
+                <p>===========================</p>
                 <br/>
                 <br />
                 <table class="table table-condensed" style="font-size: 12px;">