ldc-boutique-cnc-sable/resources/views/emails/order-confirm-admin.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

28 lines
1 KiB
PHP

{{-- blade-formatter-disable --}}
<x-mail::message>
# {{ __('New order registered!') }}
{{ __('Hello') }},
{{ __('The order') }} **{{ $order->reference }}** {{ __('from') }} {{ $order->employee->firstname }} {{ Str::upper($order->employee->lastname) }} ({{ $order->employee->matricule }}) {{ __('is confirmed.') }}
<x-mail::table>
| {{ __('Product') }} | {{ __('Quantity') }} | {{ __('Total TTC') }} |
|:--------|:--------:|----------:|
@foreach ($order->lines as $line)
| {{ $line->productIncoId->value }} - {{ $line->productName }} | {{ $line->quantity }} | @money($line->totalTtc) |
@endforeach
</x-mail::table>
**{{ __('Estimated total') }} : @money($order->totalTtc) {{ __('TTC') }}**
---
{{ __('To be collected on') }} **{{ $order->pickupDay->translatedFormat('l j F Y') }}**, {{ __('at the following address') }} :
<x-mail::panel>
**{{ __('Collection point') }} {{ $magasin->name }}** {{ $magasin->address }}, {{ $magasin->postcode }} {{ $magasin->city }}
</x-mail::panel>
{{ __('Automated message') }} {{ config('app.name') }}
</x-mail::message>