@extends('emails.layout') @section('title', __('email.order_cancelled_subject', ['order_number' => $order->order_number])) @section('header-title', __('email.order_cancelled_subject', ['order_number' => $order->order_number])) @section('footer')
{{ __('email.regards') }}
{{ __('email.team_signature', ['app' => config('app.name')]) }}
@endsection @section('content'){{ __('email.order_greeting', ['user_name' => $user->fullname ]) }}
{{ __('email.order_cancelled_message', [ 'order_number' => $order->order_number ]) }}
{{ __('email.order_number') }}: {{ $order->order_number }}
{{ __('email.order_total') }}: {{ \App\Enums\Currency::from(config('countries.default_currency', 'XAF'))->format($order->total_amount) }}
{{ __('email.order_customer') }}: {{ $order->customer->user->fullname ?? __('email.unknown_customer') }}
@if($order->cancelled_at){{ __('email.order_cancelled_at') }}: {{ $order->cancelled_at->format('d/m/Y H:i') }}
@endif @if($order->comments){{ __('email.cancellation_reason') }}: {{ $order->comments }}
@endif{{ __('email.order_status') }}: {{ $order->status->label ?? ucfirst($order->status) }}
{{ __('email.refund_info') }}: {{ __('email.order_cancelled_refund_message') }}
{{ __('email.order_cancelled_footer_message') }}
{{ __('email.need_help') }}
{{ __('email.contact_support_message') }}