@extends("WarehouseDashboard.layouts.dashboard.app") @section("page-nav-title")

{{__('Documents')}}

@endsection @section("content") @include("layouts.main-parts.page-message")
@if(!empty($orders)) @if(Request()->type == 1) @else @endif @endif
@if(!empty($orders)) @foreach($items as $item) @foreach($branches as $branch) @foreach($collect->CollectionOrder as $order) @if($order->item_id == $item->id && $order->branch_id == $branch->id) @php $collection=$order->modified_collection != null ? $order->modified_collection : $order->collection; @endphp @endif @endforeach @php $total +=$collection;@endphp @endforeach @php $total = 0;@endphp @endforeach @else @endif
{{__('Item English Name')}} {{__('Item Arabic Name')}} {{__('Unit')}} {{__('production quantity')}}
{{$do->item->name_en}} {{$do->item->name_ar}} @switch($do->item->unit) @case(1){{__('cartoon')}}@break @case(2){{__('shwal')}}@break @case(3){{__('eviction')}}@break @case(4){{__('ream')}}@break @case(5){{__('piece')}}@break @endswitch {{$total}}
{{__("No data yet")}}
@endsection @section("scripts") @endsection