This commit is contained in:
kamonwan taengsuk
2023-03-28 14:16:27 +07:00
parent b867af4fb4
commit 0c4712eaba
3 changed files with 24 additions and 2 deletions

View File

@@ -166,6 +166,11 @@ namespace rmutr_report.Controllers
//boqPrice.list = str.Insert(i, ",");
}
}
if (boqPrice.list == "10000000")
{
boqPrice.list = "10,000,000";
}
}
foreach (var boqPrice in building_fours.boq)
@@ -225,7 +230,10 @@ namespace rmutr_report.Controllers
// boqPrice.have.Replace("10000000.0000", "10,000,000");
//
}
if (boqPrice.have == "10000000")
{
boqPrice.have = "10,000,000";
}
boqPrice.text1 = "- มี วงเงิน " + boqPrice.have + " บาท";
boqPrice.text2 = "- ดำเนินการจัดทำ BOQ เดือน " + boqPrice.pending_boq_month;
boqPrice.text3 = "- BOQ แล้วเสร็จเดือน " + boqPrice.done_boq_month;

View File

@@ -112,6 +112,14 @@ namespace rmutr_report.Models
public string list { get; set;}
public string quantity { get; set;}
public string attribute { get; set;}
public List<specification_data_details2> data_detail2 { get; set; }
}
public class specification_data_details2
{
public string attribute { get; set;}
}
public class budget_spending_plans

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 13:43:26" ReportInfo.CreatorVersion="2021.1.0.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="03/01/2023 13:13:10" ReportInfo.Modified="03/28/2023 14:15:06" 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"/>
@@ -65,6 +65,9 @@
<Column Name="list" DataType="System.String"/>
<Column Name="quantity" DataType="System.String"/>
<Column Name="attribute" DataType="System.String"/>
<BusinessObjectDataSource Name="data_detail2" DataType="null" Enabled="true">
<Column Name="attribute" DataType="System.String"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
<BusinessObjectDataSource Name="budget_spending_plan" DataType="null" Enabled="true">
@@ -252,6 +255,9 @@
<TextObject Name="Text110" Top="28.35" Width="812.7" Height="28.35" Text="[durable_articles_three.specification_data.data_detail.quantity]" Font="TH Sarabun New, 16pt"/>
<DataBand Name="Data23" Top="298.31" Width="831.6" Height="47.25" DataSource="data_detail">
<TextObject Name="Text111" Left="18.9" Width="812.7" Height="47.25" Text="[durable_articles_three.specification_data.data_detail.attribute]" AutoWidth="true" AutoShrink="FontSize" AutoShrinkMinSize="11" Font="TH Sarabun New, 14pt"/>
<DataBand Name="Data20" Top="350.5" Width="831.6" Height="47.25" DataSource="data_detail2">
<TextObject Name="Text135" Left="37.8" Width="812.7" Height="47.25" Text="[durable_articles_three.specification_data.data_detail.data_detail2.attribute]" AutoWidth="true" AutoShrink="FontSize" AutoShrinkMinSize="11" Font="TH Sarabun New, 14pt"/>
</DataBand>
</DataBand>
</DataBand>
</DataBand>