{{__("Detailed Orders")}}
@if(isset($request) && is_array($request) && count($request) >= 3)
From {{$request[1]}} To {{$request[2]}}
@else
@endif
@foreach($orders as $order)
{{__("order-number")}} : {{ $order->number }}
{{__("date")}} :{{ $order->created_at->format('Y-m-d') }}
{{__("client-name")}} :{{ $order->client->en_name }}
{{__("status")}} : {{ $order->status->status }}
{{__("store")}} :{{ $order->store->name }}
{{__("production-line")}} : {{ $order->productionLine->name }}
{{__("item-detailed")}}
@if(app()->getLocale() == 'en')
{{__("item-code")}} |
{{__("item-name")}} |
{{__("unit")}} |
{{__("type")}} |
{{__("quantity")}} |
{{__("produced-quantity")}} |
@else
{{__("produced-quantity")}} |
{{__("quantity")}} |
{{__("type")}} |
{{__("unit")}} |
{{__("item")}} |
{{__("item-code")}} |
@endif
@foreach($order->order_details as $detail)
{{$detail->item->getItemCode()}} |
{{$detail->item->name}} |
{{$detail->item->unit->unit_name}} |
{{$detail->item->type->type}} |
{{$detail->quantity}} |
{{$detail->produced_quantity}} |
@endforeach
@if(isset($order->purchase_details))
{{__("purchase-orders")}} ( {{$order->purchase_order}} )
@if(app()->getLocale() == 'en')
{{__("item-code")}} |
{{__("item-name")}} |
{{__("unit")}} |
{{__("type")}} |
{{__("quantity")}} |
@else
{{__("quantity")}} |
{{__("type")}} |
{{__("unit")}} |
{{__("item")}} |
{{__("item-code")}} |
@endif
@foreach($order->purchase_details as $purchase_detail)
{{$purchase_detail->item->getItemCode()}} |
{{$purchase_detail->item->name}} |
{{$purchase_detail->item->unit->unit_name}} |
{{$purchase_detail->item->type->type}} |
{{$purchase_detail->quantity}} |
@endforeach
@endif
@if(isset($order->booked_details ))
{{__("booking-orders")}} ( {{$order->booked_order}} )
@if(app()->getLocale() == 'en')
{{__("item-code")}} |
{{__("item-name")}} |
{{__("unit")}} |
{{__("type")}} |
{{__("quantity")}} |
@else
{{__("quantity")}} |
{{__("type")}} |
{{__("unit")}} |
{{__("item")}} |
{{__("item-code")}} |
@endif
@foreach($order->booked_details as $booked_detail)
{{$booked_detail->item->getItemCode()}} |
{{$booked_detail->item->name}} |
{{$booked_detail->item->unit->unit_name}} |
{{$booked_detail->item->type->type}} |
{{$booked_detail->quantity}} |
@endforeach
@endif
@endforeach