|
- <?php
-
-
-
- use yii\helpers\Html ;
-
- $this->setTitle('Communiquer') ;
- $this->addBreadcrumb('Communiquer') ;
-
- ?>
-
- <div class="col-md-6">
- <div id="email" class="panel panel-default" v-if="date">
- <div class="panel-heading">
- <h3 class="panel-title">Envoyer un email</h3>
- </div>
- <div class="panel-body">
- <p>Choisissez à quels utilisateurs vous souhaitez envoyer un email :</p>
- <div>
- <?= Html::a('Tous',['user/mail', 'idPointSale' => 0], ['class' => 'btn btn-default btn-point-sale']); ?>
- <?php foreach($pointsSaleArray as $pointSale): ?>
- <?= Html::a(Html::encode($pointSale->name), ['user/mail', 'idPointSale' => $pointSale->id], ['class' => 'btn btn-default btn-point-sale']); ?>
- <?php endforeach; ?>
- </div>
- </div>
- </div>
- </div>
-
- <div class="col-md-6">
- <div id="paper" class="panel panel-default" v-if="date">
- <div class="panel-heading">
- <h3 class="panel-title">Communiquer par papier</h3>
- </div>
- <div class="panel-body">
- <p>Imprimez ce petit encart pour indiquer à vos clients l'adresse internet leur permettant de passer leurs commandes.</p>
- <?php echo $this->render('instructions', ['producer' => $producer]) ; ?>
- <p><?php echo Html::a('<span class="glyphicon glyphicon-download-alt"></span> Télécharger', ['communicate/instructions'], ['class'=>'btn btn-primary']) ?></p>
- </div>
- </div>
- </div>
|