Daily Summary
Daily trend — Sale / Commission / Payout / Gross Margin / Net Profit
Quick actions
Run Draw
Draw logic & conditions will be defined later. This page will trigger / observe a draw for a product & time.
Enter Result
Enter the 5-digit winning number for each series A–E. 2D = first 2 digits, 3D = last 3 (e.g. 12345 → 2D 12 · 3D 345). You enter twice to confirm before it counts.
Confirmed results
Dealer Report
SMD / MD Report
Bet Detail Report
Add Dealer
Search Dealer
User Search
Create User
Permission Group
Groups
Dealer Debt — លុយចាស់
| Ending Balance (លុយចាស់ from prev day) | |
| + Sale | 0 |
| − Commission | 0 |
| − Payout | 0 |
| − Clear Amount | |
| = Debt | 0 |
All dealers — latest debt
Draw Setting
Add or edit the draw times used across data entry, results and reports.
Activity Log
Agent Detail Report
Demo / Test Data
Loads a demo dataset into the shared database — 3 hierarchy patterns (SMD→MD→Dealer, MD→Dealer, standalone) across the 5 payout combos — then runs the whole-app test. ⚠ This first CLEARS all current tickets, dealers, results, debts and logs.
Heavy demo = 50 agents selling every draw, mixed bet types, amounts up to 5,000, ~40,000,000៛/day from today to 31 Jul, with draw results. It generates tens of thousands of tickets — give it up to a minute.
To wipe everything (a full reset): stop the server, delete the file
Data Entry\Database\data.json, then start the server again — superadmin is re-created automatically.
DB Check / Backup & Restore
Inspect the shared database, take a snapshot now, or roll back to an earlier snapshot.
Snapshots are saved in Data Entry\Database\backups.