{!! Form::open(array('route' => array('outgoing.store'), 'class' => 'form-horizontal form-label-left', 'method' => 'POST')) !!}
{!! Form::select('fromBranch[]', [], null, array('id' => 'fromBranch', 'class' => 'form-control', 'multiple' => 'multiple')) !!}
{!! Form::select('toBranch[]', [], null, array('id' => 'toBranch', 'class' => 'form-control', 'multiple' => 'multiple')) !!}
{!! Form::text('dateFrom', $dateFrom, array('class' => 'form-control', 'id' => 'dateFrom')) !!}
{!! Form::text('dateTo', $dateTo, array('class' => 'form-control', 'id' => 'dateTo')) !!}
{!! Form::select('category[]', $categoriesSelection, null, array('id' => 'category', 'class' => 'form-control', 'multiple' => 'multiple')) !!}
{!! Form::select('brand[]', $brandsSelection, null, array('id' => 'brand', 'class' => 'form-control', 'multiple' => 'multiple')) !!}
{!! Form::select('purpose[]', $purpose_, $selectedToPurpose, array('id' => 'purpose', 'class' => 'form-control', 'multiple' => 'multiple')) !!}
{!! Form::text('keyword', null, array('class' => 'form-control', 'id' => 'keyword')) !!}
{{--
--}} {{-- --}} {{--
--}}
{{--
--}} {{--
--}} {{--
--}} {{--

Upload Status

--}} {{-- --}} {{--
--}} {{-- Dispatched : {{ $fileUploadStatus[1] }}--}} {{-- Succeed : {{ $fileUploadStatus[2] }}--}} {{-- Failed : {{ $fileUploadStatus[3] }}--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}

Outgoing Items {{ $formattedDateFrom == $formattedDateTo ? $formattedDateFrom : $formattedDateFrom . ' - ' . $formattedDateTo }}

@foreach($outgoingItems as $outgoingItem) @if($outgoingItem->incoming_no != '') @else @endif @endforeach
Date Time From Branch To Branch Outgoing # Incoming # Box # Pouch # Pouch Code Barcode ItemCode Department Category Brand Description Purpose Reason Remarks Qty Price Amount User Terminal # Issue Damaged By Doctor Type
{{ $outgoingItem->local_time }} {{ strtoupper(mb_strtolower($outgoingItem->branch_name)) }} {{ strtoupper(mb_strtolower($outgoingItem->to_branch)) }} {{ $outgoingItem->outgoing_no }}{{ ucwords(mb_strtolower($outgoingItem->incoming_no)) }}Not Yet Received{{ $outgoingItem->box_no }} {{ $outgoingItem->pouch_no }} {{ $outgoingItem->unique_code }} {{ $outgoingItem->barcode }} {{ $outgoingItem->itemcode }} {{ $outgoingItem->department }} {{ $outgoingItem->category }} {{ $outgoingItem->brand }} {{ $outgoingItem->description }} {{ $outgoingItem->purpose }} {{ $outgoingItem->reason }} {{ $outgoingItem->remarks }} {{ $outgoingItem->qty }} {{ number_format($outgoingItem->price, 2) }} {{ number_format($outgoingItem->amount, 2) }} {{ $outgoingItem->user }} {{ $outgoingItem->terminal_no }} {{ $outgoingItem->issue }} {{ $outgoingItem->damaged_by }} {{ $outgoingItem->damaged_by_tag }}
{!! Paginate::show($outgoingItems) !!} {{ $outgoingItems->appends(request()->except('page'))->links() }}
{!! Form::close() !!}