{{ $initial }}
{{ $o->page->title ?? '—' }}
{{ $o->customer_name }}
@if($isOrder)
{{ __('Sifariş') }}
@else
{{ __('Müraciət') }}
@endif
@if($isOrder)
{{ number_format((float) $o->total_amount, 2) }} ₼
@endif
{{ \App\Models\Order::statusLabel($o->status) }}
@foreach($o->items as $item)
@php $lineTotal = ((float) ($item['price'] ?? 0)) * ((int) ($item['quantity'] ?? 1)); @endphp
@endif
{{-- Notes: для заказа — комментарий, для обращения — само сообщение --}}
@if($o->notes)
{{ $item['quantity'] ?? 1 }}
{{ $item['name'] ?? '' }}
{{ number_format($lineTotal, 2) }} ₼
@endforeach
№ {{ $o->id }}
{{ $o->created_at->format('d.m.Y, H:i') }}