{{t('menu_dashboard')}}
{{t('total_agents')}}
{{allAgents.length}}
{{t('dashboard_winloss')}}
{{dashboardStats.winLoss}}
{{t('dashboard_turnover')}}
{{dashboardStats.turnover}}
{{t('dashboard_expenses')}}
{{dashboardStats.expenses}}
{{t('dashboard_payouts')}}
{{dashboardStats.payouts}}
{{t('pending')}}
{{pendingRecords.length}}
{{t('menu_management')}}
| ID | Name | Phone | Level | Share % | Ops |
|---|---|---|---|---|---|
| {{a.username}} | {{a.name || '-'}} | {{a.phone || '-'}} | L{{a.level}} | {{a.share_percent}}% |
{{t('menu_distribution')}}
Status
Draft
Calculation Preview
{{previewData.finalAmount}}
Agent Report
| Period | Type | Turnover | Win/Loss | Fees | Share | Carry Down | Settled Amount | Note |
|---|---|---|---|---|---|---|---|---|
| {{r.start_date ? r.start_date + ' ~ ' + r.end_date : r.created_at}} | {{r.type || 'BILL'}} | {{r.type ? '-' : formatMoney(r.turnover)}} | {{formatMoney(r.gross_win_loss)}} | {{formatFees(r)}} | {{formatPercent(r.share_percent)}} | {{formatMoney(r.report_prev_balance ?? r.prev_balance)}} | {{formatMoney(r.report_final_amount ?? r.final_amount ?? r.amount)}} | {{r.remark || r.adj_remark}} |
My Statements
{{currentUser.username}}
{{r.start_date ? r.start_date + ' ~ ' + r.end_date : r.created_at}}
{{r.type || r.status}}
{{formatMoney(r.report_final_amount ?? r.amount)}}
Turnover
{{r.type ? '-' : formatMoney(r.turnover)}}
Win/Loss
{{r.type ? '-' : formatMoney(r.gross_win_loss)}}
Fees
{{r.type ? '-' : formatFees(r)}}
Carry Down
{{formatMoney(r.report_prev_balance)}}
{{r.remark || r.adj_remark}}
| Period | Status | Turnover | Win/Loss | Fees | Share | Carry Down | Amount | Note |
|---|---|---|---|---|---|---|---|---|
| {{r.start_date ? r.start_date + ' ~ ' + r.end_date : r.created_at}} | {{r.type || r.status}} | {{r.type ? '-' : formatMoney(r.turnover)}} | {{r.type ? '-' : formatMoney(r.gross_win_loss)}} | {{r.type ? '-' : formatFees(r)}} | {{r.type ? '-' : formatPercent(r.share_percent)}} | {{formatMoney(r.report_prev_balance)}} | {{formatMoney(r.report_final_amount ?? r.amount)}} | {{r.remark || r.adj_remark || ''}} |
{{currentUser.role === 'agent' ? 'Ledger' : 'Financial Transaction'}}
| Operator / Time | Type | Amount | Remark |
|---|---|---|---|
{{h.operator}} {{h.created_at}} |
{{h.type}} | {{formatMoney(h.amount)}} | " {{h.remark || 'Confirmed.'}} " |
Activity Logs
| Time | Operator | Action | Details |
|---|---|---|---|
| {{l.created_at}} | {{l.username}} | {{l.action}} | " {{l.details}} " |
Staff Management
Profile
{{currentUser.username}} ({{currentUser.role}})