How auditstaff1jbyl-tech/auditstaff1jbyl-tech-s-org works
This is an end-of-day (EOD) variance recording and monitoring application. Staff enter branch, product, issue, financial-impact, and evidence details in the daily matrix; the app persists records locally, then presents filtered summaries, trends, risk signals, and follow-up tracking. Settings manage master data and security views, with backup/restore available. The source index establishes the main UI composition and several component dependencies; unsampled Supabase behavior and some UI details are represented cautiously.
Main entry points: App.tsx Application Shell · DailyMatrix.tsx Daily Entry Matrix · analytics.ts Risk & Trend Analytics · Overview.tsx Management Overview
Components 22
EOD Workflow
- Application Shell
src/App.tsx - Daily Entry Matrix
src/components/DailyMatrix.tsx - Searchable Select
src/components/SearchableSelect.tsx - Duplicate Detection
src/components/DuplicateDetectionModal.tsx - Image Zoom
src/components/ImageZoomModal.tsx - EOD Records
src/components/EODRecordsTable.tsx - Local Persistence & Backup
src/utils/storage.ts - Action Tracking
src/components/ActionTracker.tsx
Monitoring & Insights
- Management Overview
src/components/Overview.tsx - Monthly Breakdown
src/components/MonthlyBreakdown.tsx - Risk & Trend Analytics
src/utils/analytics.ts - Branch Drilldown
src/components/BranchDrilldownModal.tsx - Staff Monitoring
src/components/StaffMonitoring.tsx
Administration & Security
- Passcode Gate
src/components/PasscodeGate.tsx - Settings & Master Data
src/components/SettingsTab.tsx - Supabase Security View
src/components/SupabaseSecurityView.tsx - Admin EOD Void
supabase/functions/admin-void-eod/index.ts - Supabase EOD Schema
supabase/migrations/20260924000000_secure_eod_monitoring_schema.sql
Shared Logic
- Domain Types
src/types/index.ts - Formatting Helpers
src/utils/formatters.ts - Status Indicators
src/components/StatusIndicator.tsx
Other components
- Staff / Manager
Connections 26
- Staff / Manager → Application Shell: uses
- Application Shell → Passcode Gate: gates access
src/App.tsx - Application Shell → Daily Entry Matrix: renders
src/App.tsx - Application Shell → EOD Records: renders
src/App.tsx - Application Shell → Management Overview: renders
src/App.tsx - Application Shell → Monthly Breakdown: renders
src/App.tsx - Application Shell → Staff Monitoring: renders
src/App.tsx - Application Shell → Action Tracking: renders
src/App.tsx - Application Shell → Settings & Master Data: renders
src/App.tsx - Application Shell → Local Persistence & Backup: loads and saves
src/App.tsx - Daily Entry Matrix → Searchable Select: uses
src/components/DailyMatrix.tsx - Daily Entry Matrix → Duplicate Detection: renders
src/components/DailyMatrix.tsx - Daily Entry Matrix → Image Zoom: renders
src/components/DailyMatrix.tsx - EOD Records → Image Zoom: opens
src/components/EODRecordsTable.tsx - Management Overview → Risk & Trend Analytics: calculates metrics
src/components/Overview.tsx - Monthly Breakdown → Risk & Trend Analytics: uses analytics
src/components/MonthlyBreakdown.tsx - Staff Monitoring → Risk & Trend Analytics: uses analytics
src/components/StaffMonitoring.tsx - Management Overview → Branch Drilldown: opens
src/components/Overview.tsx - Daily Entry Matrix → Status Indicators: renders
src/components/DailyMatrix.tsx - Action Tracking → Status Indicators: renders
src/components/ActionTracker.tsx - Risk & Trend Analytics → Formatting Helpers: formats amounts
src/utils/analytics.ts - Settings & Master Data → Supabase Security View: renders
src/components/SettingsTab.tsx - Application Shell → Domain Types: uses domain types
src/App.tsx - Settings & Master Data → Supabase EOD Schema: security configuration
- Supabase Security View → Supabase EOD Schema: inspects security
- Admin EOD Void → Supabase EOD Schema: updates EOD data