| '.$langs->trans("Label").' | |
';
diff --git a/htdocs/product/dynamic_price/class/price_parser.class.php b/htdocs/product/dynamic_price/class/price_parser.class.php
index 764ff919cc7..412d015f8b9 100644
--- a/htdocs/product/dynamic_price/class/price_parser.class.php
+++ b/htdocs/product/dynamic_price/class/price_parser.class.php
@@ -150,6 +150,8 @@ class PriceParser
"length" => $product->length,
"surface" => $product->surface,
"price_min" => $product->price_min,
+ "cost_price" => $product->cost_price,
+ "pmp" => $product->pmp,
));
//Retrieve all extrafield for product and add it to values
diff --git a/htdocs/public/onlinesign/newonlinesign.php b/htdocs/public/onlinesign/newonlinesign.php
index fa16492a169..10cb5e4354f 100644
--- a/htdocs/public/onlinesign/newonlinesign.php
+++ b/htdocs/public/onlinesign/newonlinesign.php
@@ -78,6 +78,9 @@ $message = GETPOST('message', 'aZ09');
$suffix = GETPOST("suffix", 'aZ09');
$source = GETPOST("source", 'alpha');
$ref = $REF = GETPOST("ref", 'alpha');
+$urlok = '';
+$urlko = '';
+
if (empty($source)) {
$source = 'proposal';
diff --git a/htdocs/takepos/ajax/ajax.php b/htdocs/takepos/ajax/ajax.php
index 1ee27c51f8b..671ef27ba96 100644
--- a/htdocs/takepos/ajax/ajax.php
+++ b/htdocs/takepos/ajax/ajax.php
@@ -84,6 +84,7 @@ if ($action == 'getProducts') {
}
unset($prod->fields);
unset($prod->db);
+ $prod->price_formated=price(price2num($prod->price, 'MU'), 1, $langs, 1, -1, -1, $conf->currency);
$res[] = $prod;
}
}
@@ -301,7 +302,7 @@ if ($action == 'getProducts') {
'object' => 'product',
'img' => $ig,
'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
$parameters=array();
diff --git a/htdocs/takepos/css/pos.css.php b/htdocs/takepos/css/pos.css.php
index ed968ea6f4e..f4a130dc5f1 100644
--- a/htdocs/takepos/css/pos.css.php
+++ b/htdocs/takepos/css/pos.css.php
@@ -826,10 +826,6 @@ div#moreinfo, div#infowarehouse {
clear: both;
}
-.div5 .price {
- display: none;
-}
-
.div5 .imgadd {
display: none;
}
@@ -925,18 +921,12 @@ div#moreinfo, div#infowarehouse {
.div5 .arrow .centerinmiddle {
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 {
display: flex;
}
+
+ div.wrapper2{
+ height:10%;
+ }
}
\ No newline at end of file
diff --git a/htdocs/takepos/index.php b/htdocs/takepos/index.php
index 7443c380b9a..8be5a97e465 100644
--- a/htdocs/takepos/index.php
+++ b/htdocs/takepos/index.php
@@ -1375,9 +1375,6 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
...