Merge pull request #22633 from andreubisquerra/develop
NEW Add price to product box in TakePOS
This commit is contained in:
commit
364f0b0337
@ -84,6 +84,7 @@ if ($action == 'getProducts') {
|
|||||||
}
|
}
|
||||||
unset($prod->fields);
|
unset($prod->fields);
|
||||||
unset($prod->db);
|
unset($prod->db);
|
||||||
|
$prod->price_formated=price(price2num($prod->price, 'MU'), 1, $langs, 1, -1, -1, $conf->currency);
|
||||||
$res[] = $prod;
|
$res[] = $prod;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -301,7 +302,7 @@ if ($action == 'getProducts') {
|
|||||||
'object' => 'product',
|
'object' => 'product',
|
||||||
'img' => $ig,
|
'img' => $ig,
|
||||||
'qty' => 1,
|
'qty' => 1,
|
||||||
//'price_formated' => price(price2num($obj->price, 'MU'), 1, $langs, 1, -1, -1, $conf->currency)
|
'price_formated' => price(price2num($obj->price, 'MU'), 1, $langs, 1, -1, -1, $conf->currency)
|
||||||
);
|
);
|
||||||
// Add entries to row from hooks
|
// Add entries to row from hooks
|
||||||
$parameters=array();
|
$parameters=array();
|
||||||
|
|||||||
@ -826,10 +826,6 @@ div#moreinfo, div#infowarehouse {
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div5 .price {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div5 .imgadd {
|
.div5 .imgadd {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -925,18 +921,12 @@ div#moreinfo, div#infowarehouse {
|
|||||||
.div5 .arrow .centerinmiddle {
|
.div5 .arrow .centerinmiddle {
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.div5 .price {
|
|
||||||
font-size: 14px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: 30px;
|
|
||||||
padding-right: 10px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #ff6d6d;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.div5 .imgadd {
|
.div5 .imgadd {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.wrapper2{
|
||||||
|
height:10%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -1375,9 +1375,6 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
|
|||||||
<div class="description" id="prodivdesc<?php echo $count; ?>">
|
<div class="description" id="prodivdesc<?php echo $count; ?>">
|
||||||
<div class="description_content" id="prodesc<?php echo $count; ?>"></div>
|
<div class="description_content" id="prodesc<?php echo $count; ?>"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="price" id="prodivprice<?php echo $count; ?>">
|
|
||||||
</div>
|
|
||||||
<span class="fa fa-plus"></span>
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="catwatermark" id='prowatermark<?php echo $count; ?>'>...</div>
|
<div class="catwatermark" id='prowatermark<?php echo $count; ?>'>...</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user