{{-- equipment details --}}

{{ __('Equipment Details') }}

{{ __('Image') }}
{{--
--}}
{{-- equipment details --}} {{-- supplier section --}}

{{ __('Installation Details') }}

{{-- --}}
{{-- --}}
supplier_id)) value="{{ $equipments->supplier->email }}" @endif readonly>
supplier_id)) value="{{ $equipments->supplier->address }}" @endif readonly>
supplier_id)) value="{{ $equipments->supplier->phone }}" @endif readonly>
supplier_id)) value="{{ $equipments->supplier->contact_person }}" @endif readonly>
supplier_id)) value="{{ $equipments->supplier->position }}" @endif readonly>
{{-- supplier section --}} {{-- calibration --}}

{{ __('Calibration') }}

{{-- --}}
{{-- --}}
{{ __('Calibration Details') }}
{{--
@php $calib_count = 1; @endphp
--}}
{{-- @php $calib_count = 0; @endphp
Date Technician Remarks File Document Name
--}} {{--
--}} @php $calib_count = 0; @endphp
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 Acceptability Criteria Remarks File
{{--
--}}
@php $calib_caounter = 0; @endphp @if(isset($equipments)&&isset($equipments->calib))
{{ __('Calibration History') }}
{{-- @if(!isset($repair['result'])) --}} {{-- @endif --}} @can('calibration_approver') @endcan @foreach($equipments->calib as $repair) @php $calib_caounter++; @endphp @can('calibration_approver') @endcan @endforeach
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 Acceptability Criteria Remarks FileResult
{{-- @if($repair->repair_reports == 1) Service Report @elseif($repair->repair_reports == 2) Calibration Certificate @elseif($repair->repair_reports == 3) Preventive Maintenance Report @endif --}} View @if(!isset($repair['result'])) @endif
@endif {{-- @if (isset($equipments) && !count($equipments->calibration_attachments) == 0)
{{ __('Calibration History') }}
@foreach ($equipments->calibration_attachments as $calib_attachments) @endforeach
Date Technician Remarks File Document Name
{{ $calib_attachments['date'] }} {{ $calib_attachments['technician'] }} {{$calib_attachments['remarks']}} View {{$calib_attachments['file_name']}}
@endif
--}}
{{-- if calibration required is no --}}
instrument_owner)) value="{{ $equipments->instrument_owner }}" @elseif(isset($branch)) value="{{ $branch->name }}" @elseif(isset($branch_edit)) value="{{ $branch_edit->name }}" @endif placeholder="{{ __('Equipment Owner') }}" id="instrument_owner" disabled>
{{--
--}}
instrument_email)) value="{{ $equipments->instrument_email }}" @elseif(isset($branch)) value="{{ $branch->email }}" @elseif(isset($branch_edit)) value="{{ $branch_edit->email }}" @endif placeholder="{{ __('Email') }}" id="instrument_email">
instrument_phone)) value="{{ $equipments->instrument_phone }}" @elseif(isset($branch)) value="{{ $branch->phone }}" @elseif(isset($branch_edit)) value="{{ $branch_edit->phone }}" @endif placeholder="{{ __('Contact Number') }}" id="instrument_phone">
{{-- @if (isset($equipments) && !count($equipments->calibration_attachments) == 0)
Calibration History
Date
Technician
Remarks
File Name
File
@foreach ($equipments->calibration_attachments as $calib_attachments)
@php $calib_count = 1; @endphp View
@endforeach
@endif --}} @if (isset($equipments->calibration_required) && $equipments->calibration_required == 0)
@if ($equipments->signed_by_uh) @else @endif Approver 1 - @if ($equipments->signed_by_pathologist) @else @endif Approver 2 - @if ($equipments->signed_by_director) @else @endif Approver 3
{{--
{{auth()->guard('admin')->user()->designation_model->level}}
--}}
@can('approve_first') @if ($equipments->signed_by_uh == null) Sign @endif @endcan @can('approve_second') @if ( $equipments->signed_by_uh != null && $equipments->signed_by_pathologist == null) Sign @endif @endcan @can('approve_third') @if ( $equipments->signed_by_uh != null && $equipments->signed_by_pathologist != null && $equipments->signed_by_director == null) Sign @endif @endcan
@endif
{{-- calibration --}} {{-- Maintenance --}}

{{ __('Preventive Maintenance') }}

{{-- --}}
{{-- --}} {{-- --}} {{-- --}}
Preventive Maintenance
{{--
@php $maintenance_count = 1; @endphp
--}}
{{-- @php $maintenance_count = 0; @endphp
Date Technician Remarks File Document Name
--}} @php $maintenance_count = 0; @endphp
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 Acceptability Criteria Remarks File
@if(isset($equipments)&&isset($equipments->maintenance_prev)) @php $prev_caounter = 0; @endphp
{{ __('Preventive Maintenance History') }}
@can('maintenance_approver') @endcan @foreach($equipments->maintenance_prev as $repair) @php $prev_caounter++; @endphp {{-- --}} @can('maintenance_approver') @endcan @endforeach
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 Acceptability Criteria Remarks FileResult
{{$repair->jor_pre_inspection_no}} {{$repair->jor_pre_inspection_date}} {{$repair->pr_no}} {{$repair->pr_date}} {{$repair->pw_wo_no}} {{$repair->pw_wo_date}} @if($repair->repair_reports == 1) Service Report @elseif($repair->repair_reports == 2) Calibration Certificate @elseif($repair->repair_reports == 3) Preventive Maintenance Report @endif {{$repair->repair_validation_date}} {{$repair->functional_check}} {{$repair->methodology}} {{$repair->passing_criteria}} {{$repair->measure_of_uncertainty}} {{$repair->jor_pre_inspection_no}} {{$repair->jor_post_inspection_date}} {{$repair->acceptability_criteria}} {{$repair->remarks}} {{-- @if($repair->repair_reports == 1) Service Report @elseif($repair->repair_reports == 2) Calibration Certificate @elseif($repair->repair_reports == 3) Preventive Maintenance Report @endif --}} View @if(!isset($repair['result'])) @endif
@endif {{-- @if (isset($equipments) && !count($equipments->maintenance_attachments) == 0)
{{ __('Preventive Maintenance History') }}
@foreach ($equipments->maintenance_attachments as $maintain_attach) @endforeach
Date Technician Remarks File Document Name
{{ $maintain_attach['date'] }} {{ $maintain_attach['technician'] }} {{$maintain_attach['remarks']}} View {{$maintain_attach['file_name']}}
@endif --}}
{{-- {{$equipments->maintenance_attachments}} {{!count($equipments->maintenance_attachments) == 0}} --}} {{-- @if (isset($equipments) && !count($equipments->maintenance_attachments) == 0)
Preventive Maintenance History
Date
Technician
Remarks
File Name
File
@foreach ($equipments->maintenance_attachments as $maintain_attach) @endforeach
@endif --}} {{--
Corrective Maintenance
@php $corrective_maintenance_count = 1; @endphp
--}} @if (isset($equipments) && !count($equipments->corrective_attachments) == 0)
Corrective Maintenance History
Date
Technician
Remarks
File Name
File
@foreach ($equipments->corrective_attachments as $corrective)
{{-- @php $calib_count = 1; @endphp --}} View
@endforeach
@endif
{{-- Maintenance --}} {{-- post inspection --}} {{--

{{ __('Post Inspection') }}

@php $post_inspection_count = 1; @endphp
@if (isset($equipments) && !count($equipments->post_inspection_attachments) == 0)
Post Inspection History
@endif
--}} {{-- post inspection --}} {{-- repair --}}

{{ __('Repair') }}

@php $repairs_count = 0; @endphp
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 Number Supplier Parts Consumption File
@if(isset($equipments)&&isset($equipments->repairs)) @php $repair_caounter = 0; @endphp
{{ __('Repair History') }}
@can('repair_approver') @endcan @foreach($equipments->repairs as $repair) {{-- --}} @can('repair_approver') @endcan @endforeach
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 Number Supplier Parts Consumption File Result
{{-- @if($repair->repair_reports == 1) Service Report @elseif($repair->repair_reports == 2) Calibration Certificate @elseif($repair->repair_reports == 3) Preventive Maintenance Report @endif --}} {{$repair->problem_reported}} View @if(!isset($repair['result'])) @endif
@endif
{{-- repair --}} {{-- Non- Conformance --}}

{{ __('Non-Conformance') }}

{{-- --}} {{-- --}} @php $conformance_count = 0; @endphp
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 Date FileActions Accepted? Close NSC? --}} {{--
@if(isset($equipments)&&isset($equipments->repairs)) @php $conformance_counter = 0; @endphp
{{ __('Non-Conformance History') }}
{{-- --}}
@can('non_conformance_approver') @endcan @foreach($equipments->conformances as $conformance) @php $conformance_counter++; @endphp {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @php $supp_types = ['JOR', 'Post Inspection Report', 'Service Report for 3rd party provider']; @endphp {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @can('non_conformance_approver') @endcan @endforeach
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 Date File Actions Accepted? Close NSC?
{{-- {{$conformance->type}} --}} {{-- {{$conformance->priority}} --}} {{$conformance->issue_date}} {{$conformance->source}} {{$conformance->process}} {{$conformance->due_date}} {{$conformance->detailed_description}} {{-- @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)) --}} responsible_person)) value="{{$conformance->responsible_person->designation_model->title}}" @endif id="c_responsible_person_d{{$conformance_counter}}" readonly> {{-- @endif --}} @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 @if(!isset($conformance['action_accepted'])) @endif
@endif
{{-- repair --}} {{-- attachments --}}

{{ __('Attachments') }}

    @if (isset($attachments)) @foreach ($attachments as $attach)
  • {{ $attach['file_name'] }} @endforeach @endif
{{-- attachments --}} {{-- --}} {{-- --}} @section('scripts') @endsection