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;

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="03/02/2023 21:57:02" ReportInfo.Modified="03/28/2023 11:46:36" ReportInfo.CreatorVersion="2021.1.0.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="03/02/2023 21:57:02" ReportInfo.Modified="03/28/2023 11:58:20" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="building_four" ReferenceName="building_four" DataType="System.Int32" Enabled="true">
<Column Name="agency_faculty" DataType="System.String"/>