@extends('admin.layouts.app') @section('content')
| ID | Nama | Role | Package | Expired | Status | Action | |
|---|---|---|---|---|---|---|---|
| {{ $user->id }} | {{ $user->name }} | {{ $user->email }} | @if($user->role == 'admin') Admin @else Customer @endif | @if($package) {{ $package->name }} @else Free @endif | @if($subscription) {{ $subscription->expired_date->format('d M Y') }} @else - @endif | @if(!$subscription) Free @elseif($subscription->status == 'active') Active @elseif($subscription->status == 'pending') Pending @elseif($subscription->status == 'expired') Expired @elseif($subscription->status == 'cancelled') Cancelled @endif | |
| Tidak ada user. | |||||||