Repair History for {{ $laptop->serial_number }}
@if ($laptop->repairs->isEmpty())

No repair history available for this laptop.

@else @foreach ($laptop->repairs as $repair) @endforeach
Repair Details Repaired By Cost Approved By Repair Date Action
{{ $repair->repair_details }} {{ $repair->repaired_by }} {{ $repair->cost }} {{ $repair->approved_by }} {{ $repair->created_at->format('Y-m-d') }} @if($repair->bill) @else No bill uploaded @endif
@endif