@extends("WarehouseDashboard.layouts.dashboard.app") @section("page-nav-title")
| {{__("#")}} | {{__('Type')}} | {{__('Created at')}} | {{__('Create Document')}} | {{__('Show')}} | {{__('export document')}} | {{__('cancel-compilation')}} |
|---|---|---|---|---|---|---|
| {{$collect->id}} | {{$collect->type == 1 ? __("Warehouse") :__("Operator")}} | {{$collect->created_at}} | @if(isset($collect->Documents)) @php $document_type=[]@endphp @foreach($collect->Documents as $key => $Document) @php $document_type[]=$Document->document_type; @endphp @endforeach @if(isset($document_type)) @if(!in_array(1,$document_type) ) $collect->id,"type"=>$collect->type,"document_type"=>1])}}"> @endif @endif @if(check_branch($collect->id)) $collect,"Type"=>$collect->type,"document_type"=>2])}}"> $collect, "Type" => $collect->type, "document_type" => 2]) }}"> @endif {{-- {{__("Done")}}--}} @endif | $collect->id])}}" class="btn btn-primary" >{{__('Show')}} | $collect->id])}}" class="btn btn-primary" target="_blank"> {{__('Pdf')}} $collect->id])}}" class="btn btn-primary">{{__("Export As Excel")}} |