[IMP] point_of_sale: improved receipt screen

bzr revid: fva@openerp.com-20120820102401-t5zkmh2hoamba719
This commit is contained in:
Frédéric van der Essen 2012-08-20 12:24:01 +02:00
parent d0f762ab1f
commit b29c4a6113
3 changed files with 13 additions and 2 deletions

View File

@ -728,8 +728,17 @@
width: 300px;
background-color: white;
margin: 20px;
padding: 10px;
padding: 15px;
padding-bottom:30px;
display: inline-block;
font-family: "Inconsolata";
-webkit-box-shadow: 0px 5px 16px rgba(0,0,0, 0.3);
-moz-box-shadow: 0px 5px 16px rgba(0,0,0, 0.3);
box-shadow: 0px 5px 16px rgba(0,0,0, 0.3);
}
.point-of-sale .pos-sale-ticket .emph{
font-size: 20px;
margin:5px;
}
.point-of-sale .pos-sale-ticket table {
width: 100%;

View File

@ -676,6 +676,8 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa
icon: '/point_of_sale/static/src/img/icons/png48/go-next.png',
click: function() { self.finishOrder(); },
});
window.print();
},
print: function() {
window.print();

View File

@ -508,7 +508,7 @@
<tr><td>Tax:</td><td class="pos-right-align">
<t t-esc="widget.format_currency(widget.currentOrder.getTax().toFixed(2))"/>
</td></tr>
<tr><td>Total:</td><td class="pos-right-align">
<tr class="emph"><td>Total:</td><td class="pos-right-align">
<t t-esc="widget.format_currency(widget.currentOrder.getTotal().toFixed(2))"/>
</td></tr>
</table>