How nightrunners02/sistem-informasi-surat-perintah-membayar_spm works
e-SPM is a browser-based government payment-order management application. Users sign in, work with SPM records through submission and review stages, monitor progress, and produce realization reports; administrators also manage reference and system data. The sampled entry point shows that App owns session and view state and dispatches the feature views. The README documents broader reporting and administration capabilities. No server-side transaction store or external integration is established by the excerpts, so those connections are omitted.
Main entry points: App.tsx Session & Navigation · LaporanView.tsx Realization Reports · main.tsx React Entry · Login.tsx Sign In
Components 16
Application Shell
- React Entry
src/main.tsx - Session & Navigation
src/App.tsx - Sign In
src/components/Login.tsx - Role Switcher
src/components/RoleSwitcher.tsx
SPM Workflow
- SPM Register
src/components/SPMList.tsx - SPM Submission
src/components/SPMForm.tsx - SPM Review & SP2D
src/components/SPMDetail.tsx
Monitoring & Reports
- Realization Dashboard
src/components/Dashboard.tsx - Audit Trail
src/components/AuditTrailView.tsx - Realization Reports
src/components/LaporanView.tsx
Administration & Data
- Master Data
src/components/AdminMasterData.tsx - Initial Data & Save
src/data/initialData.ts - Domain Types
src/types.ts
Other components
- Government Staff
- jsPDF
- html2canvas
Connections 14
- Government Staff → React Entry: opens app
src/main.tsx - React Entry → Session & Navigation: renders
src/main.tsx - Session & Navigation → Sign In: shows when signed out
src/App.tsx - Session & Navigation → Role Switcher: renders
src/App.tsx - Session & Navigation → SPM Register: selects view
src/App.tsx - Session & Navigation → SPM Submission: selects view
src/App.tsx - Session & Navigation → SPM Review & SP2D: selects view
src/App.tsx - Session & Navigation → Realization Dashboard: selects view
src/App.tsx - Session & Navigation → Audit Trail: selects view
src/App.tsx - Session & Navigation → Realization Reports: selects view
src/App.tsx - Session & Navigation → Master Data: selects view
src/App.tsx - Session & Navigation → Initial Data & Save: loads and saves
src/App.tsx - Realization Reports → jsPDF: creates PDF
src/components/LaporanView.tsx - Realization Reports → html2canvas: renders report canvas
src/components/LaporanView.tsx