✨ feat(mail/customer): Crée un mail pour l'activation de l'espace client.
This commit is contained in:
@@ -657,7 +657,9 @@ class CustomerController extends AbstractController
|
||||
//event advert customer created space account
|
||||
$event = new EventSpaceCustomerCreated($account,$password);
|
||||
$eventDispatcher->dispatch($event);
|
||||
dd($account,$password);
|
||||
$entityManager->flush();
|
||||
$this->addFlash("danger","Création de l'espace client effectuée ! ");
|
||||
return $this->redirectToRoute('artemis_intranet_customer_view', ['id' => $customer->getId()]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
54
templates/mails/customer/created_space_customer.twig
Normal file
54
templates/mails/customer/created_space_customer.twig
Normal file
@@ -0,0 +1,54 @@
|
||||
{% extends 'mails/base.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<mj-column>
|
||||
<mj-text font-size="20px" font-weight="bold" color="#333333" padding-bottom="10px">
|
||||
Votre Espace Client est maintenant activé !
|
||||
</mj-text>
|
||||
<mj-text font-size="16px" color="#555555" padding-bottom="20px">
|
||||
Bonjour,
|
||||
</mj-text>
|
||||
<mj-text font-size="16px" color="#555555" padding-bottom="15px">
|
||||
Nous avons le plaisir de vous confirmer que votre espace client est désormais actif.
|
||||
Vous y trouverez tous les outils pour gérer votre compte et vos services en toute autonomie.
|
||||
</mj-text>
|
||||
|
||||
<mj-divider border-color="#cccccc" />
|
||||
|
||||
<mj-text font-size="16px" font-weight="bold" color="#333333" padding-top="15px" padding-bottom="5px">
|
||||
Ce que vous pouvez faire dans votre espace :
|
||||
</mj-text>
|
||||
<mj-text font-size="14px" color="#555555" line-height="1.8">
|
||||
<ul>
|
||||
<li>Consulter vos <strong>devis</strong>, <strong>avis de paiement</strong> et <strong>factures</strong>.</li>
|
||||
<li>Gérer vos <strong>facilités de paiement</strong> et le <strong>prélèvement automatique</strong>.</li>
|
||||
<li>Suivre le statut de vos <strong>sites internet</strong> (ouverts ou fermés).</li>
|
||||
<li>Faire des <strong>demandes d'ouverture de site</strong>.</li>
|
||||
<li>Accéder à vos <strong>options</strong> et services supplémentaires.</li>
|
||||
<li>Vérifier si votre <strong>compte est restreint</strong>.</li>
|
||||
<li>Envoyer des <strong>demandes</strong> directement aux équipes de SITECONSEIL.</li>
|
||||
</ul>
|
||||
</mj-text>
|
||||
|
||||
<mj-text font-size="16px" font-weight="bold" color="#333333" padding-top="15px" padding-bottom="5px">
|
||||
Informations de connexion :
|
||||
</mj-text>
|
||||
<mj-text font-size="14px" color="#555555" line-height="1.5">
|
||||
- <strong>Identifiant</strong> : <strong>{{ datas.account.username }}</strong><br/>
|
||||
- <strong>Mot de passe temporaire</strong> : <strong>{{ datas.password }}</strong>
|
||||
</mj-text>
|
||||
|
||||
<mj-button href="{{ datas.url }}" background-color="#007bff" color="white" font-family="Helvetica, Arial, sans-serif" font-size="16px" font-weight="bold" inner-padding="10px 25px" border-radius="3px" padding-top="20px">
|
||||
Accéder à mon espace client
|
||||
</mj-button>
|
||||
|
||||
<mj-text font-size="16px" color="#cc0000" padding-top="20px" font-weight="bold">
|
||||
⚠️ IMPORTANT : Vous devrez changer votre mot de passe lors de cette première connexion pour des raisons de sécurité.
|
||||
</mj-text>
|
||||
|
||||
<mj-text font-size="14px" color="#333333" padding-top="30px">
|
||||
Cordialement,<br/>
|
||||
L’équipe Support
|
||||
</mj-text>
|
||||
</mj-column>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user