Browse Source

Ajout pesée sur tous les écrans + Mix écran produit / pesée

12.0
Juliana 4 years ago
parent
commit
f30fbd2d53
  1. 4
      static/src/css/style.css
  2. 1024
      static/src/js/container.js
  3. 17
      static/src/xml/pos.xml

4
static/src/css/style.css

@ -376,4 +376,8 @@ h1.product-name {
.searchbox{
display: none;
}
.pos .product-list-scroller{
padding-bottom: 200px;
}

1024
static/src/js/container.js
File diff suppressed because it is too large
View File

17
static/src/xml/pos.xml

@ -114,7 +114,7 @@
</t>
<t t-name="BalanceScaleScreenWidget">
<div class="pos-topheader oe_hidden" id="pos-topheader-scale">
<!-- <div class="pos-topheader oe_hidden" id="pos-topheader-scale">
<div class="pos-header-custo">
<div class="top-content">
<span class='button back'>
@ -132,10 +132,10 @@
</ul>
</div>
</div>
</div>
</div> -->
<div class="scale-screen screen">
<div class="pos-bottom">
<div class="pos-confirm oe_hidden" id="validation-bloc">
<!-- <div class="pos-confirm oe_hidden" id="validation-bloc">
<h1 class='product-name'><t t-esc="widget.get_product_name()" /></h1>
<div class='product-price'>
à <t t-esc="widget.format_currency(widget.get_product_price()) + '/' + widget.get_product_uom()" />
@ -144,7 +144,7 @@
Valider
<i class='fa fa-angle-double-right'></i>
</div>
</div>
</div> -->
<div class="centered-content-flex">
<div class="flex-poids">
<div class="label-scale div-net margin-top">Poids Net</div>
@ -155,7 +155,7 @@
<div class="flex-poids">
<div class="label-scale div-net margin-top">Prix</div>
<div class='computed-price weight'>
<div class='computed-price'>
0.00 €
</div>
</div>
@ -164,14 +164,15 @@
<div>
<div class="label-scale">Poids Brut total:</div>
<div class='weight-brut'>
0.00
0.000
</div>
</div>
<div>
<div class="label-scale ">Tare contenant: </div>
<div class="label-scale">
<t t-esc="widget.get_current_container_weight()"/>
<div class='label-scale tare-container'>
0.000
<!-- <t t-esc="widget.get_current_container_weight()"/> -->
</div>
</div>
</div>

Loading…
Cancel
Save