fixed
This commit is contained in:
@@ -146,8 +146,10 @@ namespace rmutr_report.Controllers
|
||||
boqPrice.list = str.Insert(i, ",");
|
||||
}
|
||||
}
|
||||
// else if (str.Length == 8)
|
||||
// {
|
||||
else if (str.Length == 8)
|
||||
{
|
||||
boqPrice.list.Replace("10000000", "10,000,000");
|
||||
boqPrice.list.Replace("10000000.0000", "10,000,000");
|
||||
// for (int i = 3; i <= str.Length - 1; i += 8)
|
||||
// {
|
||||
// boqPrice.list = str.Insert(i, ",");
|
||||
@@ -160,9 +162,8 @@ namespace rmutr_report.Controllers
|
||||
// }
|
||||
// boqPrice.list.Replace("10000000", "10,000,000");
|
||||
// boqPrice.list.Replace("10000000.0000", "10,000,000");
|
||||
// }
|
||||
boqPrice.list.Replace("10000000", "10,000,000");
|
||||
boqPrice.list.Replace("10000000.0000", "10,000,000");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
foreach (var boqPrice in building_fours.boq)
|
||||
@@ -198,8 +199,10 @@ namespace rmutr_report.Controllers
|
||||
boqPrice.have = str.Insert(i, ",");
|
||||
}
|
||||
}
|
||||
// else if (str.Length == 8)
|
||||
// {
|
||||
else if (str.Length == 8)
|
||||
{
|
||||
boqPrice.have.Replace("10000000", "10,000,000");
|
||||
boqPrice.have.Replace("10000000.0000", "10,000,000");
|
||||
// for (int i = 3; i <= str.Length - 1; i += 8)
|
||||
// {
|
||||
// boqPrice.have = str.Insert(i, ",");
|
||||
@@ -214,9 +217,8 @@ namespace rmutr_report.Controllers
|
||||
// boqPrice.have.Replace("10000000", "10,000,000");
|
||||
// boqPrice.have.Replace("10000000.0000", "10,000,000");
|
||||
//
|
||||
// }
|
||||
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;
|
||||
boqPrice.text3 = "- BOQ แล้วเสร็จเดือน "+ boqPrice.done_boq_month;
|
||||
|
||||
Reference in New Issue
Block a user