Update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kamonwan taengsuk
2024-08-20 19:01:05 +07:00
parent be50663796
commit 28053412e7
18 changed files with 67 additions and 11 deletions

View File

@@ -2848,7 +2848,10 @@ namespace rmutr_report.Controllers
}
}
budget.total = budget.details.Where(f=>f.topic_type==1).Sum(d => d.value1);
var sum1 = budget.details.Where(f=>f.topic_type==1).Sum(d => d.value1);
var sum2 = budget.details.Where(f=>f.topic_type==2).Sum(d => d.value2);
budget.total = sum1+sum2;
var budgetExpenditure = new List<budget_expenditure_report_from_revenue_v2>() { budget };
Report report = new Report();