Browse Source

[producer] Accueil : suppression du poids des produits vendus au kilo

dev
Guillaume Bourgeois 5 years ago
parent
commit
9836ac5017
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      producer/views/site/index.php

+ 1
- 1
producer/views/site/index.php View File

[ [
'attribute' => 'weight', 'attribute' => 'weight',
'value' => function($model) { 'value' => function($model) {
if(strlen($model->weight)) {
if($model->unit == 'piece' && strlen($model->weight)) {
return $model->weight.' g' ; return $model->weight.' g' ;
} }
return '' ; return '' ;

Loading…
Cancel
Save