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

@@ -115,7 +115,7 @@ $this->setPageTitle(Html::encode($producer->type.' à '.$producer->city)) ;
[
'attribute' => 'weight',
'value' => function($model) {
if(strlen($model->weight)) {
if($model->unit == 'piece' && strlen($model->weight)) {
return $model->weight.' g' ;
}
return '' ;

Loading…
Cancel
Save