Users Management

Manage all subscription users in the system

Add New User
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

All Users

Total: {{ $users->total() }} users

@forelse($users as $user) @empty @endforelse
ID User Email Mobile Status Grace Period Validity From Validity To Actions
#{{ $user->id }}
{{ strtoupper(substr($user->name, 0, 1)) }}
{{ $user->name }}
{{ $user->email }} {{ $user->mobile_no ?? '-' }} @if($user->is_active) Active @else Inactive @endif @if($user->grace_period) Granted @else - @endif @if($user->validity_from) {{ $user->validity_from->timezone('Asia/Kolkata')->format('d M Y') }} @else Not Set @endif @if($user->validity_to)
{{ $user->validity_to->timezone('Asia/Kolkata')->format('d M Y') }} @php $today = \Carbon\Carbon::today(); $daysLeft = $today->diffInDays($user->validity_to, false); @endphp @if($daysLeft < 0) Expired {{ abs($daysLeft) }} days ago @elseif($daysLeft == 0) Expires today @elseif($daysLeft <= 7) {{ $daysLeft }} days left @else {{ $daysLeft }} days left @endif
@else Not Set @endif
@csrf @method('DELETE')

No users found

Get started by creating your first user.

Add Your First User
@if($users->hasPages())
{{ $users->links() }}
@endif