|
- <?php
-
-
-
- use common\helpers\Image;
- use common\helpers\Price;
- use domain\Distribution\Distribution\DistributionModule;
- use domain\Distribution\PointSaleDistribution\PointSaleDistribution;
- use domain\PointSale\PointSale\PointSaleModule;
- use domain\Producer\Producer\Producer;
- use domain\Producer\Producer\ProducerModule;
- use domain\Product\Product\ProductModule;
- use yii\grid\GridView;
- use yii\helpers\Html;
-
- $productModule = ProductModule::getInstance();
- $producerModule = ProducerModule::getInstance();
- $distributionModule = DistributionModule::getInstance();
- $pointSaleModule = PointSaleModule::getInstance();
- $producer = $this->context->getProducerCurrent();
-
- $this->setPageTitle(Html::encode($producer->type . ' à ' . $producer->city));
- $this->setMeta('description', $producerModule->getSeoGenerator()->generateMetaDescriptionHome());
-
- ?>
-
- <div id="presentation">
- <?php if (strlen($producer->description)): ?>
- <div class="description">
- <?= $producer->description; ?>
- </div>
- <?php else: ?>
- <div class="alert alert-dark">
- Bienvenue sur la boutique <strong><?= Html::encode($producer->name) ?></strong>.
- </div>
- <?php endif; ?>
- <div class="clr"></div>
- </div>
|