Browse Source

Merge branch 'dev'

prodstable
Guillaume Bourgeois 5 years ago
parent
commit
9f20b26c4d
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