feat(finance360): add Financeiro 360 ledger, reconciliation, cash flow, DRE, audit, admin UI and mobile contracts - #239
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
Backend/Presentation/BarberSync.Api/Controllers/Finance360Controllers.csand mobile endpoints under/api/mobile/finance360.Backend/Presentation/BarberSync.Api/Services/Finance360/includingFinancialPostingService,AccountsReceivableService,AccountsPayableService,ReconciliationService,CashFlowService,DreServiceandFinanceAuditService, plus DTOs inFinance360Models.cs.ScriptsSQL/script_completo.sqlandScriptsSQL/production_readiness_seed.sqlfor finance tables (accounts/categories/cost-centers/receivables/payables/postings/reconciliations/cash-flow/DRE/audit/delinquency) with idempotent CREATE/INDEX/ON CONFLICT rules.Web/BarberSync.AdminWeb/Views/Finance360,wwwroot/js/finance360.jsandwwwroot/css/finance360.css, plus a menu item in the sidebar.Program.cs; updated mobile client contracts inMobileApp/src/services/api.jsand smoke tests to include Financeiro 360.scripts/validate-ui-contracts.*andscripts/validate-source-integrity.*to assert no visible technical ID fields in Finance360 forms and to detect fake financial outcomes or use of binary floats in the new finance code.Testing
./scripts/validate-readiness-contracts.sh,./scripts/validate-ui-contracts.sh, and./scripts/validate-source-integrity.sh, all of which completed successfully and emittedEVIDENCE:UI_CONTRACTS_STATIC:PASSandEVIDENCE:SOURCE_INTEGRITY_STATIC:PASS.node --checkacross Web/Mobile/Totem JS files,npm test --prefix MobileAppandnpm test --prefix Totem, and Totem build succeeded; Mobile and Totem smoke tests passed and reportedFINANCE360_MOBILE_CONTRACTS_OK.dotnetbuilds/tests were not executed in this environment becausedotnetwas not available.Codex Task