@extends('layouts.default', ['appTopMenu' => true]) @php use App\Models\inventory\Purchase_model; use App\Models\inventory\Reports_model; @endphp @section('title','Dashboard') @push('scripts') @endpush @section('content')
@if (session('status'))
{!! session('status') !!}
@elseif(session('failed'))
{{ session('failed') }}
@endif @if(\Session::has('success'))
{{\Session::get('success')}}
@endif
Consolidated Reports
{{ Form::open(array('name'=>'searchForm','id'=>'searchForm','url'=>'reports/getconsolidated', 'class'=>'form-horizontal' ,'method' => 'POST')) }}
{!! Form::Label('Item-name', 'Item Name') !!} {{ $errors->first('product') }}
{!! Form::Label('Model-No', 'Model No') !!} {{ $errors->first('company') }}
{{ Form::close() }}
@if (!empty($search_results))

Consolidated Reports

@foreach ($search_results as $data) @endforeach
# Purchase Order Purchase Date Model No Serial No Amount Issued To Issued Date Department Name Remark
{{ $loop->iteration }} {{ $data->pur_order_no }} {{ \Carbon\Carbon::parse($data->pur_order_date)->format('d-m-Y') }} {{ $data->model_no }} {{ $data->sr_no }} {{ $data->amount }} {{ $data->issue_to }} {{ \Carbon\Carbon::parse($data->issue_date)->format('d-m-Y') }} {{ $data->section }} {{ $data->remark }}

Avalivable In Stock

@foreach ($search_results2 as $data2) @endforeach
# Purchase Order Purchase Date Model No Serial No Amount
{{ $loop->iteration }} {{ $data2->pur_order_no }} {{ \Carbon\Carbon::parse($data2->pur_order_date)->format('d-m-Y') }} {{ $data2->model_no }} {{ $data2->sr_no }} {{ $data2->amount }}
@endif
@endsection