Ver código fonte

Demandes Kinga #1056

feature/souke
Guillaume Bourgeois 1 ano atrás
pai
commit
df792fae92
1 arquivos alterados com 4 adições e 1 exclusões
  1. +4
    -1
      backend/views/product/_form.php

+ 4
- 1
backend/views/product/_form.php Ver arquivo

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

Carregando…
Cancelar
Salvar