@if(strstr(Route::currentRouteName(),'pos-po')) View POS Purchase Order Products @else @if(strstr(Route::currentRouteName(),'purchase-orders')) Inward Order Products Back   Approve Inwards @elseif(strstr(Route::currentRouteName(),'party')) Outward Party Sale Order Products Back @else Outward POS Sale Order Products Back @endif   @if(!strstr(Route::currentRouteName(),'purchase-orders')) Accounts Approval   Ready to Send   @for($f=1; $f <= count($flagarr);$f++) PT File1   @endfor @endif @endif

@if(!empty($posSaleOrder->items) && $posSaleOrder->items->count() > 0) @if(!strstr(Route::currentRouteName(),'pos-po'))
{{-- PRODUCTS SELECTED --}} @if(auth()->user()->role_id === 97 || auth()->user()->role_id === 1) @endif
Box Number: Barcode:
@if(!empty($consdata)) {!! $consdata !!} @endif
{{-- PRODUCTS SELECTED --}}
@endif

Hide items not Scanned.
@if(Route::currentRouteName() == 'purchase-orders-inward') @else @foreach($posSaleOrder->items as $item) @if(strstr(Route::currentRouteName(), 'purchase-orders') && $item->inwarded == 1) @elseif(strstr(Route::currentRouteName(),'pos-po')) @else @endif @if(strstr(Route::currentRouteName(),'pos-po-assign')) @else @endif @if(strstr(Route::currentRouteName(),'pos-po')) @else @if(strstr(Route::currentRouteName(), 'purchase-orders')) @else @endif @endif @endforeach @endif
Box Article Color Size Product Code Invoice No Barcode MRP Qty {{ strstr(Route::currentRouteName(),'pos-po') ? 'Inwarded' : 'Outward'}}
{{ $item->boxnum }} {{ $item->article }} {{ $item->color }} {{ $item->size }} {{ $item->productcode }} {{ $item->flag }}barcode == '0' ? '' : 'readonly' }}>{{ $item->barcode }}{{ $item->mrp }} {{ $item->qty }}{!! $item->inwarded == 0 ? 'No' : ' Inwarded' !!}{!! $item->inwarded == 0 ? '' : ' Inwarded' !!}{!! $item->outward == 0 ? '' : ' Outwarded' !!}
@else
@if(strstr(Route::currentRouteName(),'pos-po')) No items to inward! @elseif(strstr(Route::currentRouteName(),'purchase-order')) No items to inward! @else No items to outward! @endif
@endif @section('extraJs') @endsection