[IMP] point_of_sale: receipt footer & header in web printing

bzr revid: fva@openerp.com-20140103154939-jm6rddipomf5d2wy
This commit is contained in:
Frédéric van der Essen 2014-01-03 16:49:39 +01:00
parent a82f9ec6f2
commit 23adb2214a
1 changed files with 12 additions and 0 deletions

View File

@ -605,6 +605,12 @@
User: <t t-esc="widget.pos.user.name"/><br />
Shop: <t t-esc="widget.pos.shop.name"/><br />
<br />
<t t-if="widget.pos.config.receipt_header">
<pre>
<t t-esc="widget.pos.config.receipt_header" />
</pre>
<br />
</t>
<table>
<colgroup>
<col width='50%' />
@ -660,6 +666,12 @@
<t t-esc="widget.format_currency(order.getPaidTotal() - order.getTotalTaxIncluded())"/>
</td></tr>
</table>
<t t-if="widget.pos.config.receipt_footer">
<br />
<pre>
<t t-esc="widget.pos.config.receipt_footer" />
</pre>
</t>
</div>
</t>