@extends('layouts.app') @section('title') {{ __('Equipment Report') }} @endsection @section('breadcrumb')

{{ __('Equipment Report') }}

@endsection @section('content')
{{-- {{ $input_date }} --}}
{{-- manufacturer --}}
{{-- manufacturer --}} {{-- type --}} @php $eq_types = [1, 2, 3]; $eq_status = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; @endphp
{{-- type --}} {{-- status --}}
{{-- status --}}
{{-- {{ $input_date }} --}}
{{-- {{ $input_date }} --}}
{{-- {{ $input_date }} --}}
{{-- {{$records}} --}} @if (isset($records))
{{-- --}} {{-- --}} @php $count = 0; @endphp @foreach ($records as $rec) {{-- {{count($rec->repairs)>0}} --}} @if (isset($rec->repairs) && count($rec->repairs) > 0) @foreach ($rec->repair_types as $key => $rep) {{-- @endif @php $count++; @endphp @endforeach @else @for ($i = 0; $i < 24; $i++) @endfor @php $count++; @endphp @endif @endforeach
# {{ __('Equipment Name') }} {{ __('Equipment Category') }} {{ __('Type') }} {{ __('JOR for Pre-Inspection No.') }} {{ __('JOR for Pre-Inspection Date') }} {{ __('PR No.') }} {{ __('PR date') }} {{ __('PO/WO No') }} {{ __('PO/WO Date') }} {{ __('Reports') }} {{ __('Verification / Validation') }} {{ __('Functional Check') }} {{ __('Methodology') }} {{ __('Passing Criteria') }} {{ __('Measure of Uncertainty') }} {{ __('JOR for Post-Inspection No') }} {{ __('JOR for Post-Inspection Date') }} {{ __('Type of Service') }} {{ __('Problem Reported') }} {{ __('Findings and Recommendation') }} {{ __('Service Report NO.') }} {{ __('Supplier') }} {{ __('Parts Consumption') }} {{ __('Acceptability Criteria') }} {{ __('Result') }} {{ __('Remarks') }}{{__('Product Unit')}}{{__('DR No.')}} {{__('Delivery Date')}} {{__('SI No.')}} {{__('PO No.')}} {{__('PO Date')}} {{__('Received By')}} {{__('Lot No./Batch No.')}} {{__('Expiry Date')}} {{__('Quantity')}} {{__('Cost')}} {{__('Total Cost')}}
{{ $count + 1 }} {{ $rec->name }} {{ isset($rec->equipment_category->category_name) ? $rec->equipment_category->category_name : '' }} @if ($rep->repair_type == 1) Calibration @elseif($rep->repair_type == 2) Preventive Maintenance @elseif($rep->repair_type == 3) Repair @endif {{ $rep->jor_pre_inspection_no }} {{ $rep->jor_pre_inspection_date }} {{ $rep->pr_no }} {{ $rep->pr_date }} {{ $rep->pw_wo_no }} {{ $rep->pw_wo_date }}{{ $rep->repair_reports }} --}} @if ($rep->repair_reports == 1) Service Report @elseif($rep->repair_reports == 2) Calibration Certificate @elseif($rep->repair_reports == 3) Preventive Maintenance Report @endif {{ $rep->repair_validation_date }} {{ $rep->functional_check }} {{ $rep->methodology }} {{ $rep->passing_criteria }} {{ $rep->measure_of_uncertainty }} {{ $rep->jor_post_inspection_no }} {{ $rep->jor_post_inspection_date }} {{ $rep->type_of_service }} {{ $rep->problem_reported }} {{ $rep->findings }} {{ $rep->service_report_no }} @if(isset($rep->supplier->name)) {{ $rep->supplier->name }}{{ $rep->parts_consumption }} {{ $rep->acceptability_criteria }} {{ $rep->result }} {{ $rep->remarks }}
{{ $count + 1 }} {{ $rec->name }} {{ isset($rec->equipment_category->category_name) ? $rec->equipment_category->category_name : '' }}
@endif
{{-- {{$records}} --}} @if (isset($records))
{{-- --}} @can('non_conformance_approver') @endcan @php $count = 1; @endphp @foreach ($records as $rec) @if(isset($rec->conformances) || count($rec->conformances) > 0) @foreach($rec->conformances as $conformance) {{-- --}} @can('non_conformance_approver') @endcan @php $count++; @endphp @endforeach @endif @endforeach
# {{ __('Equipment Name') }} {{ __('Equipment Category') }} Type Priority Issue Date Source Process Due Date Detailed Description of Non-Conformance Reported by Supporting Documents Date Responsible Position Responsible Person Date Actions Undertaken Performed By Date Verification of Implementation of Action Plans Reviewed by DateFileActions Accepted? Close NSC?
{{$count}} {{ $rec->name }} {{ isset($rec->equipment_category->category_name) ? $rec->equipment_category->category_name : '' }} {{$conformance->type}} {{$conformance->priority}} {{$conformance->issue_date}} {{$conformance->source}} {{$conformance->process}} {{$conformance->due_date}} {{$conformance->detailed_description}} {{$conformance->reported_by->name}} {{$conformance->reported_by->last_name}} @if(isset($conformance->supp_documents) && count($conformance->supp_documents) != 0)
    @foreach($conformance->supp_documents as $supp)
  • {{$supp->name}}
  • @endforeach
@endif
{{$conformance->supp_docu_date}} @if(isset($conformance->responsible_person)) {{$conformance->responsible_person->designation_model->title}} @endif @if(isset($conformance->responsible_person)) {{$conformance->responsible_person->name}} {{$conformance->responsible_person->last_name}} @endif {{$conformance->responsible_date}} {{$conformance->actions_undertaken}} {{$conformance->performed_by}} {{$conformance->performed_date}} {{$conformance->verification}} @if(isset($conformance->reviewed_by)) {{$conformance->reviewed_by->name}} {{$conformance->reviewed_by->last_name}} @endif {{$conformance->reviewed_date}} View {{$conformance['action_accepted'] == 1 ? 'Yes' : 'No'}} {{$conformance['close_nsc'] == 1 ? 'Yes' : 'No'}}
@endif
{{-- @if (request()->has('date')) @endif --}} {{-- @if (request()->has('date')) @endif --}} @if (request()->has('date')) @endif
@endsection @section('scripts') {{-- --}} @endsection