@adminCan('clients.edit') {{ __('crm.clients.new') }} @endadminCan @php $tiles = [ ['l' => __('crm.clients.title'), 'v' => $stats['total'], 's' => __('crm.clients.total'), 'i' => 'user-group', 'g' => 'from-[#F58229] to-[#E8453C]'], ['l' => __('crm.clients.active'), 'v' => $stats['active'], 's' => __('crm.clients.trial').': '.$stats['trial'], 'i' => 'check-badge', 'g' => 'from-[#17B26A] to-[#0E9F6E]'], ['l' => __('crm.clients.mrr'), 'v' => number_format($stats['mrr'], 0, ',', ' ').' лв.', 's' => __('crm.subs.monthly'), 'i' => 'banknotes', 'g' => 'from-[#2E90FA] to-[#1570EF]'], ['l' => __('crm.clients.churned'), 'v' => $stats['churned'], 's' => __('crm.clients.locations').': '.$stats['locations'], 'i' => 'arrow-trending-down', 'g' => 'from-[#7A5AF8] to-[#6938EF]'], ]; @endphp
@foreach ($tiles as $t)

{{ $t['l'] }}

{{ $t['v'] }}

{{ $t['s'] }}

@endforeach
@if (session('success'))

{{ session('success') }}

@endif
{{ $stats['total'] }} {{ __('crm.clients.total') }}
{{ __('crm.clients.client') }} {{ __('crm.clients.contact') }} {{ __('crm.clients.city') }} {{ __('crm.clients.plan') }} {{ __('crm.clients.locations') }} {{ __('crm.clients.mrr') }} {{ __('app.common.status') }} {{ __('app.common.actions') }}
@push('styles') @endpush @push('scripts') @endpush