mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2026-01-04 15:12:57 +02:00
work on invoice report
This commit is contained in:
@@ -20,25 +20,37 @@
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
<strong>YOUR ORDER NO:</strong><br/>
|
||||
<span t-if="o.type == 'out_invoice'">
|
||||
<div class="text-right"><strong>D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>M.R.V NO.</strong><br/></div>
|
||||
</span>
|
||||
<span t-if="o.type == 'out_refund'">
|
||||
<div class="text-right"><strong>Our D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>Our M.R.V NO.</strong><br/></div>
|
||||
</span>
|
||||
<strong>Sale Code:</strong>
|
||||
<span t-esc="o.invoice_origin"/><br/>
|
||||
<span t-if="o.type == 'out_refund'">
|
||||
<strong>Cost Code:</strong>
|
||||
</span>
|
||||
<!-- <strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/> -->
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<strong>YOUR ORDER NO:</strong><br/>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<span t-if="o.type == 'out_invoice'">
|
||||
<div class="text-right"><strong>D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>M.R.V NO.</strong><br/></div>
|
||||
</span>
|
||||
<span t-if="o.type == 'out_refund'">
|
||||
<div class="text-right"><strong>Our D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>Our M.R.V NO.</strong><br/></div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Sale Code:</strong>
|
||||
<span t-esc="o.invoice_origin"/><br/>
|
||||
<span t-if="o.type == 'out_refund'">
|
||||
<strong>Cost Code:</strong>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[@style='padding-top:50px;']" position="after">
|
||||
<span>NOTE:</span><br/>
|
||||
<span>NOTE</span><br/>
|
||||
<span t-esc="o.note"/>
|
||||
</xpath>
|
||||
<xpath expr="//table[@class='table table-sm']/thead/tr/th[1]" position="before">
|
||||
@@ -46,7 +58,7 @@
|
||||
<th style="background-color:#3498DB !important;color:#FFF">Code</th>
|
||||
</xpath>
|
||||
<xpath expr="//table[@class='table table-sm']/tbody/tr/td[1]" position="before">
|
||||
<td><span t-esc="i"/></td>
|
||||
<td><span t-esc="i+1"/></td>
|
||||
<td><span t-esc="l.product_id.default_code"/></td>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
|
||||
@@ -61,13 +73,22 @@
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
<strong>YOUR ORDER NO:</strong><br/>
|
||||
<div class="text-right"><strong>D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>M.R.V NO.</strong><br/></div>
|
||||
<strong>Sale Code:</strong>
|
||||
<span t-esc="o.invoice_origin"/>
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<strong>YOUR ORDER NO:</strong><br/>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="text-right"><strong>D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>M.R.V NO.</strong><br/></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Sale Code:</strong>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
|
||||
<p>E & OE</p><br/>
|
||||
|
||||
Reference in New Issue
Block a user