@extends('layouts.app') @section('content')
{{ $usersCount }}
{{ $companies->where('status', 'active')->count() }}
{{ $companies->where('status', 'suspended')->count() }}
| # | اسم الشركة | الحالة | حالة الدفع | المستخدمون | تاريخ الدفع التالي | الإجراءات |
|---|---|---|---|---|---|---|
| {{ $company->id }} |
{{ $company->name }} {{ $company->email }} |
@if($company->isActive()) نشطة @elseif($company->isSuspended()) موقوفة @else غير نشطة @endif |
{{ $company->payment_status }}
@if($company->isPaymentOverdue())
متأخر @endif |
{{ $company->users()->count() }} مستخدم |
@if($company->next_payment_date)
{{ $company->next_payment_date->format('Y-m-d') }}
@if($company->getDaysUntilPaymentDue() <= 7)
قريب @endif @else غير محدد @endif |