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

This commit is contained in:
kamonwan taengsuk
2023-11-21 16:13:10 +07:00
parent f7cd049397
commit b2820e7ac7
29 changed files with 585 additions and 1535 deletions

View File

@@ -100,6 +100,8 @@ namespace rmutr_report.Controllers
if (project.sixteenths != null)
{
int t = 1;
string a = "กิจกรรมที่ ";
foreach (var sixteenthData in project.sixteenths)
{
var sum1 = sixteenthData.sixteenths2.Sum(d => d.salaya);
@@ -110,6 +112,8 @@ namespace rmutr_report.Controllers
sixteenthData.bophitphimuk_total = sum2;
sixteenthData.pohchang_total = sum3;
sixteenthData.klai_kangwon_total = sum4;
sixteenthData.activity_table = a + sixteenthData.activity_table;
t++;
}
}