fixed
This commit is contained in:
@@ -148,15 +148,12 @@ namespace rmutr_report.Controllers
|
|||||||
}
|
}
|
||||||
else if (str.Length == 8)
|
else if (str.Length == 8)
|
||||||
{
|
{
|
||||||
for (int i = 5; i <= str.Length - 1; i += 8)
|
|
||||||
{
|
|
||||||
boqPrice.list = str.Insert(i, ",");
|
|
||||||
}
|
|
||||||
|
|
||||||
for (int i = 3; i <= str.Length - 1; i += 8)
|
for (int i = 3; i <= str.Length - 1; i += 8)
|
||||||
{
|
{
|
||||||
boqPrice.list = str.Insert(i, ",");
|
boqPrice.list = str.Insert(i, ",");
|
||||||
|
boqPrice.list = str.Insert(i, ",");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -195,14 +192,12 @@ namespace rmutr_report.Controllers
|
|||||||
}
|
}
|
||||||
else if (str.Length == 8)
|
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)
|
for (int i = 3; i <= str.Length - 1; i += 8)
|
||||||
{
|
{
|
||||||
boqPrice.have = str.Insert(i, ",");
|
boqPrice.have = str.Insert(i, ",");
|
||||||
|
boqPrice.have = str.Insert(i, ",");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
boqPrice.text1 = "- มี วงเงิน "+ boqPrice.have + " บาท";
|
boqPrice.text1 = "- มี วงเงิน "+ boqPrice.have + " บาท";
|
||||||
boqPrice.text2 = "- ดำเนินการจัดทำ BOQ เดือน "+ boqPrice.pending_boq_month;
|
boqPrice.text2 = "- ดำเนินการจัดทำ BOQ เดือน "+ boqPrice.pending_boq_month;
|
||||||
|
|||||||
Reference in New Issue
Block a user