{{ __('pdf.machinery_usage_report') }}

@foreach ($rows as $r) @endforeach
{{ __('common.equipment') }} {{ __('common.supplier') }} {{ __('common.project') }} {{ __('common.duration') }} {{ __('common.cost') }} {{ __('common.paid') }} {{ __('common.owed') }}
{{ $r->equipment_name }} {{ $r->supplier_name ?: '-' }} {{ $r->project_name ?: '-' }} {{ number_format((float) $r->duration, 2) }} {{ number_format((float) $r->cost, 2) }} {{ number_format((float) $r->paid, 2) }} {{ number_format((float) $r->owed, 2) }}
{{ __('pdf.totals') }} {{ number_format((float) ($totals['cost'] ?? 0), 2) }} {{ number_format((float) ($totals['paid'] ?? 0), 2) }} {{ number_format((float) ($totals['owed'] ?? 0), 2) }}