@@ -153,6 +153,7 @@ $this->setPageTitle(Html::encode($producer->type . ' à ' . $producer->city)); | |||
$columnsProducts [] = [ | |||
'attribute' => 'photo', | |||
'format' => 'raw', | |||
'headerOptions' => ['class' => 'photo'], | |||
'contentOptions' => ['class' => 'photo'], | |||
'value' => function ($model) { | |||
if (strlen($model->photo)) { |