@php $serviceCards = [ [ 'icon' => 'box', 'iconColor' => 'text-green-400', 'badgeColor' => 'bg-green-400', 'title' => __('Services'), 'value' => count($vmware ?? []) + count($hosting ?? []), 'label' => __('Services'), 'tooltip' => __('Services') ], [ 'icon' => 'credit-card', 'iconColor' => 'text-primary', 'badgeColor' => 'bg-primary', 'title' => __('Balance'), 'value' => number_format(auth('users')->user()->credit, 0, ',', '.') . ' đ', 'label' => __('Balance'), 'tooltip' => __('Balance') ], [ 'icon' => 'file-text', 'iconColor' => 'text-blue-600', 'badgeColor' => 'bg-blue-600', 'title' => __('Invoices'), 'value' => count($invocie_unpaid ?? []), 'label' => __('Invoices'), 'tooltip' => __('Invoices') ], [ 'icon' => 'help-circle', 'iconColor' => 'text-red-600', 'badgeColor' => 'bg-red-600', 'title' => __('Support'), 'value' => count($ticket ?? []), 'label' => __('Support'), 'tooltip' => __('Support') ], [ 'icon' => 'globe', 'iconColor' => 'text-purple-600', 'badgeColor' => 'bg-purple-600', 'title' => __('Domains'), 'value' => count($domain ?? []), 'label' => __('Domains'), 'tooltip' => __('Domains') ] ]; @endphp