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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user