ldc-cocotte/resources/views/emails/order-confirm.blade.php
Jérémy Munsch 713c937890
fix(casts): update OrderReferenceCast to use base58 encoding
Refactor OrderReferenceCast to utilize base58 encoding for order references instead of UUID.
This change improves compatibility with the new OrderReference implementation.
2026-10-27 16:17:28 +01:00

36 lines
1.8 KiB
PHP

{{-- blade-formatter-disable --}}
<x-mail::message>
# {{ __('Your order is registered!') }}
{{ __('Hello') }} {{ $order->employee->firstname }} {{ Str::upper($order->employee->lastname) }} ({{ $order->employee->matricule }}),
{{ __('Your order') }} **{{ $order->reference }}** {{ __('is confirmed.') }}
<x-mail::table>
| {{ __('Product') }} | {{ __('Quantity') }} | {{ __('Price per kilo TTC') }} | {{ __('Total TTC') }} |
|:--------|:--------:|:-------------:|----------:|
@foreach ($order->lines as $line)
| {{ $line->productIncoId->value }} - {{ $line->productName }}@if ($line->productWeightIsVariable) * @endif | {{ $line->quantity }} | @if ($line->productWeightIsVariable) @money($line->productPriceKgTtc) @endif | @money($line->totalTtc) |
@endforeach
</x-mail::table>
**{{ __('Estimated order total') }} : @money($order->totalTtc) {{ __('TTC') }}**
*\* {{ __('Product sold by the kilo. The price will be recalculated based on the weight of the product delivered when your order is handed over. The price is therefore subject to variation on your invoice.') }}*
---
{{ __('To be collected on') }} **{{ $order->pickupDay->translatedFormat('l j F Y') }}**, {{ __('at the following address') }} :
<x-mail::panel>
**{{ __('My collection point') }} {{ $shop->name }}** {{ $shop->address }}, {{ $shop->postcode }} {{ $shop->city }}
</x-mail::panel>
**{{ __('NB') }} :** {{ __('We do our utmost to deliver your entire order, unfortunately some products may be out of stock. You will not be charged for undelivered products.') }}
{{ __('The team') }} {{ config('app.name') }}
<x-mail::subcopy>
{{ __('For any questions related to your order, please contact reception by phone or via our section') }} [{{ __('contact us') }}]({{ route('fo.pages.contact') }}).
</x-mail::subcopy>
</x-mail::message>