@actual-app/api 26.1.0-nightly.20251209 → 26.1.0-nightly.20251210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/bundle.api.js +2 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/app/bundle.api.js
CHANGED
|
@@ -115921,7 +115921,8 @@ async function runSchedule(template_lines, current_month, balance, remainder, la
|
|
|
115921
115921
|
const totalPayMonthOf = getPayMonthOfTotal(t_payMonthOf);
|
|
115922
115922
|
const totalSinking = getSinkingTotal(t_sinking);
|
|
115923
115923
|
const totalSinkingBaseContribution = getSinkingBaseContributionTotal(t_sinking);
|
|
115924
|
-
|
|
115924
|
+
const lastMonthGoal = await getSheetValue(sheetForMonth(subMonths(current_month, 1)), `goal-${category.id}`);
|
|
115925
|
+
if (balance >= totalSinking + totalPayMonthOf || lastMonthGoal < totalSinking + totalPayMonthOf && lastMonthGoal !== 0 && balance >= lastMonthGoal) {
|
|
115925
115926
|
to_budget += Math.round(totalPayMonthOf + totalSinkingBaseContribution);
|
|
115926
115927
|
}
|
|
115927
115928
|
else {
|
package/dist/package.json
CHANGED