ldc-legaulois/resources/views/emails/order.blade.php
2021-04-15 09:30:42 +02:00

100 lines
5.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ __('Confirmation de commande Le Gaulois') }}</title>
</head>
<body>
<table style="font-family: arial; font-size: 16px;" width="600" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr style="background-color: #0f437e;">
<td valign="top" style="border:none; margin:0;">
<a target="_blank" href="{{ route("home") }}" style="color:white; text-decoration:none;">
<img src="{{ asset('assets/images/mail/header-1.jpg') }}" width="215" height="35" style="border:none; margin:0; display:block;" alt="{{ __('Le Gaulois') }}"/>
</a>
</td>
<td valign="top" style="border:none; margin:0;">
<a target="_blank" href="{{ route("products.index") }}" style="color:white; text-decoration:none;">
<img src="{{ asset('assets/images/mail/header-2.jpg') }}" width="105" height="35" style="border:none; margin:0; display:block;" alt="{{ __('Les produits') }}"/>
</a>
</td>
<td valign="top" style="border:none; margin:0;">
<a target="_blank" href="{{ route('kitchen-side.index') }}" style="color:white; text-decoration:none;">
<img src="{{ asset('assets/images/mail/header-3.jpg') }}" width="90" height="35" style="border:none; margin:0; display:block;" alt="{{ __('Coté cuisine') }}"/>
</a>
</td>
<td valign="top" style="border:none; margin:0;">
<a target="_blank" href="{{ route("brand.index") }}" style="color:white; text-decoration:none;">
<img src="{{ asset('assets/images/mail/header-4.jpg') }}" width="80" height="35" style="border:none; margin:0; display:block;" alt="{{ __('La marque') }}"/>
</a>
</td>
{{-- TODO: faire route en ce moment sans slug ... --}}
{{-- <td valign="top" style="border:none; margin:0;">
<a target="_blank" href="{{ path("moment") }}" style="color:white; text-decoration:none;">
<img src="{{ asset('assets/images/mail/header-5.jpg') }}" width="110" height="35" style="border:none; margin:0; display:block;" alt="{{ __('En ce moment') }}"/>
</a>
</td> --}}
</tr>
<tr style="background-color: #0f437e;">
<td valign="top" style="border:none; margin:0; text-align:center;" colspan="5" >
<a target="_blank" href="{{ route("club.index") }}" style="color:white; text-decoration:none;">
<img src="{{ asset('assets/images/mail/header-club.jpg') }}" width="600" height="205" style="border:none; margin:0; display:block;" alt="{{ __('Le Club Le Gaulois') }}"/>
</a>
</td>
</tr>
<tr>
<td valign="top" style="border:none; margin:0; text-align:center;" colspan="5">
<p>{{ __('Bonjour') }} {{ $order->firstname }} {{ $order->lastname }}</p>
<p>{{ __('Merci pour votre commande sur notre site !') }}<br><br></p>
<p>{{ __('Votre adresse de livraison :')}}<br></p>
@if(!$order->deliveryAddress)
<p>{{ $order->firstname }} {{ $order->lastname }}</p>
<p>{{ $order->phone }}</p>
<p>{{ $order->address }}</p>
<p>{{ $order->postcode }} {{ $order->city }}</p>
@else
<p>{{ $order->deliveryAddress->firstname }} {{ $order->deliveryAddress->lastname }}</p>
<p>{{ $order->deliveryAddress->phone }}</p></p>
<p>{{ $order->deliveryAddress->address }}</p>
<p>{{ $order->deliveryAddress->postcode }} {{ $order->deliveryAddress->city }}</p>
@endif
<p>{{ __('Vous trouverez en pièce jointe le récapitulatif de votre commande.') }}<br><br></p>
@if($order->payementType->equals(OrderType::check()))
<p>{{ __('Afin de vous la faire parvenir, nous attendons votre chèque à  l\'ordre de LDC et qui doit être adressé à  l\'adresse suivante :' ) }}</p>
<p>
LDC - Les Départ'Aimants Le Gaulois<br>
ZI St Laurent - CS 50925<br>
72302 Sablé sur Sarthe.<br><br>
</p>
<p>{{ __('Une fois le chèque reçu vous recevrez votre Carte de France sous un délai maximum de 5 semaines.') }}</p>
<p>{{ __('Attention, vous disposez de 30 jours maximum pour envoyer votre chèque, au delà des 30 jours, votre commande sera automatiquement annulée.') }}</p>
@else
<p>{{ __('Nous avons bien pris en compte votre commande, elle vous sera adressée dans les plus bref délais.') }}</p>
<p>{{ __('Un email de confirmation d\'envoi vous sera envoyé le jour de l\'expédition.') }}</p>
@endif
<p>{!! __('A très bientôt sur le site :address', ['address' => '<a href="'.URL::to('/').'">www.legaulois.fr</a>']) !!}</p>
</td>
</tr>
<tr>
<td valign="top" style="border:none; margin:0; text-align:right;" colspan="5">
<p style="margin-right:20px;">{{ __('Gauloisement vôtre,') }}<br/>{{ __('L’équipe Le Gaulois') }}</p>
<img src="{{ asset('assets/images/mail/spacer.gif') }}" width="600" height="20" style="border:none; margin:0; display:block;" alt=""/>
</td>
</tr>
<tr style="background-color: #0f437e;">
<td valign="top" style="border:none; margin:0;" ></td>
<td valign="top" style="border:none; margin:0;" >
<a target="_blank" href="{{ route("club.index") }}" style="color:white; text-decoration:none;">
<img src="{{ asset('assets/images/mail/footer-logo.jpg') }}" width="105" height="78" style="border:none; margin:0; display:block;" alt="{{ __('Le Club Le Gaulois') }}"/>
</a>
</td>
<td valign="top" style="border:none; margin:0;" >
<a target="_blank" href="https://www.facebook.com/LeGauloisFrance/" style="color:white; text-decoration:none;">
<img src="{{ asset('assets/images/mail/footer-fb.jpg') }}" width="90" height="78" style="border:none; margin:0; display:block;" alt="Facebook"/>
</a>
</td>
<td valign="top" style="border:none; margin:0;" ></td>
<td valign="top" style="border:none; margin:0;" ></td>
</tr>
</table>
</body>
</html>