"""
Enhanced URL patterns for beautiful dashboards and reports
"""

from django.urls import path
from . import enhanced_views

app_name = 'enhanced'

urlpatterns = [
    # Enhanced Dashboard
    path('dashboard/', enhanced_views.enhanced_dashboard, name='dashboard'),
    
    # Enhanced Client Management
    path('clients/', enhanced_views.enhanced_client_list, name='client_list'),
    
    # Enhanced Loans Management
    path('loans/', enhanced_views.enhanced_loans_dashboard, name='loans_dashboard'),
    
    # API endpoints for chart data
    path('api/dashboard-data/', enhanced_views.get_dashboard_api_data, name='dashboard_api'),
    path('api/client-data/', enhanced_views.get_client_api_data, name='client_api'),
    path('api/loan-data/', enhanced_views.get_loan_api_data, name='loan_api'),
]