@extends('layouts.app') @section('content')

Equipment


Add New Equipment
{{ csrf_field() }}

EIAC Approval

INAS Approval


List of Equipment
@foreach ($equipment as $equip) @endforeach
# Equipment Name Inspection Duration EIAC INAS Check List Certificate Expiry
{{ $equip->id }} {{ $equip->name }} {{ $equip->duration }} @php $eiac = $equip->eiac ==1 ? "Accredited" : "Not Accredited"; echo $eiac; @endphp @php $inas = $equip->inas ==1 ? "Accredited" : "Not Accredited"; echo $inas; @endphp @php $chklist_id =0; if($equip->chklist){ $chklist_id = $equip->chklist->id; } @endphp Create @if($chklist_id != 0) View @endif {{ $equip->certificate_expiry_duration }} months

@endsection