40 lines
1.7 KiB
PHP
40 lines
1.7 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
body { font-family: 'Helvetica', 'Arial', sans-serif; color: #333; line-height: 1.6; }
|
|
.container { width: 90%; margin: 20px auto; padding: 20px; border: 1px solid #eee; border-radius: 8px; }
|
|
.header { text-align: center; margin-bottom: 30px; }
|
|
.footer { margin-top: 40px; font-size: 12px; color: #777; border-top: 1px solid #eee; padding-top: 10px; }
|
|
.button { display: inline-block; padding: 10px 20px; background-color: #5d8a66; color: white; text-decoration: none; border-radius: 5px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<h2 style="color: #5d8a66;">Thanasoft</h2>
|
|
</div>
|
|
|
|
<p>Bonjour {{ $document->client->name }},</p>
|
|
|
|
@if($type === 'quote')
|
|
<p>Veuillez trouver ci-joint le devis <strong>{{ $document->reference }}</strong> suite à votre demande.</p>
|
|
<p>Ce devis est valable jusqu'au {{ $document->valid_until->format('d/m/Y') }}.</p>
|
|
@else
|
|
<p>Veuillez trouver ci-joint la facture <strong>{{ $document->invoice_number }}</strong> d'un montant de {{ number_format($document->total_ttc, 2, ',', ' ') }} {{ $document->currency }}.</p>
|
|
<p>La date d'échéance est fixée au {{ $document->due_date->format('d/m/Y') }}.</p>
|
|
@endif
|
|
|
|
<p>N'hésitez pas à nous contacter pour toute question supplémentaire.</p>
|
|
|
|
<p>Cordialement,<br>
|
|
L'équipe Thanasoft</p>
|
|
|
|
<div class="footer">
|
|
Ceci est un message automatique, merci de ne pas y répondre directement.
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|