Commit Graph

88 Commits

Author SHA1 Message Date
Sidney ef3dc2c549 fix: add logo rendering in wa receipt pdf & sync portal dashboard financial totals with late fee simulation
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m0s Details
2026-06-10 09:48:52 -03:00
Sidney 3cb3d599b5 fix: align overdue interest, fine and discount expiration calculations with Asaas rules
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m5s Details
2026-06-10 09:30:40 -03:00
Sidney be7ce85a2f fix(financeiro): sincroniza calculo de juros com as configuracoes do curso do aluno
Build and Deploy (Gitea) / build-and-deploy (push) Failing after 0s Details
2026-06-07 16:37:01 -03:00
Sidney 7baafee2b1 feat(financeiro): adiciona calculo dinamico local de juros e multas para exibir em tempo real
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m11s Details
2026-06-07 16:30:18 -03:00
Sidney 7951787b16 fix: resolve ambiguous order by vencimento error in portal financial and boletos endpoints
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m2s Details
2026-05-31 18:07:07 -03:00
Sidney 438c175246 debug: add database telemetry to portal finance endpoint
Build and Deploy (Gitea) / build-and-deploy (push) Has been cancelled Details
2026-05-31 18:05:37 -03:00
Sidney f2b8d59aa6 feat: complete sql sovereignty migration of manager, portal, and whatsapp dispatch services
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m1s Details
2026-05-31 17:51:31 -03:00
Sidney 6530a81ef6 fix(attendance/enrollment): resolve attendance shifts rendering presences as absences and finalize dynamic pre-matricula forms
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m18s Details
2026-05-30 22:00:27 -03:00
Sidney 1d56f91d5a fix(attendance): corrige timezone shift (Rule 25), priorizacao de justificativas sobre faltas vazias e resolve duplicatas no toggle do manager
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m10s Details
2026-05-30 21:17:43 -03:00
Sidney f10f213b9e feat: optimize pre-enrollment dynamic banners, field uploads and phone masks
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m8s Details
2026-05-29 19:43:21 -03:00
Sidney bd4a2ca0bb feat: fix evaluation maxScore persistence, circular branding, PWA installation and implement new summing/averaging grading logic
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m5s Details
2026-05-29 19:00:03 -03:00
Sidney 81ba8b1919 feat: add student sexo field and update detailed dashboard
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m18s Details
2026-05-27 11:37:26 -03:00
Sidney 4a922f43ec feat: enforce single attendance justification, automatic contract registration in SQL, default contract checks and class frequency PDF report
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m17s Details
2026-05-26 21:23:58 -03:00
Sidney 1dc753c9c9 feat: Contratos 100% SQL-First + cache-buster em todos os módulos + persistência de aba ativa no F5 2026-05-26 08:42:13 -03:00
Sidney 27364ca495 fix(portal): handle iso strings correctly in formatDate for birthDate rendering 2026-05-25 14:27:58 -03:00
Sidney bb4fbe6ebb fix(portal): complete camelCase mapping for student profile data 2026-05-25 11:21:54 -03:00
Sidney c5d2979b60 fix(frequencias): apply TO_CHAR for sql date formatting to prevent timezone shifts matching bugs 2026-05-25 09:03:54 -03:00
Sidney 3fe0d964a5 fix(attendance): complete SQL-First migration for frequencias and fix portal justification logic 2026-05-25 08:12:08 -03:00
Sidney 65119df2f2 feat: Migração SQL-First para Aulas e Contratos 2026-05-24 19:20:17 -03:00
Sidney 9fe6882174 fix(attendance): resolve biometric presence showing as absence, fix timezone offset in processAutoAbsences, deduplicate auto-generated absences, prioritize presence in frontend matching, and sync aula_id 2026-05-23 16:20:39 -03:00
Sidney 024ef1f088 feat(finance): configure global numeric parser and await SQL update in handleEditSave 2026-05-21 09:07:37 -03:00
Sidney 27fcbada35 feat(finance): migrate manually created payments to sql-first architecture with local_id support 2026-05-21 08:32:22 -03:00
Sidney ed52d6a2fa feat: implement robust valor_pago architecture and financial sync hardening for Portal and Manager 2026-05-15 09:49:07 -03:00
Sidney f6022fd0fc feat(finance): add valor_pago column and implement robust gross/net separation logic 2026-05-15 08:55:02 -03:00
Sidney 8a42db3e58 fix(finance): implement gross amount recovery and protection against net value overwrites in portal and manager 2026-05-15 08:33:59 -03:00
Sidney cf1ad968ca Fix: restore and force amount recovery bugfix to run even for JSON values, preventing the Portal UI from double-discounting corrupted historical payments 2026-05-15 08:16:20 -03:00
Sidney 55c0a06a93 Fix: ensure Portal finance API prioritizes JSON amount/discount to strictly match Manager UI logic; Update GEMINI.md and MEMORY.md to enforce server.js obsolescence 2026-05-15 08:04:03 -03:00
Sidney c150c70472 Docs: mark original server.js files as obsolete in manager and portal 2026-05-15 07:56:44 -03:00
Sidney 8d29449666 Fix: synchronize server.js portal logic with server.selfhosted.js to include db.amount_original and db.discount in double discount recovery 2026-05-15 07:49:53 -03:00
Sidney e7ded2df80 Fix: cast json amount to Number in portal logic to ensure strict equality comparison works for recovering corrupted double discount 2026-05-14 22:11:26 -03:00
Sidney 58182ff53c Fix: preserve gross amount in webhook and reconstruct it in portal to fix double discount on paid items 2026-05-14 22:03:18 -03:00
Sidney 7bada2a4e7 Fix: use SELECT * in Portal financial query to prevent column-not-found crash before Phase 1 migration runs 2026-05-14 21:54:48 -03:00
Sidney b440023add Phase 1: Add rich columns to alunos_cobrancas and migrate JSON metadata to SQL on boot 2026-05-14 21:38:02 -03:00
Sidney 00351031d1 Fix: double discount, dynamic column header, receipt link, remaining installments card 2026-05-14 21:19:47 -03:00
Sidney c2efa1729f Fix: use PostgreSQL as primary source for Portal financial data (SQL-First) to show paid installments 2026-05-14 16:39:12 -03:00
Sidney 66139bff0d Fix: implement hybrid finance logic (JSON + SQL) to ensure paid installments visibility 2026-05-14 16:09:04 -03:00
Sidney 8a444fa660 Revert: restore Financeiro.tsx to original state before column changes 2026-05-14 15:57:06 -03:00
Sidney 044d846f7d Fix: use school_data (JSON) as the single source of truth for financial values 2026-05-14 15:48:57 -03:00
Sidney 13b4da1cf7 Fix: expand payment status normalization for better filtering 2026-05-14 15:41:46 -03:00
Sidney 1ed6a1bc55 Fix: resolve build error caused by syntax glitch in Financeiro.tsx 2026-05-14 15:23:09 -03:00
Sidney 5bc102dbc9 Fix: ensure financial values are visible and robust in Portal 2026-05-14 14:40:13 -03:00
Sidney e5e3c5e751 Fix: improve financial visibility with dynamic headers and paid labels in Portal 2026-05-14 14:21:21 -03:00
Sidney c55ec728e1 Fix: unify frequency percentage logic (Total Course Denominator) on Dashboard and Frequency pages 2026-05-14 14:16:40 -03:00
Sidney 4c72a9e20d Fix: synchronize Dashboard frequency calculation with Frequency page 2026-05-14 14:10:05 -03:00
Sidney f1f1c0e84a Fix: frequency visibility and justification submission tracking in Portal 2026-05-14 13:34:17 -03:00
Sidney bfb2bc12db fix: strict attendance window and immediate cloud sync across manager and portal 2026-05-11 22:19:08 -03:00
Sidney a1b5075e41 fix: biometric attendance timezone shift and mandatory lesson binding 2026-05-11 21:43:31 -03:00
Sidney 4970f17d07 fix: remove syntax error (TS in JS) in portal backend 2026-05-11 20:09:02 -03:00
Sidney e58b38f010 fix: restaura importações vitais e estabiliza lógica de datas 2026-05-11 19:59:02 -03:00
Sidney 4c8ce88ca1 feat: central de notificações profissionais (financeiro e acadêmico) e estabilização de frequência 2026-05-11 19:48:43 -03:00