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

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

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

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

{{ $destinationLine }}

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

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

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

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

{{ __('mail.order_ready_for_clpd.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_clpd.products_list_note') }}

@endforeach

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

@endsection