@extends('layouts.admin') @section('title', 'Kelola Tenant') @section('content')
| Kode | Nama | User | Invoice | Nilai | Status | Aksi |
|---|---|---|---|---|---|---|
| {{ $t->kode_tenant }} | {{ $t->nama_perusahaan }} | {{ $t->users_count }} | {{ $t->invoices_count }} | Rp {{ number_format($t->total_nilai ?? 0, 0, ',', '.') }} | @php $sc = match($t->status) { 'aktif' => 'bg-green-100 text-green-700 border-green-200', 'suspended' => 'bg-red-100 text-red-700 border-red-200', default => 'bg-yellow-100 text-yellow-700 border-yellow-200' }; @endphp {{ strtoupper($t->status) }} | Detail Edit @if($t->status === 'suspended') @else @endif |
| Belum ada tenant. | ||||||