This commit is contained in:
kamonwan taengsuk
2023-03-28 12:56:32 +07:00
parent 9db5925f98
commit 34a9630493
2 changed files with 11 additions and 14 deletions

View File

@@ -153,12 +153,13 @@ namespace rmutr_report.Controllers
boqPrice.list = str.Insert(i, ",");
//boqPrice.list = str.Insert(i, ",");
}
for (int i = 6; i <= str.Length - 1; i += 8)
for (int i = 5; i <= str.Length - 1; i += 8)
{
boqPrice.list = str.Insert(i, ",");
//boqPrice.list = str.Insert(i, ",");
}
boqPrice.list.Replace("10000000", "10,000,000");
boqPrice.list.Replace("10000000.0000", "10,000,000");
}
}
@@ -202,12 +203,15 @@ namespace rmutr_report.Controllers
boqPrice.have = str.Insert(i, ",");
//boqPrice.have = str.Insert(i, ",");
}
for (int i = 6; i <= str.Length - 1; i += 8)
for (int i = 5; i <= str.Length - 1; i += 8)
{
boqPrice.have = str.Insert(i, ",");
//boqPrice.list = str.Insert(i, ",");
}
boqPrice.have.Replace("10000000", "10,000,000");
boqPrice.have.Replace("10000000.0000", "10,000,000");
}
boqPrice.text1 = "- มี วงเงิน "+ boqPrice.have + " บาท";
boqPrice.text2 = "- ดำเนินการจัดทำ BOQ เดือน "+ boqPrice.pending_boq_month;