Browse Source

Merge branch 'dev'

master
Guillaume Bourgeois 4 years ago
parent
commit
f3d93b909f
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' => 'price', 'attribute' => 'price',
'value' => function($model) { 'value' => function($model) {
if($model->price) { if($model->price) {
return Price::format($model->price).' ('.Product::strUnit($model->unit, 'wording_unit', true).')' ;
return Price::format($model->getPriceWithTax()).' ('.Product::strUnit($model->unit, 'wording_unit', true).')' ;
} }
return '' ; return '' ;
} }

Loading…
Cancel
Save