How viniciuscasagrande-creator/financeiro_v1 works
Disk Ingressos is presented as a unified finance ERP/CRM with producer and finance/admin experiences, supported by a workflow-driven backend. Its documented capabilities include balances, statements, payout requests, advances, payment slips, approvals, sequential signatures, ledger, gateways, reconciliation, treasury, audit, and reports. The tree also contains substantial HR/timekeeping and standalone producer-account and payout modules, so these are shown as distinct product branches. Some relationships are documented or visible in imports; unsampled controller wiring and runtime integrations are intentionally not inferred.
Main entry points: workflow.engine.ts Finance Workflow · router.tsx Role Router · app.js Vanilla App Router · AuthContext.tsx Session & Roles
Components 28
Finance Portals
- Producer Portal
frontend/src/produtor - Finance Backoffice
frontend/src/financeiro - Session & Roles
frontend/src/auth/AuthContext.tsx - Role Router
frontend/src/app/router.tsx - HTTP Client
frontend/src/services/api.ts - Login Service
frontend/src/services/auth.service.ts
Finance Core
- Finance Workflow
backend/src/workflow/workflow.engine.ts - REST Application
backend/src/app.ts - Approvals
backend/src/aprovacoes/aprovacoes.controller.ts - Payouts & Advances
backend/src/repasses/repasses.controller.ts - Ledger
backend/src/ledger/ledger.controller.ts - Reconciliation
backend/src/conciliacao/conciliacao.controller.ts - Treasury Payments
backend/src/pagamentos/pagamentos.controller.ts - Audit & Reports
backend/src/auditoria/auditoria.controller.ts
HR Timekeeping
- HR Mobile App
mobile/disk-ponto/App.tsx - Timekeeping Screens
mobile/disk-ponto/src/screens/HomeScreen.tsx - HR Service
backend/src/rh/rh.service.ts - HR API
backend/src/rh/rh.controller.ts
Standalone Modules
- Producer Account UI
modules/conta-financeira-produtor/frontend/src/main.jsx - Producer Account API
modules/conta-financeira-produtor/backend/src/server.js - Account State Store
modules/conta-financeira-produtor/backend/src/store.js - Payout Homologation UI
modules/modulo-repasses-homologacao/frontend/src/main.jsx - Eligibility Rules
modules/modulo-repasses-homologacao/backend/src/domain/elegibilidade.js
Vanilla Runtime
- Vanilla App Router
js/app.js - Demo State
js/state.js - Demo Seed Data
js/mockData.js - Finance Views
js/views/disk
Other components
- Producer / Finance User
Connections 24
- Producer / Finance User → Session & Roles: selects profile
README.md - Session & Roles → Role Router: provides session
frontend/src/app/router.tsx - Role Router → Producer Portal: routes producer
frontend/src/app/router.tsx - Role Router → Finance Backoffice: routes finance
frontend/src/app/router.tsx - Login Service → HTTP Client: sends login
frontend/src/services/auth.service.ts - Producer / Finance User → Finance Workflow: requests operation
README.md - REST Application → Finance Workflow: registers workflow
backend/src/app.ts - Finance Workflow → Approvals: governs approval
- Finance Workflow → Payouts & Advances: governs requests
- Approvals → Finance Workflow: approves requests
- Payouts & Advances → Finance Workflow: submits requests
- Producer / Finance User → Ledger: reviews ledger
README.md - Producer / Finance User → Reconciliation: reconciles entries
README.md - Producer / Finance User → Treasury Payments: schedules payments
README.md - Producer / Finance User → Audit & Reports: reviews activity
README.md - HR Mobile App → Timekeeping Screens: renders screens
mobile/disk-ponto/App.tsx - HR API → HR Service: delegates HR operations
backend/src/rh/rh.controller.ts - Producer / Finance User → HR Mobile App: records time
README.md - Producer Account UI → Producer Account API: uses account service
- Producer Account API → Account State Store: reads state
modules/conta-financeira-produtor/backend/src/server.js - Payout Homologation UI → Eligibility Rules: checks eligibility
- Vanilla App Router → Finance Views: routes finance views
README.md - Vanilla App Router → Demo State: uses state
README.md - Demo State → Demo Seed Data: loads seed data
js/state.js