Browse Source

Demandes Kinga #1056

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
df792fae92
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      backend/views/product/_form.php

+ 4
- 1
backend/views/product/_form.php View File

@@ -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) {

Loading…
Cancel
Save