|
@@ -7,7 +7,7 @@
|
|
<div class="pos-center-align">
|
|
<div class="pos-center-align">
|
|
<img t-att-src="widget.pos.company_logo_base64"/><br />
|
|
<img t-att-src="widget.pos.company_logo_base64"/><br />
|
|
</div>
|
|
</div>
|
|
- <br/>
|
|
|
|
|
|
+ <br/><br/>
|
|
<div class="pos-center-align"><t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate + ' ' +
|
|
<div class="pos-center-align"><t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate + ' ' +
|
|
Date.CultureInfo.formatPatterns.longTime)"/>
|
|
Date.CultureInfo.formatPatterns.longTime)"/>
|
|
<br/>
|
|
<br/>
|
|
@@ -30,6 +30,15 @@
|
|
Teléfono: <t t-esc="order.attributes.client.phone ? order.attributes.client.phone : ''"/><br />
|
|
Teléfono: <t t-esc="order.attributes.client.phone ? order.attributes.client.phone : ''"/><br />
|
|
Dirección: <t t-esc="order.attributes.client.address ? order.attributes.client.address : ''"/>
|
|
Dirección: <t t-esc="order.attributes.client.address ? order.attributes.client.address : ''"/>
|
|
</t>
|
|
</t>
|
|
|
|
+ <!-- <t t-js="ctx">
|
|
|
|
+ console.log(ctx)
|
|
|
|
+ </t> -->
|
|
|
|
+ <t t-if="!order.attributes.client">
|
|
|
|
+ <p>--------------------------------------------</p>
|
|
|
|
+ Cliente: <br/>
|
|
|
|
+ Teléfono: <br/>
|
|
|
|
+ Dirección: <br/>
|
|
|
|
+ </t>
|
|
<p>--------------------------------------------</p>
|
|
<p>--------------------------------------------</p>
|
|
<table class="table table-condensed">
|
|
<table class="table table-condensed">
|
|
<thead>
|
|
<thead>
|