Refactor OrderReferenceCast to utilize base58 encoding for order references instead of UUID. This change improves compatibility with the new OrderReference implementation.
28 lines
1 KiB
PHP
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>
|