|
|
@@ -142,7 +142,10 @@ $taxRateManager = $this->getTaxRateManager(); |
|
|
|
|
|
|
|
<strong id="label-availability-points-sale">Et <span><?php if($model->available_on_points_sale): ?>indisponible<?php else: ?>disponible<?php endif; ?></span> sur les points de vente</strong> |
|
|
|
<?php $pointSaleArray = PointSale::find() |
|
|
|
->where(['id_producer' => GlobalParam::getCurrentProducerId()]) |
|
|
|
->where([ |
|
|
|
'id_producer' => GlobalParam::getCurrentProducerId(), |
|
|
|
'status' => 1 |
|
|
|
]) |
|
|
|
->orderBy('is_bread_box ASC, name ASC') |
|
|
|
->all(); ?> |
|
|
|
<?= Html::activeCheckboxList($model, 'pointsSale', ArrayHelper::map($pointSaleArray, 'id', function ($pointSale, $defaultValue) use ($model) { |