[IMP] point_of_sale: improved receipt screen
bzr revid: fva@openerp.com-20120820102401-t5zkmh2hoamba719
This commit is contained in:
parent
d0f762ab1f
commit
b29c4a6113
|
@ -728,8 +728,17 @@
|
||||||
width: 300px;
|
width: 300px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
padding: 10px;
|
padding: 15px;
|
||||||
|
padding-bottom:30px;
|
||||||
display: inline-block;
|
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 {
|
.point-of-sale .pos-sale-ticket table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -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',
|
icon: '/point_of_sale/static/src/img/icons/png48/go-next.png',
|
||||||
click: function() { self.finishOrder(); },
|
click: function() { self.finishOrder(); },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
window.print();
|
||||||
},
|
},
|
||||||
print: function() {
|
print: function() {
|
||||||
window.print();
|
window.print();
|
||||||
|
|
|
@ -508,7 +508,7 @@
|
||||||
<tr><td>Tax:</td><td class="pos-right-align">
|
<tr><td>Tax:</td><td class="pos-right-align">
|
||||||
<t t-esc="widget.format_currency(widget.currentOrder.getTax().toFixed(2))"/>
|
<t t-esc="widget.format_currency(widget.currentOrder.getTax().toFixed(2))"/>
|
||||||
</td></tr>
|
</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))"/>
|
<t t-esc="widget.format_currency(widget.currentOrder.getTotal().toFixed(2))"/>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue