credit-direct/templates/email/credit-step5-mail.php
2025-12-18 09:44:42 +01:00

35 lines
2.9 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Confirmation de votre demande de crédit</title>
</head>
<body style="margin:0; padding:0; background:#001954; font-family:'Plus Jakarta Sans', Arial, Helvetica, sans-serif;">
<div style="max-width:600px; margin:40px auto; background:#fff; border-radius:12px; box-shadow:0 4px 16px 0 rgba(0,0,0,0.08); padding:0 0 24px 0; font-family:'Plus Jakarta Sans', Arial, Helvetica, sans-serif;">
<div style="text-align:center; background:#fff; border-radius:12px 12px 0 0;">
<img src="<?php echo $this->main->asset('img/cred_banniere.jpg'); ?>" alt="Crédit Direct" width="600" height="120" style="display:block; margin:0 auto; width:600px; height:120px; border-radius:12px 12px 0 0;">
</div>
<div style="padding:32px 24px 0 24px;">
<h1 style="color:#001954; font-size:24px; margin:0 0 20px 0; text-align:center;">Confirmation de votre demande de crédit</h1>
<p style="margin-bottom:16px; color:#333;">Bonjour <?php echo $borrower->firstname . ' ' . $borrower->lastname; ?>,</p>
<p style="margin-bottom:16px; color:#333;">Nous avons bien reçu votre demande de crédit et nous vous en remercions.</p>
<p style="margin-bottom:16px; color:#333;">Un conseiller vous contactera dans les plus brefs délais pour finaliser votre dossier.</p>
<div style="background:#f9f9f9; padding:15px; border-radius:8px; margin-top:20px;">
<h3 style="color:#001954; font-size:18px; margin:0 0 12px 0;">Récapitulatif de votre demande</h3>
<p style="margin:8px 0;"><strong>Type de crédit:</strong> <?php echo array_key_exists($currentCredit->options_credit_hypothecaire->type_credit, $mapHouseCreditTypes) ? $mapHouseCreditTypes[$currentCredit->options_credit_hypothecaire->type_credit] : 'Type de crédit inconnu' ?></p>
<p style="margin:8px 0;"><strong>Montant:</strong> <?php echo $currentCredit->capital; ?> €</p>
<p style="margin:8px 0;"><strong>Durée:</strong> <?php echo $currentCredit->duree; ?> <?php if ($currentCredit->type_credit === 'am'): ?>ans<?php else: ?>mois<?php endif; ?></p>
<p style="margin:8px 0;"><strong>TAEG:</strong> <?php echo $currentCredit->taux_nominal_annuel; ?></p>
<p style="margin:8px 0;"><strong>Mensualité:</strong> <?php echo $currentCredit->mensualite; ?> €</p>
</div>
<p style="margin-top:24px; color:#333;">Si vous avez des questions, n'hésitez pas à nous contacter.</p>
<p style="margin-bottom:0; color:#333;">Cordialement,<br>L'équipe Crédit Direct</p>
</div>
<div style="padding:24px 24px 0 24px; text-align:center; color:#888; font-size:13px;">
<hr style="border:none; border-top:1px solid #eee; margin:24px 0 16px 0;">
Cet email a été envoyé automatiquement, merci de ne pas y répondre.<br>
© <?php echo date('Y'); ?> Crédit Direct. Tous droits réservés.
</div>
</div>
</body>
</html>