from django.urls import path
from . import views

urlpatterns = [
    path('', views.accounting_dashboard, name='accounting_dashboard'),
    path('chart-of-accounts/', views.chart_of_accounts, name='chart_of_accounts'),
    path('chart-of-accounts/add/', views.account_create_update, name='account_create'),
    path('chart-of-accounts/edit/<int:pk>/', views.account_create_update, name='account_edit'),
    path('journal-entries/', views.journal_entries, name='journal_entries'),
    path('journal-entries/manual/', views.manual_journal_entry, name='manual_journal_entry'),
    path('ledger/<int:account_id>/', views.account_ledger, name='account_ledger'),
    path('trial-balance/', views.trial_balance, name='trial_balance'),
    path('balance-sheet/', views.balance_sheet, name='balance_sheet'),
    path('profit-loss/', views.profit_loss, name='profit_loss'),
]