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;

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="03/01/2023 13:13:10" ReportInfo.Modified="03/28/2023 11:29:41" ReportInfo.CreatorVersion="2021.1.0.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="03/01/2023 13:13:10" ReportInfo.Modified="03/28/2023 12:56:03" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="durable_articles_three" ReferenceName="durable_articles_three" DataType="null" Enabled="true">
<Column Name="budget_year" DataType="System.String"/>
@@ -211,16 +211,9 @@
</DataBand>
</ReportPage>
<ReportPage Name="Page4" PaperWidth="240" Watermark.Font="Arial, 60pt">
<DataBand Name="Data8" Width="831.6" Height="207.9">
<DataBand Name="Data8" Width="831.6" Height="321.3">
<TextObject Name="Text2" Width="812.7" Height="28.35" Text="10. คุณลักษณะเฉพาะ (Specification)" Font="TH SarabunPSK, 16pt, style=Bold"/>
<TextObject Name="Text3" Top="28.35" Width="831.6" Height="179.55" Text="[durable_articles_three.specification]" AutoWidth="true" AutoShrink="FontSize" AutoShrinkMinSize="11" Font="TH SarabunPSK, 14pt">
<Formats>
<NumberFormat/>
<GeneralFormat/>
<GeneralFormat/>
<GeneralFormat/>
</Formats>
</TextObject>
<TextObject Name="Text3" Top="28.35" Width="831.6" Height="292.95" Text="[durable_articles_three.specification]" AutoWidth="true" AutoShrink="FontSize" AutoShrinkMinSize="11" Font="TH SarabunPSK, 14pt"/>
</DataBand>
</ReportPage>
<ReportPage Name="Page5" PaperWidth="240" Watermark.Font="Arial, 60pt">