@extends('layouts.default', ['appTopMenu' => true]) @php use App\Models\inventory\Purchase_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
Date Wise Issue Report
{{ Form::open(array('name'=>'issueReportDateWise','id'=>'issueReportDateWise','url'=>'reports/issue_by_date', 'class'=>'form-horizontal' ,'method' => 'POST')) }}
{{ $errors->first('from_date') }}
{{ $errors->first('to_date') }}
{{ Form::close() }}
@if (!empty($search_results))

Issue Reports

@foreach ($search_results as $data) @endforeach
ISSUE REPORT FROM {{ Request::post('from_date') }}  TO {{ Request::post('to_date')}}
# Issue Date Section Issue To Product Model No Serial No Company Remark
{{ $loop->iteration }} {{ \Carbon\Carbon::parse($data->issue_date)->format('d-m-Y') }} {{ $data->section }} {{ $data->issue_to }} {{ $data->pname }} {{ $data->model_no }} {{ $data->sr_no }} {{ $data->cname }} {{ $data->remarks }}
@elseif (Request::has('search'))

Issue Reports

# Issue Date Section Issue To Product Model No Serial No Company Remark
No results found.
@endif
@endsection