fix
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 27s
Docker Build & Deploy / Deploy to Production (push) Successful in 10s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 2s
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 27s
Docker Build & Deploy / Deploy to Production (push) Successful in 10s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 2s
This commit is contained in:
@@ -602,9 +602,9 @@ public class BudgetService(
|
||||
}
|
||||
description.Append($"<p>收入合计: <span class='income-value'><strong>{incomeLimitAtPeriod:N0}</strong></span></p>");
|
||||
|
||||
description.Append("<h3>不记额收入明细</h3>");
|
||||
if (noLimitIncomeItems.Count > 0)
|
||||
if (periodType == BudgetPeriodType.Year && noLimitIncomeItems.Count > 0)
|
||||
{
|
||||
description.Append("<h3>不记额收入明细</h3>");
|
||||
description.Append("""
|
||||
<table>
|
||||
<thead>
|
||||
@@ -625,8 +625,8 @@ public class BudgetService(
|
||||
""");
|
||||
}
|
||||
description.Append("</tbody></table>");
|
||||
}
|
||||
description.Append($"<p>不记额收入合计: <span class='income-value'><strong>{noLimitIncomeAtPeriod:N0}</strong></span></p>");
|
||||
}
|
||||
|
||||
description.Append("<h3>预算支出明细</h3>");
|
||||
if (expenseItems.Count == 0) description.Append("<p>无支出预算</p>");
|
||||
@@ -659,9 +659,8 @@ public class BudgetService(
|
||||
}
|
||||
description.Append($"<p>支出合计: <span class='expense-value'><strong>{expenseLimitAtPeriod:N0}</strong></span></p>");
|
||||
|
||||
if (noLimitExpenseItems.Count > 0)
|
||||
if (periodType == BudgetPeriodType.Year && noLimitExpenseItems.Count > 0)
|
||||
{
|
||||
|
||||
description.Append("<h3>不记额支出明细</h3>");
|
||||
description.Append("""
|
||||
<table>
|
||||
@@ -683,9 +682,8 @@ public class BudgetService(
|
||||
""");
|
||||
}
|
||||
description.Append("</tbody></table>");
|
||||
}
|
||||
|
||||
description.Append($"<p>不记额支出合计: <span class='expense-value'><strong>{noLimitExpenseAtPeriod:N0}</strong></span></p>");
|
||||
}
|
||||
|
||||
description.Append("<h3>存款计划结论</h3>");
|
||||
// 修改计算公式:包含不记额收入和支出
|
||||
|
||||
Reference in New Issue
Block a user