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

This commit is contained in:
kamonwan taengsuk
2023-08-28 13:39:19 +07:00
parent 64e2a64c79
commit 036f9476e0
8 changed files with 168 additions and 164 deletions

View File

@@ -59,18 +59,20 @@ namespace rmutr_report.Controllers
}
// project.count_activity = total2;
foreach (var v in project.eighteenth)
if (project.eighteenth != null)
{
foreach (var vv in v.eighteenths)
foreach (var v in project.eighteenth)
{
string na = "ครั้งที่ ";
vv.the_time = na + vv.the_time;
string na2 = " จำนวน ";
vv.count_day = na2 + vv.count_day + " วัน";
if (project.count_day != null)
foreach (var vv in v.eighteenths)
{
project.text3 = "จำนวน " + project.count_day + " วัน";
string na = "ครั้งที่ ";
vv.the_time = na + vv.the_time;
string na2 = " จำนวน ";
vv.count_day = na2 + vv.count_day + " วัน";
if (project.count_day != null)
{
project.text3 = "จำนวน " + project.count_day + " วัน";
}
}
}
}
@@ -234,18 +236,20 @@ namespace rmutr_report.Controllers
}
// project.count_activity = total2;
foreach (var v in project.eighteenth)
if (project.eighteenth != null)
{
foreach (var vv in v.eighteenths)
foreach (var v in project.eighteenth)
{
string na = "ครั้งที่ ";
vv.the_time = na + vv.the_time;
string na2 = " จำนวน ";
vv.count_day = na2 + vv.count_day + " วัน";
if (project.count_day != null)
foreach (var vv in v.eighteenths)
{
project.text3 = "จำนวน " + project.count_day + " วัน";
string na = "ครั้งที่ ";
vv.the_time = na + vv.the_time;
string na2 = " จำนวน ";
vv.count_day = na2 + vv.count_day + " วัน";
if (project.count_day != null)
{
project.text3 = "จำนวน " + project.count_day + " วัน";
}
}
}
}