feat: ajustar el manejo de meses en filtros y cálculos de balances para compatibilidad 0-indexada

This commit is contained in:
2026-10-19 10:18:26 -03:00
parent 215a5b28f4
commit 7a97e278a2
4 changed files with 12 additions and 4 deletions
@@ -149,7 +149,9 @@ export default function OrganizationCashFlowResume() {
cashFlowCalculateBalance({
companyId: id,
year: year,
month: month,
// TextMonth maneja meses 1-indexados (1 = enero); el storage de balances es
// 0-indexado (dayjs.month()), así que convertimos antes de enviar.
month: month - 1,
sessionUser: SessionInfo.userId,
})
.then(() => {