Data Ustadz

Kelola data ustadz dan pengajar TPQ

@if(request()->hasAny(['search', 'spesialisasi', 'status'])) @endif
@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif
@forelse($ustadz as $item)
@csrf @method('DELETE')
@empty @endforelse
Ustadz Kontak Spesialisasi Status & Honor Rekening Actions
{{ $item->nama_ustadz }}
ID: {{ $item->id_ustadz }}
@if($item->nomor_hp)
{{ $item->nomor_hp }}
@endif @if($item->email)
{{ Str::limit($item->email, 20) }}
@endif
@php $spesialisasiColors = [ 'tahsin' => 'bg-blue-100 text-blue-800', 'tahfiz' => 'bg-purple-100 text-purple-800', 'keduanya' => 'bg-green-100 text-green-800' ]; $spesialisasiIcons = [ 'tahsin' => 'fa-book-open', 'tahfiz' => 'fa-memory', 'keduanya' => 'fa-star' ]; @endphp {{ ucfirst($item->spesialisasi) }}
@if($item->status_relawan) Relawan @else Honor
Rp {{ number_format($item->honorarium_bulanan, 0, ',', '.') }}
@endif
@if($item->rekening_bank)
{{ $item->rekening_bank }}
@else - @endif

Tidak ada data ustadz

Mulai dengan menambahkan ustadz baru

@if($ustadz->hasPages())
{{ $ustadz->links() }}
@endif
{{ $ustadz->where('spesialisasi', 'tahsin')->count() }}
Ustadz Tahsin
{{ $ustadz->where('spesialisasi', 'tahfiz')->count() }}
Ustadz Tahfiz
{{ $ustadz->where('status_relawan', true)->count() }}
Relawan
{{ $ustadz->where('spesialisasi', 'keduanya')->count() }}
Multi Skill