This commit is contained in:
kamonwan taengsuk
2023-03-28 11:59:22 +07:00
parent 62129e4617
commit 9c4020c5fc
2 changed files with 12 additions and 1 deletions

View File

@@ -148,6 +148,17 @@ namespace rmutr_report.Controllers
boqPrice.have = str.Insert(i, ",");
}
}
else if (str.Length == 8)
{
for (int i = 5; i <= str.Length - 1; i += 8)
{
boqPrice.have = str.Insert(i, ",");
}
for (int i = 3; i <= str.Length - 1; i += 8)
{
boqPrice.have = str.Insert(i, ",");
}
}
boqPrice.text1 = "- มี วงเงิน "+ boqPrice.have + " บาท";
boqPrice.text2 = "- ดำเนินการจัดทำ BOQ เดือน "+ boqPrice.pending_boq_month;
boqPrice.text3 = "- BOQ แล้วเสร็จเดือน "+ boqPrice.done_boq_month;