Browse Source

Points de vente partagés

feature/rotating_product
Guillaume Bourgeois 6 months ago
parent
commit
0839d4c545
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      backend/views/point-sale/index.php

+ 3
- 0
backend/views/point-sale/index.php View File

@@ -36,6 +36,7 @@
* termes.
*/

use domain\Feature\Feature\Feature;
use domain\PointSale\UserPointSale\UserPointSale;
use domain\Producer\Producer\Producer;
use yii\grid\GridView;
@@ -43,6 +44,7 @@ use yii\helpers\Html;

$pointSaleModule = $this->getPointSaleModule();
$sharedPointSaleModule = $this->getSharedPointSaleModule();
$featureChecker = $this->getFeatureModule()->getChecker();

$this->setTitle('Points de vente');
$this->addBreadcrumb($this->getTitle());
@@ -186,6 +188,7 @@ $this->addButton(
}
],
[
'visible' => $featureChecker->isEnabled(Feature::ALIAS_SHARED_POINT_SALE),
'label' => 'Partages',
'format' => 'raw',
'headerOptions' => ['class' => 'column-hide-on-mobile'],

Loading…
Cancel
Save