For Internal Use - For Internal Distribution Only#
Crane - Pedestal
Mandatory Editable Automated Cells (locked)
Maintenance Plant
{{ $ppm->maintenance_plant ?? '' }}

Location
{{ $ppm->crane->platform ?? '' }}

Functional Location
Crane Model No
{{ $crane->model ?? 'N/A' }}

Crane Serial No
{{ $ppm->crane->crane_serial ?? 'N/A' }}

Date Manufacturer/Refurbish (dd/mm/yyyy)
{{ $ppm->date_manufacturer ? $ppm->date_manufacturer->format('d/m/Y') : 'N/A' }}
Boom Length (m)
{{ $ppm->boom_length ? $ppm->boom_length.' m' : 'N/A' }}

Max Radius (m)
{{ $ppm->max_radius ?? 'N/A' }}

Min Radius (m)
{{ $ppm->min_radius ?? 'N/A' }}

Main S.W.L
{{ $ppm->main_swl ? $ppm->main_swl.' ton' : 'N/A' }}
AUX S.W.L
{{ $ppm->aux_swl ? $ppm->aux_swl.' ton' : 'N/A' }}
Date Inspection (dd/mm/yyyy)
{{ $ppm->date_inspection ? $ppm->date_inspection->format('d/m/Y') : 'N/A' }}

Time In (hh:mm)
{{ $ppm->time_in ? date('H:i', strtotime($ppm->time_in)) : 'N/A' }}

Time Out (hh:mm)
{{ $ppm->time_out ? date('H:i', strtotime($ppm->time_out)) : 'N/A' }}
Site Rep/Technician
{{ $ppm->site_technician ?? 'N/A' }}

Attended By (1)
{{ $ppm->attended_by_1 ?? 'N/A' }}

Attended By (2)
{{ $ppm->attended_by_2 ?? 'N/A' }}
3-6 MONTHLY
@forelse($components as $index => $component)
1.{{ $index + 1 }} {{ ucwords($component->component_name) }}
@if($component->details->whereNull('sub_component')->count() > 0) @foreach($component->details->whereNull('sub_component') as $detailIndex => $detail) @endforeach
No Description Pre Condition* Post Condition* Priority* Remarks
{{ $index + 1 }}.{{ $detailIndex + 1 }} {{ $detail->description ?? 'N/A' }} {{ $detail->pre_condition ?? 'N/A' }} {{ $detail->post_condition ?? 'N/A' }} {{ $detail->priority ?? 'N/A' }} {{ $detail->remark ?: '—' }}
@endif @php $subComponents = $component->details ->filter(function($item) { return !empty($item->sub_component); }) ->groupBy('sub_component'); @endphp @if($subComponents->count() > 0) @foreach($subComponents as $subName => $items)
{{ $subName }}
@foreach($items as $item) @endforeach
Description Pre Condition* Post Condition* Priority* Remarks
{{ $item->description }} {{ $item->pre_condition }} {{ $item->post_condition }} {{ $item->priority }} {{ $item->remark ?: '—' }}
@endforeach @endif @if($component->otherData->count() > 0) @foreach($component->otherData->groupBy('name_component') as $groupName => $items) @if($groupName) @endif @foreach($items as $item) @php // Convert value to consistent array format $value = $item->value; if (is_array($value)) { $specData = $value; } elseif (is_string($value)) { $specData = json_decode($value, true) ?? ['value' => $value]; } elseif (is_object($value)) { $specData = (array)$value; } else { $specData = ['value' => $value]; } // Ensure we have an iterable array $specData = is_iterable($specData) ? $specData : ['value' => $specData]; @endphp @foreach($specData as $key => $value) @if(!empty($value) || $value === 0 || $value === '0') @endif @endforeach @endforeach @endforeach
{{ $groupName }}
@php $fieldLabels = [ 'construction' => 'Construction', 'diameter_length' => 'Diameter Length', 'date_installed' => 'Installation Date', 'first_layer_size' => 'First Layer Size', 'second_layer_size' => 'Second Layer Size', ]; $displayKey = is_int($key) ? 'value' : $key; echo $fieldLabels[$displayKey] ?? ucwords(str_replace('_', ' ', $displayKey)); @endphp @if($displayKey == 'date_installed') {{ date('d M Y', strtotime($value)) }} @elseif(is_numeric($value)) {{ number_format($value, 2) }} @else {{ $value }} @endif
@endif @if($component->otherDetails->count() > 0)
Additional Findings: @foreach($component->otherDetails as $detail) @endforeach
Description Condition Priority Remarks Value
{{ $detail->description ?? 'N/A' }} {{ $detail->condition ?? 'N/A' }} {{ $detail->priority ?? 'N/A' }} {{ $detail->remark ?: '—' }} {{ $detail->volt ?: '—' }}
@endif
<<< Click here to key in {{ ucwords($component->component_name) }}
@empty
No Components Found

No components found for this inspection.

@endforelse
Information Data
a Engine RPM At Idle Data * Remarks *
b Engine RPM At High Revs
c Engine Oil Pressure At Idle RPM
d Engine Oil Pressure At High RPM
e Engine Water Temperature After 1 Hours Operation
f Control Pressure
g Air System Pressure (Psi)
h Hydraulic Start Pressure (Psi)
i Hydraulic Tank Temperature (˚C)
<<< Click here to key in Information Data
Parts Change Out And Repair
@for($i = 1; $i <= 20; $i++) @endfor
No Parts Parts Number/Detail/Specification Remarks
{{ $i }}
<<< Click here to key in Parts Change Out And Repair
Parts Recommended To Be Change Out
@for($i = 1; $i <= 20; $i++) @endfor
No Parts Parts Number/Detail/Specification Remarks
{{ $i }}
<<< Click here to key in Parts Recommended To Be Change Out
Additional Information
<<< Click here to key in Additional Information
Findings/Suggestions: