How tigerfox1974/ktpgv works
KTPGV is an institutional revenue and operations management web application. Its central workflow records payment evidence, reviews and verifies the dekont, creates a revenue-bent record and receipt, then supports related planning and reporting. The graph also preserves the documented E-bent credit and blasting stages, agenda, administration, and audit/reporting capabilities. Sampled excerpts show app routing, shared state, OCR, and persistence boundaries; some capability links rely on README statements because their page implementations were not sampled.
Main entry points: KayitDetay.tsx Transaction detail · YeniIslem.tsx New transaction · App.tsx App router · DekontBolumu.tsx Payment evidence
Components 23
Application and access
- App router
src/App.tsx - Access control
src/components/common/YetkiKapisi.tsx - App state
src/contexts/AppContext.tsx - Authentication
src/services/auth/index.ts - Repository layer
src/services/repository/SupabaseKtpgvRepository.ts
Revenue and documents
- New transaction
src/pages/YeniIslem.tsx - Bent fields
src/components/islem/BentAlanlari.tsx - Fee calculation
src/utils/hesaplama.ts - Payment evidence
src/components/islem/DekontBolumu.tsx - Dekont OCR
src/utils/dekontOcr.ts - Document review
src/components/islem/dekont-inceleme/DekontIncelemeCalismaAlani.tsx - Transaction detail
src/pages/KayitDetay.tsx - Receipt generation
src/components/islem/MakbuzModal.tsx - Dekont storage
src/services/storage/dekontStorage.ts
Operations and credits
- Agenda planning
src/pages/Ajanda.tsx - Blasting schedule
src/pages/PatlatmaTakvimi.tsx - Credit accounting
src/utils/krediYukleme.ts - Credit movements
src/pages/KrediHareketleri.tsx
Administration and oversight
- Reports and archive
src/pages/Raporlar.tsx - Audit log
src/pages/AuditLog.tsx - User and unit admin
src/pages/KullaniciYonetimi.tsx
Other components
- Staff user
- Supabase
Connections 26
- Staff user → App router: uses
- App router → App state: provides state
src/App.tsx - App router → Access control: guards routes
src/App.tsx - App router → New transaction: routes to
src/App.tsx - App state → Authentication: loads session
src/contexts/AppContext.tsx - App state → Repository layer: calls data layer
src/contexts/AppContext.tsx - Staff user → New transaction: submits payment
- New transaction → Bent fields: renders fields
src/pages/YeniIslem.tsx - New transaction → Fee calculation: calculates amount
src/pages/YeniIslem.tsx - New transaction → Payment evidence: collects evidence
src/pages/YeniIslem.tsx - Payment evidence → Dekont OCR: reads document
src/components/islem/DekontBolumu.tsx - Payment evidence → Document review: opens review
src/components/islem/DekontBolumu.tsx - Payment evidence → Dekont storage: stores file
- Staff user → Document review: verifies evidence
- Document review → Transaction detail: enables transaction
- Transaction detail → Receipt generation: produces receipt
src/pages/KayitDetay.tsx - Transaction detail → Agenda planning: supports planning
- Agenda planning → Blasting schedule: plans blasting
- Blasting schedule → Credit accounting: records usage
- Staff user → Credit movements: reviews balances
- Credit movements → Credit accounting: summarizes credits
- Transaction detail → Reports and archive: feeds reports
- Transaction detail → Audit log: audits activity
- Staff user → User and unit admin: manages access
- Repository layer → Supabase: persists records
src/services/repository/SupabaseKtpgvRepository.ts - Dekont storage → Supabase: uploads files
src/services/storage/dekontStorage.ts