@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
Faulty Data Report
{{ Form::open(array('name'=>'faultyDataReportForm','id'=>'faultyDataReportForm','url'=>'reports/faulty_data', 'class'=>'form-horizontal' ,'method' => 'POST')) }}
{{ $errors->first('reason') }}
{{ Form::close() }}
@if (!empty($search_results[0]->pid_id))

Faulty Items Details

{{ Form::open(array('name'=>'FaultyItemStatusForm', 'id'=>'FaultyItemStatusForm' ,'class'=>'form-horizontal' ,'method' => 'POST')) }}
@foreach ($search_results as $data) @endforeach
Reason : {{ str_replace('_',' ',Request::post('reason')) }}
# Return From Return Date Reason Product Model No Serial No Company Remark
{{ $loop->iteration }} {{ $data->issue_to }} {{ \Carbon\Carbon::parse($data->return_date)->format('d-m-Y') }} {{ $data->reason }} {{ $data->pname }} {{ $data->model_no }} {{ $data->sr_no }} {{ $data->cname }} {{ $data->remark }}

{{ $errors->first('revert_in') }}
@elseif (Request::has('reason'))

Faulty Data Reports

# Return From Return Date Reason Product Model No Serial No Company Remark
No results found.
@endif
@endsection