@if(count($reportData ?? []) > 0)
| # |
{{ __('project.code') }} |
{{ __('project.name') }} |
{{ __('project.budget') }} |
{{ __('reports.total_expenses') }} |
{{ __('reports.total_petty_cash') }} |
{{ __('reports.remaining') }} |
{{ __('reports.utilization') }} |
{{ __('project.manager') }} |
@foreach($reportData as $index => $row)
| {{ persian_num($loop->iteration) }} |
{{ $row['code'] ?? '-' }} |
{{ $row['name'] ?? '-' }} |
{{ format_currency((float)($row['budget'] ?? 0)) }} |
{{ format_currency((float)($row['total_expenses'] ?? 0)) }} |
{{ format_currency((float)($row['total_petty_cash'] ?? 0)) }} |
{{ format_currency((float)($row['remaining'] ?? 0)) }}
|
{{ persian_num(round($row['utilization'] ?? 0)) }}%
|
{{ $row['manager'] ?? '-' }} |
@endforeach
|
{{ __('reports.total') }} |
{{ format_currency((float)($summary['total_budget'] ?? 0)) }} |
{{ format_currency((float)($summary['total_expenses'] ?? 0)) }} |
{{ format_currency((float)($summary['total_petty_cash'] ?? 0)) }} |
{{ format_currency((float)($summary['total_remaining'] ?? 0)) }}
|
{{ persian_num(round($summary['avg_utilization'] ?? 0)) }}%
|
|
@else
{{ __('reports.no_financial_data') }}
@endif