{{ __('Purchase Order') }} {{ $order->reference }}

{{ __('Supplier') }}: {{ $order->supplier?->name ?? __('Unassigned') }}

{{ __('Generated at') }} {{ now()->format('d/m/Y H:i') }}

@foreach ($order->items as $item) @endforeach
{{ __('Product') }}{{ __('Quantity') }}{{ __('Unit cost') }}{{ __('Total') }}
{{ $item->product?->name }} {{ $item->quantity }} {{ number_format($item->unit_cost, 0, ',', ' ') }} {{ number_format($item->quantity * $item->unit_cost, 0, ',', ' ') }}

{{ __('Estimated total') }}: {{ number_format($order->estimated_total, 0, ',', ' ') }} {{ current_tenant()?->currency_symbol ?? 'Ar' }}