This commit is contained in:
kamonwan taengsuk
2023-08-03 15:12:27 +07:00
parent 63190b8aa3
commit c29fcdf33a
7 changed files with 12 additions and 27 deletions

View File

@@ -2774,6 +2774,13 @@ namespace rmutr_report.Controllers
[FromBody] summary_subsidy_projects budget)
{
int row = 1;
string myStr = budget.budget_project_name_th;
string[] projectname = myStr.Split("ผลผลิต ");
foreach (string projectnames in projectname)
{
budget.budget_project_name_th2 = projectnames;
}
foreach (var detail in budget.data)
{
if (detail.topic_type == 3)
@@ -2785,7 +2792,7 @@ namespace rmutr_report.Controllers
{
detail.row_no = null;
}
}
}
var summaryBudget = new List<summary_subsidy_projects>() { budget };