{{-- CRM report table. Params: $rows (arrays from CrmReportService::row + extra keys), $label (callable row → first column). --}} @if (collect($rows)->isEmpty())
| {{ trans('crm.report.name') }} | {{ trans('crm.report.leads') }} | {{ trans('crm.report.contacted') }} | {{ trans('crm.report.open') }} | {{ trans('crm.statuses.converted') }} | {{ trans('crm.statuses.lost') }} | {{ trans('crm.report.rate') }} |
|---|---|---|---|---|---|---|
| {{ $label($row) }} | {{ $row['total'] }} | {{ $row['contacted'] }} | {{ $row['open'] }} | {{ $row['converted'] }} | {{ $row['lost'] }} |
{{ $row['rate'] }}%
|