|
|
|
|
|
|
|
|
* termes. |
|
|
* termes. |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
use domain\Feature\Feature\Feature; |
|
|
use domain\PointSale\UserPointSale\UserPointSale; |
|
|
use domain\PointSale\UserPointSale\UserPointSale; |
|
|
use domain\Producer\Producer\Producer; |
|
|
use domain\Producer\Producer\Producer; |
|
|
use yii\grid\GridView; |
|
|
use yii\grid\GridView; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$pointSaleModule = $this->getPointSaleModule(); |
|
|
$pointSaleModule = $this->getPointSaleModule(); |
|
|
$sharedPointSaleModule = $this->getSharedPointSaleModule(); |
|
|
$sharedPointSaleModule = $this->getSharedPointSaleModule(); |
|
|
|
|
|
$featureChecker = $this->getFeatureModule()->getChecker(); |
|
|
|
|
|
|
|
|
$this->setTitle('Points de vente'); |
|
|
$this->setTitle('Points de vente'); |
|
|
$this->addBreadcrumb($this->getTitle()); |
|
|
$this->addBreadcrumb($this->getTitle()); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
], |
|
|
], |
|
|
[ |
|
|
[ |
|
|
|
|
|
'visible' => $featureChecker->isEnabled(Feature::ALIAS_SHARED_POINT_SALE), |
|
|
'label' => 'Partages', |
|
|
'label' => 'Partages', |
|
|
'format' => 'raw', |
|
|
'format' => 'raw', |
|
|
'headerOptions' => ['class' => 'column-hide-on-mobile'], |
|
|
'headerOptions' => ['class' => 'column-hide-on-mobile'], |