{{-- --}} {{-- --}} @foreach ($records as $rec) {{-- {{count($rec->repairs)>0}} --}} @if (isset($rec->repairs) && count($rec->repairs) > 0) @foreach ($rec->repair_types as $key => $rep) {{-- @endif @endforeach @else @for ($i = 0; $i < 24; $i++) @endfor @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')}}
{{ $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 }}
{{ $rec->name }} {{ isset($rec->equipment_category->category_name) ? $rec->equipment_category->category_name : '' }}