Correction d'un bug sur l'ajout de prix dans le module MondialRelay
This commit is contained in:
@@ -74,7 +74,7 @@ class PriceController extends BaseAdminController
|
||||
|
||||
$data = $viewForm->getData();
|
||||
|
||||
MondialRelayDeliveryPriceQuery::create()->filterByMaxWeight($data['max_weight'])->delete();
|
||||
// MondialRelayDeliveryPriceQuery::create()->filterByMaxWeight($data['max_weight'])->delete();
|
||||
|
||||
(new MondialRelayDeliveryPrice())
|
||||
->setAreaId($areaId)
|
||||
|
||||
@@ -22,13 +22,11 @@
|
||||
{/form}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-2 hidden-xs text-center">
|
||||
{loop type="image" name="deliveryspicture" source="module" source_id=$module_id force_return="true" width="100" height="72"}
|
||||
<img src="{$IMAGE_URL nofilter}" alt="{$TITLE}">
|
||||
{/loop}
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
<div class="price text-right">
|
||||
{format_money number=$PRICE symbol={currency attr='symbol'}}
|
||||
|
||||
Reference in New Issue
Block a user