Browse Source

Mails : peaufinage & homogénisation des signatures

develop
Guillaume Bourgeois 3 weeks ago
parent
commit
f41332b911
15 changed files with 24 additions and 19 deletions
  1. +2
    -1
      common/mail/createUserAdmin-html.php
  2. +2
    -1
      common/mail/createUserAdmin-text.php
  3. +1
    -1
      common/mail/creditConfirm-text.php
  4. +2
    -1
      common/mail/creditLimitReminder-html.php
  5. +2
    -1
      common/mail/creditLimitReminder-text.php
  6. +2
    -1
      common/mail/creditUser-html.php
  7. +2
    -1
      common/mail/creditUser-text.php
  8. +0
    -2
      common/mail/cronOrdersSummary-html.php
  9. +1
    -3
      common/mail/cronOrdersSummary-text.php
  10. +2
    -1
      common/mail/newPasswordUserAdmin-html.php
  11. +2
    -1
      common/mail/newPasswordUserAdmin-text.php
  12. +2
    -2
      common/mail/orderConfirm-html.php
  13. +1
    -1
      common/mail/paymentError-text.php
  14. +1
    -1
      common/mail/signup-html.php
  15. +2
    -1
      common/mail/signup-text.php

+ 2
- 1
common/mail/createUserAdmin-html.php View File

Identifiant : <strong><?= Html::encode($user->email); ?></strong><br /> Identifiant : <strong><?= Html::encode($user->email); ?></strong><br />
Mot de passe : <strong><?= $password ?></strong></p> Mot de passe : <strong><?= $password ?></strong></p>


<p>À bientôt.</p>
<p>À bientôt,<br />
<?= Html::encode($producer->name); ?></p>

+ 2
- 1
common/mail/createUserAdmin-text.php View File

Identifiant : <?= $user->email; ?> Identifiant : <?= $user->email; ?>
Mot de passe : <?= $password ?> Mot de passe : <?= $password ?>


À bientôt.
À bientôt,
<?= $producer->name ?>

+ 1
- 1
common/mail/creditConfirm-text.php View File

Votre compte est désormais à <?= Price::format($userProducer->credit); ?>. Votre compte est désormais à <?= Price::format($userProducer->credit); ?>.


À bientôt, À bientôt,
<?= Html::encode($producer->name); ?>
<?= $producer->name; ?>

+ 2
- 1
common/mail/creditLimitReminder-html.php View File



<p>Voici le montant actuel de votre cagnotte : <strong><?= Price::format($credit); ?></strong></p> <p>Voici le montant actuel de votre cagnotte : <strong><?= Price::format($credit); ?></strong></p>


<p>À bientôt.</p>
<p>À bientôt,<br />
<?= Html::encode($producer->name) ?></p>

+ 2
- 1
common/mail/creditLimitReminder-text.php View File



Voici le montant actuel de votre cagnotte : <?= Price::format($credit); ?> Voici le montant actuel de votre cagnotte : <?= Price::format($credit); ?>


À bientôt.
À bientôt,
<?= $producer->name ?>

+ 2
- 1
common/mail/creditUser-html.php View File

<p>Votre compte est désormais à <strong><?= Price::format($credit); ?></strong><br /> <p>Votre compte est désormais à <strong><?= Price::format($credit); ?></strong><br />
<a href="<?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['credit/history','slug_producer' => $producer->slug]) ?>">Cliquez ici</a> pour voir l'historique de votre cagnotte.</p> <a href="<?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['credit/history','slug_producer' => $producer->slug]) ?>">Cliquez ici</a> pour voir l'historique de votre cagnotte.</p>


<p>À bientôt.</p>
<p>À bientôt,<br />
<?= Html::encode($producer->name) ?></p>

+ 2
- 1
common/mail/creditUser-text.php View File

Votre compte est désormais à : <?= Price::format($credit); ?>. Votre compte est désormais à : <?= Price::format($credit); ?>.
Suivez ce lien pour voir l'historique de votre cagnotte : <?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['credit/history','slug_producer' => $producer->slug]) ?>"> Suivez ce lien pour voir l'historique de votre cagnotte : <?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['credit/history','slug_producer' => $producer->slug]) ?>">


À bientôt
À bientôt,
<?= $producer->name ?>

+ 0
- 2
common/mail/cronOrdersSummary-html.php View File



<p>Bonjour,</p> <p>Bonjour,</p>
<p>Voici en pièce jointe le récapitulatif des <?= count($orders) ?> commandes du <?= date('d/m',strtotime($date)) ?>.</p> <p>Voici en pièce jointe le récapitulatif des <?= count($orders) ?> commandes du <?= date('d/m',strtotime($date)) ?>.</p>
<p>À bientôt.</p>


<?php else: ?> <?php else: ?>


<p>Bonjour,</p> <p>Bonjour,</p>
<p>Vous n'avez aucune commande pour le <?= date('d/m',strtotime($date)) ?>.</p> <p>Vous n'avez aucune commande pour le <?= date('d/m',strtotime($date)) ?>.</p>
<p>À bientôt.</p>


<?php endif; ?> <?php endif; ?>

+ 1
- 3
common/mail/cronOrdersSummary-text.php View File



Voici en pièce jointe le récapitulatif des <?= count($orders) ?> commandes du <?= date('d/m',strtotime($date)) ?>. Voici en pièce jointe le récapitulatif des <?= count($orders) ?> commandes du <?= date('d/m',strtotime($date)) ?>.


À bientôt.
Bonne réception


<?php else: ?> <?php else: ?>




Vous n'avez aucune commande pour le <?= date('d/m',strtotime($date)) ?>. Vous n'avez aucune commande pour le <?= date('d/m',strtotime($date)) ?>.


À bientôt.

<?php endif; ?> <?php endif; ?>

+ 2
- 1
common/mail/newPasswordUserAdmin-html.php View File

Identifiant : <strong><?= Html::encode($user->email); ?></strong><br /> Identifiant : <strong><?= Html::encode($user->email); ?></strong><br />
Mot de passe : <strong><?= $password ?></strong></p> Mot de passe : <strong><?= $password ?></strong></p>


<p>À bientôt.</p>
<p>À bientôt,<br />
<?= Html::encode($producer->name); ?></p>

+ 2
- 1
common/mail/newPasswordUserAdmin-text.php View File

Identifiant : <?= $user->email; ?> Identifiant : <?= $user->email; ?>
Mot de passe : <?= $password ?> Mot de passe : <?= $password ?>


À bientôt.
À bientôt,
<?= $producer->name ?>

+ 2
- 2
common/mail/orderConfirm-html.php View File

<p>Retrouvez à tout moment votre commande dans l'espace de votre producteur via l'onglet <a href="<?= Yii::$app->urlManager->createAbsoluteUrl('order/history') ?>">Mes commandes</a>.</p> <p>Retrouvez à tout moment votre commande dans l'espace de votre producteur via l'onglet <a href="<?= Yii::$app->urlManager->createAbsoluteUrl('order/history') ?>">Mes commandes</a>.</p>
<?php endif; ?> <?php endif; ?>


À bientôt,<br />
<?= Html::encode($producer->name); ?>
<p>À bientôt,<br />
<?= Html::encode($producer->name) ?></p>

+ 1
- 1
common/mail/paymentError-text.php View File

<?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['credit/history','slug_producer' => $producer->slug]) ?> <?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['credit/history','slug_producer' => $producer->slug]) ?>


À bientôt, À bientôt,
<?= Html::encode($producer->name); ?>
<?= $producer->name; ?>

+ 1
- 1
common/mail/signup-html.php View File

<?php endif; ?> <?php endif; ?>


<p>À bientôt,<br /> <p>À bientôt,<br />
<?= Yii::$app->parameterBag->get('adminFirstname') ?></p>
<?= Html::encode($producer->name) ?></p>

+ 2
- 1
common/mail/signup-text.php View File

*/ */


use domain\User\User\User; use domain\User\User\User;
use yii\helpers\Html;


?> ?>


<?php endif; ?> <?php endif; ?>


À bientôt, À bientôt,
<?= Yii::$app->parameterBag->get('adminFirstname') ?>
<?= $producer->name ?>

Loading…
Cancel
Save