diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index b9621fbbb89..0430ba9282f 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -227,7 +227,7 @@ li { background: -webkit-gradient(linear, left top, left bottom, from(#9d9fc5), to(#7f82ac)); } #numpad { - padding: 9px; + padding: 7px; float: right; text-align: center; } diff --git a/addons/point_of_sale/static/src/js/pos.js b/addons/point_of_sale/static/src/js/pos.js index 1ce46e9ecaf..7618f8ce44f 100644 --- a/addons/point_of_sale/static/src/js/pos.js +++ b/addons/point_of_sale/static/src/js/pos.js @@ -35,7 +35,7 @@ QWeb.add_template("/point_of_sale/static/src/xml/pos.xml"); var qweb_template = function(template) { return function(ctx) { - return _.template(QWeb.render(template), ctx); + return QWeb.render(template, ctx); }; }; /* diff --git a/addons/point_of_sale/static/src/xml/pos.xml b/addons/point_of_sale/static/src/xml/pos.xml index 3c37de5483e..efffd22ee18 100644 --- a/addons/point_of_sale/static/src/xml/pos.xml +++ b/addons/point_of_sale/static/src/xml/pos.xml @@ -141,76 +141,101 @@ - - - - - - <% _.each(breadcrumb, function(category) { %> - - - <%= category.name %> - - <% }); %> - - - - - + + + + + + + + + + + + + + + + + + + - - Categories: - - <% _.each(categories, function(category) { %> - <%= category.name %> - <% }); %> - + Categories: + + + + + + + + + - ]]> - - - - <%= list_price %> € - - <%= name %> + + + + + € + + + + + - ]]> - <%= name %> - <%= list_price.toFixed(2) %> € - <%= discount.toFixed(2) %> - <%= quantity.toFixed(0) %> - <%= (list_price * (1 - discount/100) * quantity).toFixed(2) %> € - ]]> + + + + + + € + + + + + + + + + + € + - <%= name %> - - ]]> + + + + + + - <%= quantity.toFixed(0) %> - <%= name %> - <%= (list_price * (1 - discount/100) * quantity).toFixed(2) %> € - ]]> + + + + + + + + + € + - "><%= name %> - ]]> + + + + - OrderX - ]]> + Order + X \ No newline at end of file