{{config('app.name')}}

{{-- @php($invoice == \App\Models\Invoice::first())--}}
{{__("Date")}}: {{$invoice->created_at->ldate('Y-m-d')}}
{{__("Customer")}}: {{$invoice->customer->name}}
{{__("ID")}}: {{$invoice->hash}} ({{$invoice->status}})
{{__("Customer mobile")}}: {{$invoice->customer->mobile}}
qr code
@foreach($invoice->orders as $k => $order) @endforeach
# {{__("Product")}} {{__("Count")}} {{__("Quantity")}} {{__("Price")}}
{{$k + 1}} {{$order->product->name}} {{number_format($order->count)}} @if( ($order->quantity->meta??null) == null) - @else @foreach($order->quantity->meta as $m) {{$m->human_value}} @endforeach @endif {{number_format($order->price_total)}}
- {{__("Transport")}} {{number_format($invoice->transport_price)}} {{__("Total price")}} {{number_format($invoice->total_price)}} {{__("Orders count")}}: ({{number_format($invoice->count)}})
{{__("Print")}}