@extends('admin.layouts.app') @section('title', 'Acenteler') @section('page_title', 'Acenteler') @push('styles') @endpush @section('content')

{{ $agencies->total() }}

Toplam Acente

{{ $agencies->where('is_active', true)->where('is_approved', true)->count() }}

Aktif Acente

{{ $agencies->where('is_active', true)->where('is_approved', false)->count() }}

Onay Bekleyen

{{ $agencies->where('is_active', false)->count() }}

Pasif Acente

Acente Yönetimi
Yeni Acente
@forelse($agencies as $agency)
@if($agency->logo) {{ $agency->name }} @else
{{ strtoupper(substr($agency->name, 0, 2)) }}
@endif
{{ $agency->name }}
{{ $agency->code }}
{{ $agency->status_text }}
@if($agency->contact_person || $agency->contact_email || $agency->contact_phone)
@if($agency->contact_person)
{{ $agency->contact_person }}
@endif @if($agency->contact_email)
{{ $agency->contact_email }}
@endif @if($agency->contact_phone)
{{ $agency->contact_phone }}
@endif
@endif
{{ $agency->users_count ?? 0 }}
Kullanıcı
%{{ $agency->commission_rate }}
Komisyon
{{ $agency->created_at->diffForHumans() }}
Kayıt
@empty
Henüz acente bulunmuyor

İlk acentenizi eklemek için "Yeni Acente" butonuna tıklayın.

Yeni Acente Ekle
@endforelse
@if($agencies->hasPages())
{{ $agencies->links() }}
@endif
@endsection