How aleafarrel-25-11-6401/itassetmanagement works
ITAM is a Windows Forms desktop application for managing IT inventory, employee records, multi-unit loans and returns, user access, and audit history. Users log in or register, then navigate role-filtered screens; screens invoke controllers, which validate and update domain data through a shared in-memory cache and Supabase PostgREST. The dashboard summarizes inventory, active loans, and recent history. The graph also includes profile, employee, and audit-management capabilities documented in the README. Some subsystem links rely on README or source-index references because their implementation excerpts are incomplete.
Main entry points: MainForm.cs Main Navigation · DataStore.cs REST Client & Cache · AssetController.cs Asset Management · RiwayatController.cs Audit History Logic
Components 20
Desktop UI
- Login Form
Views/FormLogin.cs - Registration Form
Views/FormRegister.cs - Main Navigation
Views/MainForm.cs - Analytics Dashboard
Views/UC_Dashboard.cs - Asset Screen
Views/UC_Asset.cs - Employee Screen
Views/UC_Karyawan.cs - Loan & Return Screen
Views/UC_Alokasi.cs - Audit History Screen
Views/UC_Riwayat.cs - Profile Screen
Views/UC_Profil.cs - UI Helpers
Views/UIHelper.cs - Dialogs
Views/Dialogs.cs
Identity & Access
- Authentication & Profile
Controllers/AuthController.cs
Asset Operations
- Asset Management
Controllers/AssetController.cs - Employee Management
Controllers/KaryawanController.cs - Loan & Return Logic
Controllers/AlokasiController.cs - Audit History Logic
Controllers/RiwayatController.cs
Data & Domain
- Domain Models
Models/Models.cs - REST Client & Cache
Models/DataStore.cs
Other components
- ITAM User
- Supabase PostgREST
Connections 36
- ITAM User → Login Form: enters credentials
README.md - Login Form → Authentication & Profile: requests login
Views/FormLogin.cs - Login Form → Registration Form: opens registration
Views/FormLogin.cs - Registration Form → Authentication & Profile: submits account
Views/FormRegister.cs - Login Form → Main Navigation: opens after login
Views/FormLogin.cs - Main Navigation → Analytics Dashboard: creates page
Views/MainForm.cs - Main Navigation → Asset Screen: creates page
Views/MainForm.cs - Main Navigation → Employee Screen: creates page
Views/MainForm.cs - Main Navigation → Loan & Return Screen: creates page
Views/MainForm.cs - Main Navigation → Audit History Screen: creates page
Views/MainForm.cs - Main Navigation → Profile Screen: creates page
Views/MainForm.cs - Asset Screen → Asset Management: invokes
Views/UC_Asset.cs - Employee Screen → Employee Management: invokes
Views/UC_Karyawan.cs - Loan & Return Screen → Loan & Return Logic: invokes
Views/UC_Alokasi.cs - Loan & Return Screen → Asset Management: loads assets
Views/UC_Alokasi.cs - Loan & Return Screen → Employee Management: loads employees
Views/UC_Alokasi.cs - Audit History Screen → Audit History Logic: invokes
Views/UC_Riwayat.cs - Profile Screen → Authentication & Profile: updates profile
Views/UC_Profil.cs - Analytics Dashboard → Asset Management: reads summary
Views/UC_Dashboard.cs - Analytics Dashboard → Loan & Return Logic: reads active loans
Views/UC_Dashboard.cs - Analytics Dashboard → Audit History Logic: reads recent activity
Views/UC_Dashboard.cs - Asset Management → REST Client & Cache: reads and writes
Controllers/AssetController.cs - Employee Management → REST Client & Cache: reads and writes
Controllers/KaryawanController.cs - Loan & Return Logic → REST Client & Cache: updates loans and stock
Controllers/AlokasiController.cs - Audit History Logic → REST Client & Cache: records and queries
Controllers/RiwayatController.cs - Authentication & Profile → REST Client & Cache: reads and writes
Controllers/AuthController.cs - Asset Management → Audit History Logic: records asset actions
Controllers/AssetController.cs - Loan & Return Logic → Audit History Logic: records loan events
Controllers/AlokasiController.cs - REST Client & Cache → Supabase PostgREST: sends REST requests
Models/DataStore.cs - REST Client & Cache → Domain Models: maps records
Models/DataStore.cs - Asset Management → Domain Models: uses domain types
Controllers/AssetController.cs - Loan & Return Logic → Domain Models: uses domain types
Controllers/AlokasiController.cs - Audit History Logic → Domain Models: uses domain types
Controllers/RiwayatController.cs - Main Navigation → UI Helpers: cancels debounce
Views/MainForm.cs - Asset Screen → UI Helpers: formats grids
Views/UC_Asset.cs - Login Form → Dialogs: shows messages
Views/FormLogin.cs