@if (!empty($search_results))
@if(!empty(Request::post('search_by')) && Request::post('search_by') =='SR')
Serial No : {{ Request::post('number') }} |
@elseif(!empty(Request::post('search_by')) && Request::post('search_by') == 'MODAL')
Model No : {{ Request::post('number') }} |
@elseif(!empty(Request::post('search_by')) && Request::post('search_by') == 'OR')
Order No : {{ Request::post('number') }} |
@endif
# |
Purchase Order |
Purchase Date |
Product |
Model No |
Serial No |
Company |
Amount |
Item Receipt Date |
Record Keeping |
Remark |
@foreach ($search_results as $data)
{{ $loop->iteration }} |
{{ $data->pur_order_no }} |
{{ \Carbon\Carbon::parse($data->pur_order_date)->format('d-m-Y') }} |
{{ $data->pname }} |
{{ $data->model_no }} |
{{ $data->sr_no }} |
{{ $data->cname }} |
{{ $data->amount }} |
{{ \Carbon\Carbon::parse($data->item_receiving_date)->format('d-m-Y') }} |
{{ $data->record_keeping }} |
{{ $data->remark }} |
@endforeach
@elseif (Request::has('search'))
# |
Purchase Order |
Purchase Date |
Product |
Model No |
Serial No |
Company |
Amount |
Item Receipt Date |
Receipt |
Record Keeping |
Remark |
No results found. |
@endif