@section('title', __('mail.order_ready_for_mbe.title')) @extends('mail.master') @section('content')

{{ __('mail.order_ready_for_mbe.greeting') }}

{{ __('mail.order_ready_for_mbe.body', ['marketplace' => $mailMarketplaceName]) }}

{{ __('mail.common.destination') }}
@foreach($destination as $destinationLine)

{{ $destinationLine }}

@endforeach
{{ __('mail.common.total_weight') }} {{ $totalWeight }}

{{ __('mail.order_ready_for_mbe.buyer') }} @if($buyerName)

{{ $buyerName }}

@endif @if($buyerEmail)

{{ __('mail.common.email') }} {{ $buyerEmail }}

@endif @if($buyerPhone)

{{ __('mail.common.phone') }} {{ $buyerPhone }}

@endif

{{ __('mail.order_ready_for_mbe.stores_detail') }}

@foreach($order->fulfillments as $fulfillment)

{{ __('mail.order_ready_for_mbe.store_label') }} {{ $fulfillment->store->commercial_name }}

{{ __('mail.order_ready_for_mbe.contact_label') }} {{ $fulfillment->store->mobile_phone_number ?? $fulfillment->store->email }}

{{ __('mail.order_ready_for_mbe.dimensions') }} {{ $fulfillment->order_dimension_length }} x {{ $fulfillment->order_dimension_width }} x {{ $fulfillment->order_dimension_height }} cm

{{ __('mail.order_ready_for_mbe.weight') }} {{ number_format($fulfillment->physicalOrderItems->sum(fn ($item) => $item->quantity * ($item->product_snapshot['weight'] ?? 0)), 2) }} kg

@include('mail.partials.products-list', ['orderItems' => $fulfillment->physicalOrderItems, 'order' => null, 'showPriceAndLink' => false])

{{ __('mail.order_ready_for_mbe.products_list_note') }}

@endforeach

{{ __('mail.order_ready_for_mbe.closing') }}

@endsection