{{ __('equipment_report.title') }}

@foreach ([__('common.equipment'), __('common.supplier'), __('common.project'), __('equipment_report.rate_type'), __('equipment_report.duration'), __('common.cost'), __('common.paid'), __('common.owed')] as $h) @endforeach @forelse ($rows as $r) @empty @endforelse @if (count($rows)) @endif
{{ $h }}
{{ $r->equipment_name }} {{ $r->supplier_name ?: '-' }} {{ $r->project_name ?: '-' }} {{ $r->rate_type ?: '-' }} {{ number_format((float) $r->duration, 2) }} {{ number_format((float) $r->cost, 2) }} {{ number_format((float) $r->paid, 2) }} {{ number_format((float) $r->owed, 2) }}
{{ __('common.no_records') }}
{{ __('equipment_report.totals') }} {{ number_format((float) ($totals['cost'] ?? 0), 2) }} {{ number_format((float) ($totals['paid'] ?? 0), 2) }} {{ number_format((float) ($totals['owed'] ?? 0), 2) }}