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

This commit is contained in:
kamonwan taengsuk
2024-08-26 12:03:02 +07:00
parent 8f6a0b8c14
commit 8e90a5c766
15 changed files with 205 additions and 10 deletions

View File

@@ -2708,6 +2708,7 @@ namespace rmutr_report.Controllers
bool startNumbering3 = false;
bool startNumbering4 = false;
bool startNumbering5 = false;
var detail = budget.details;
foreach (var indetail in budget.details)
{
@@ -2876,7 +2877,18 @@ namespace rmutr_report.Controllers
var budgetExpenditure = new List<budget_expenditure_report_from_revenue_v2>() { budget };
Report report = new Report();
report.Load(_setting.report_path + "budget_expenditure_report_from_revenue_v2.frx");
foreach (var d in detail)
{
if (d.row<=110)
{
report.Load(_setting.report_path + "budget_expenditure_report_from_revenue_v2.frx");
}
if (d.row>110)
{
report.Load(_setting.report_path + "budget_expenditure_report_from_revenue_v3.frx");
}
}
// report.Load(_setting.report_path + "budget_expenditure_report_from_revenue_v2.frx");
report.RegisterData(budgetExpenditure, "budget_expenditure_report_from_revenue_v2");
report.Prepare();