Merge pull request #12177 from frederic34/patch-17
Update box_produits.php
This commit is contained in:
commit
ff30274a59
@ -144,7 +144,8 @@ class box_produits extends ModeleBoxes
|
|||||||
'td' => 'class="tdoverflowmax100 maxwidth100onsmartphone"',
|
'td' => 'class="tdoverflowmax100 maxwidth100onsmartphone"',
|
||||||
'text' => $objp->label,
|
'text' => $objp->label,
|
||||||
);
|
);
|
||||||
|
$price = '';
|
||||||
|
$price_base_type = '';
|
||||||
if (empty($conf->dynamicprices->enabled) || empty($objp->fk_price_expression)) {
|
if (empty($conf->dynamicprices->enabled) || empty($objp->fk_price_expression)) {
|
||||||
$price_base_type=$langs->trans($objp->price_base_type);
|
$price_base_type=$langs->trans($objp->price_base_type);
|
||||||
$price=($objp->price_base_type == 'HT')?price($objp->price):$price=price($objp->price_ttc);
|
$price=($objp->price_base_type == 'HT')?price($objp->price):$price=price($objp->price_ttc);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user