Add professor share & financial reports UI, expense management page

Adds payout configuration fields (percentage/hourly + per-session
expense allowance) with a live payout preview to the class form,
a new Financial Reports page (per-class and date-range/monthly tabs,
per-session drill-down dialog) with reusable stat cards, and an
Institutional Expenses management page. Registers routes, sidebar
navigation, and permission constants for the new financial_reports
and expenses permissions.
This commit is contained in:
2026-08-21 12:19:18 +03:30
parent ee3bc2b856
commit 26762e4dac
13 changed files with 1055 additions and 3 deletions
+14
View File
@@ -162,6 +162,20 @@ export const routes = [
component: () => import('@/views/payments/PaymentDetailView.vue')
},
// Financial reports & institutional expenses
{
path: 'financial-reports',
name: 'FinancialReports',
component: () => import('@/views/financialReports/FinancialReportsView.vue'),
meta: { title: 'گزارش‌های مالی', permission: 'financial_reports:read' }
},
{
path: 'expenses',
name: 'ExpenseList',
component: () => import('@/views/expenses/ExpenseListView.vue'),
meta: { title: 'هزینه‌های موسسه', permission: 'expenses:read' }
},
// Roles
{
path: 'roles',