This commit is contained in:
kamonwan taengsuk
2023-03-28 13:45:21 +07:00
parent 804ce54c35
commit b867af4fb4
4 changed files with 157 additions and 110 deletions

View File

@@ -53,7 +53,6 @@ namespace rmutr_report.Controllers
.Sum(o => o.year5); .Sum(o => o.year5);
building_fours.sum_year6 = a6; building_fours.sum_year6 = a6;
} }
} }
// foreach (var bb in building_fours.material_construction_labor1) // foreach (var bb in building_fours.material_construction_labor1)
@@ -87,33 +86,34 @@ namespace rmutr_report.Controllers
// } // }
// } // }
foreach (var cc in building_fours.budget_limit) foreach (var cc in building_fours.budget_limit)
{
if (cc != null)
{ {
if (cc != null) var a = building_fours.budget_limit.Where(d => d.amount == d.amount)
.Sum(o => o.amount);
building_fours.amount = a;
if (cc.outside_amount != null)
{ {
var a = building_fours.budget_limit.Where(d => d.amount == d.amount) var b = building_fours.budget_limit.Where(d => d.outside_amount == d.outside_amount)
.Sum(o => o.amount); .Sum(o => o.outside_amount);
building_fours.amount = a; building_fours.outside_amount = b;
if (cc.outside_amount != null)
{
var b = building_fours.budget_limit.Where(d => d.outside_amount == d.outside_amount)
.Sum(o => o.outside_amount);
building_fours.outside_amount = b;
}
if (cc.outside_amount == null)
{
building_fours.outside_amount = null;
}
if (cc.amount != null && cc.outside_amount != null)
{
cc.total_amount = cc.amount + cc.outside_amount;
}
var c = building_fours.budget_limit.Where(d => d.total_amount == d.total_amount)
.Sum(o => o.total_amount);
building_fours.total_amount = c;
} }
if (cc.outside_amount == null)
{
building_fours.outside_amount = null;
}
if (cc.amount != null && cc.outside_amount != null)
{
cc.total_amount = cc.amount + cc.outside_amount;
}
var c = building_fours.budget_limit.Where(d => d.total_amount == d.total_amount)
.Sum(o => o.total_amount);
building_fours.total_amount = c;
} }
}
foreach (var boqPrice in building_fours.basic_information) foreach (var boqPrice in building_fours.basic_information)
{ {
@@ -141,29 +141,31 @@ namespace rmutr_report.Controllers
} }
else if (str.Length == 7) else if (str.Length == 7)
{ {
for (int i = 1; i <= str.Length - 1; i += 7)
{
boqPrice.list = str.Insert(i, ",");
}
for (int i = 4; i <= str.Length - 1; i += 7) for (int i = 4; i <= str.Length - 1; i += 7)
{ {
boqPrice.list = str.Insert(i, ","); 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", "10,000,000");
boqPrice.list.Replace("10000000.0000", "10,000,000"); // boqPrice.list.Replace("10000000.0000", "10,000,000");
// for (int i = 3; i <= str.Length - 1; i += 8) for (int i = 2; i <= str.Length - 1; i += 8)
// { {
// boqPrice.list = str.Insert(i, ","); boqPrice.list = str.Insert(i, ",");
// //boqPrice.list = str.Insert(i, ","); //boqPrice.list = str.Insert(i, ",");
// } }
// 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");
}
for (int i = 5; i <= str.Length - 1; i += 8)
{
boqPrice.list = str.Insert(i, ",");
//boqPrice.list = str.Insert(i, ",");
}
}
} }
foreach (var boqPrice in building_fours.boq) foreach (var boqPrice in building_fours.boq)
@@ -194,6 +196,10 @@ namespace rmutr_report.Controllers
} }
else if (str.Length == 7) else if (str.Length == 7)
{ {
for (int i = 1; i <= str.Length - 1; i += 7)
{
boqPrice.have = str.Insert(i, ",");
}
for (int i = 4; i <= str.Length - 1; i += 7) for (int i = 4; i <= str.Length - 1; i += 7)
{ {
boqPrice.have = str.Insert(i, ","); boqPrice.have = str.Insert(i, ",");
@@ -201,43 +207,43 @@ namespace rmutr_report.Controllers
} }
else if (str.Length == 8) else if (str.Length == 8)
{ {
boqPrice.have.Replace("10000000", "10,000,000"); // boqPrice.have.Replace("10000000", "10,000,000");
boqPrice.have.Replace("10000000.0000", "10,000,000"); // boqPrice.have.Replace("10000000.0000", "10,000,000");
// for (int i = 3; i <= str.Length - 1; i += 8) for (int i = 2; i <= str.Length - 1; i += 8)
// { {
// boqPrice.have = str.Insert(i, ","); boqPrice.have = str.Insert(i, ",");
// //boqPrice.have = str.Insert(i, ","); //boqPrice.have = str.Insert(i, ",");
// } }
// 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 + " บาท"; for (int i = 5; i <= str.Length - 1; i += 8)
boqPrice.text2 = "- ดำเนินการจัดทำ BOQ เดือน "+ boqPrice.pending_boq_month; {
boqPrice.text3 = "- BOQ แล้วเสร็จเดือน "+ boqPrice.done_boq_month; boqPrice.have = str.Insert(i, ",");
boqPrice.text4 = "- ขออนุมัติ BOQ เดือน "+ boqPrice.approval_month; //boqPrice.list = str.Insert(i, ",");
boqPrice.text5 = "- ทำสัญญาก่อสร้าง เดือน "+ boqPrice.construction_contract_month; }
//
// 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;
boqPrice.text4 = "- ขออนุมัติ BOQ เดือน " + boqPrice.approval_month;
boqPrice.text5 = "- ทำสัญญาก่อสร้าง เดือน " + boqPrice.construction_contract_month;
} }
if (boqPrice.is_data == "2") if (boqPrice.is_data == "2")
{ {
boqPrice.text1 = "- ไม่มี"; boqPrice.text1 = "- ไม่มี";
boqPrice.text2 = "- กรณีไม่มีคาดว่าจะแล้วเสร็จ เดือน "+ boqPrice.months + " ปี "+ boqPrice.text2 = "- กรณีไม่มีคาดว่าจะแล้วเสร็จ เดือน " + boqPrice.months + " ปี " +
boqPrice.years; boqPrice.years;
boqPrice.text3 = "- ขณะนี้อยูในขั้นตอน "+ boqPrice.step; boqPrice.text3 = "- ขณะนี้อยูในขั้นตอน " + boqPrice.step;
} }
} }
var _building_fours = new List<building_four>() {building_fours}; var _building_fours = new List<building_four>() { building_fours };
Report report = new Report(); Report report = new Report();
report.Load(_setting.report_path + "building_fours.frx"); report.Load(_setting.report_path + "building_fours.frx");
@@ -274,7 +280,8 @@ namespace rmutr_report.Controllers
stream.Seek(0, SeekOrigin.Begin); stream.Seek(0, SeekOrigin.Begin);
return File(stream, "text/csv"); return File(stream, "text/csv");
break; break;
case "doc" : case "docx": case "doc":
case "docx":
Word2007Export word = new Word2007Export(); Word2007Export word = new Word2007Export();
report.Export(word, stream); report.Export(word, stream);
stream.Seek(0, SeekOrigin.Begin); stream.Seek(0, SeekOrigin.Begin);
@@ -518,6 +525,5 @@ namespace rmutr_report.Controllers
// } // }
// } // }
// } // }
} }
} }

View File

@@ -41,11 +41,11 @@ namespace rmutr_report.Models
// public string image_description1 { get; set; } // public string image_description1 { get; set; }
// public string image_description2 { get; set; } // public string image_description2 { get; set; }
public List<descript_more> descript_more { get; set; } public List<descript_more> descript_more { get; set; }
//public List<specification_datas> specification_data { get; set; } public List<specification_datas> specification_data { get; set; }
public string specification { get; set; } public string specification { get; set; }
// public string quantity_specification { get; set; } public string quantity_specification { get; set; }
// public decimal? unit_price_specification { get; set; } public decimal? unit_price_specification { get; set; }
// public decimal? amount_specification { get; set; } public decimal? amount_specification { get; set; }
public List<budget_spending_plans> budget_spending_plan {get; set; } public List<budget_spending_plans> budget_spending_plan {get; set; }
public string procurement_process { get; set; } public string procurement_process { get; set; }
public string incurring_debt { get; set; } public string incurring_debt { get; set; }
@@ -98,21 +98,21 @@ namespace rmutr_report.Models
public string remark { get; set; } public string remark { get; set; }
} }
// public class specification_datas public class specification_datas
// { {
// public string specification { get; set; } public string specification { get; set; }
// public string quantity { get; set; } public string quantity { get; set; }
// public decimal? unit_price { get; set; } public decimal? unit_price { get; set; }
// public decimal? amount { get; set; } public decimal? amount { get; set; }
// public List<specification_data_details> data_detail { get; set; } public List<specification_data_details> data_detail { get; set; }
// } }
//
// public class specification_data_details public class specification_data_details
// { {
// public string list { get; set;} public string list { get; set;}
// public string quantity { get; set;} public string quantity { get; set;}
// public string attribute { get; set;} public string attribute { get; set;}
// } }
public class budget_spending_plans public class budget_spending_plans
{ {

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<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"> <Report ScriptLanguage="CSharp" ReportInfo.Created="03/02/2023 21:57:02" ReportInfo.Modified="03/28/2023 13:39:51" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary> <Dictionary>
<BusinessObjectDataSource Name="building_four" ReferenceName="building_four" DataType="System.Int32" Enabled="true"> <BusinessObjectDataSource Name="building_four" ReferenceName="building_four" DataType="System.Int32" Enabled="true">
<Column Name="agency_faculty" DataType="System.String"/> <Column Name="agency_faculty" DataType="System.String"/>
@@ -360,7 +360,7 @@
<TextObject Name="Text85" Left="47.25" Top="28.35" Width="670.95" Height="28.35" Text="เริ่มต้นปี [building_four.start_date] สิ้นสุดปี [building_four.end_date] รวม [building_four.total_day] วัน" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text85" Left="47.25" Top="28.35" Width="670.95" Height="28.35" Text="เริ่มต้นปี [building_four.start_date] สิ้นสุดปี [building_four.end_date] รวม [building_four.total_day] วัน" Font="TH SarabunPSK, 16pt"/>
<TextObject Name="Text86" Top="66.15" Width="718.2" Height="28.35" Text="8. ข้อมูลเบื้องต้น" Font="TH SarabunPSK, 16pt, style=Bold"/> <TextObject Name="Text86" Top="66.15" Width="718.2" Height="28.35" Text="8. ข้อมูลเบื้องต้น" Font="TH SarabunPSK, 16pt, style=Bold"/>
<DataBand Name="Data15" Top="1388.05" Width="718.2" Height="28.35" DataSource="basic_information"> <DataBand Name="Data15" Top="1388.05" Width="718.2" Height="28.35" DataSource="basic_information">
<TextObject Name="Text87" Left="47.25" Width="661.5" Height="28.35" Text="[building_four.basic_information.list]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text87" Left="47.25" Width="661.5" Height="28.35" Text="[building_four.basic_information.list]" Font="TH SarabunPSK, 16pt"/>
</DataBand> </DataBand>
</DataBand> </DataBand>
<DataBand Name="Data16" Top="1421.34" Width="718.2" Height="66.15"> <DataBand Name="Data16" Top="1421.34" Width="718.2" Height="66.15">
@@ -422,7 +422,7 @@
<DataBand Name="Data20" Top="1795.68" Width="718.2" Height="28.35"> <DataBand Name="Data20" Top="1795.68" Width="718.2" Height="28.35">
<TextObject Name="Text98" Width="359.1" Height="28.35" Text="11. ราคาประมาณการ (BOQ)" Font="TH SarabunPSK, 16pt, style=Bold"/> <TextObject Name="Text98" Width="359.1" Height="28.35" Text="11. ราคาประมาณการ (BOQ)" Font="TH SarabunPSK, 16pt, style=Bold"/>
<DataBand Name="Data21" Top="1828.97" Width="718.2" Height="141.75" DataSource="boq"> <DataBand Name="Data21" Top="1828.97" Width="718.2" Height="141.75" DataSource="boq">
<TextObject Name="Text99" Left="47.25" Width="661.5" Height="28.35" Text="[building_four.boq.text1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text99" Left="47.25" Width="661.5" Height="28.35" Text="[building_four.boq.text1]" Font="TH SarabunPSK, 16pt"/>
<TextObject Name="Text100" Left="66.15" Top="28.35" Width="642.6" Height="28.35" Text="[building_four.boq.text2]" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text100" Left="66.15" Top="28.35" Width="642.6" Height="28.35" Text="[building_four.boq.text2]" Font="TH SarabunPSK, 16pt"/>
<TextObject Name="Text101" Left="66.15" Top="56.7" Width="642.6" Height="28.35" Text="[building_four.boq.text3]" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text101" Left="66.15" Top="56.7" Width="642.6" Height="28.35" Text="[building_four.boq.text3]" Font="TH SarabunPSK, 16pt"/>
<TextObject Name="Text102" Left="66.15" Top="85.05" Width="642.6" Height="28.35" Text="[building_four.boq.text4]" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text102" Left="66.15" Top="85.05" Width="642.6" Height="28.35" Text="[building_four.boq.text4]" Font="TH SarabunPSK, 16pt"/>
@@ -789,11 +789,11 @@
<TextObject Name="Text108" Left="151.2" Top="28.35" Width="548.1" Height="28.35" Text="วงเงินเต็มรูป [building_four.full_limit] บาท" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text108" Left="151.2" Top="28.35" Width="548.1" Height="28.35" Text="วงเงินเต็มรูป [building_four.full_limit] บาท" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/>
<TextObject Name="Text109" Left="151.2" Top="56.7" Width="548.1" Height="28.35" Text="เงินงบประมาณแผ่นดิน [building_four.national_budget] บาท" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text109" Left="151.2" Top="56.7" Width="548.1" Height="28.35" Text="เงินงบประมาณแผ่นดิน [building_four.national_budget] บาท" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/>
<TextObject Name="Text110" Left="151.2" Top="85.05" Width="548.1" Height="28.35" Text="เงินงบประมาณรายได้ [building_four.income_budget] บาท" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text110" Left="151.2" Top="85.05" Width="548.1" Height="28.35" Text="เงินงบประมาณรายได้ [building_four.income_budget] บาท" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/>
<DataBand Name="Data27" Top="118.11" Width="718.2" Height="28.35" DataSource="detail_division_work"> <DataBand Name="Data27" Top="118.34" Width="718.2" Height="28.35" DataSource="detail_division_work">
<TextObject Name="Text111" Left="151.2" Width="567" Height="28.35" Text="ปีงบประมาณ [building_four.detail_division_work.budget_year] เป็นเงิน [building_four.detail_division_work.amount] บาท" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text111" Left="151.2" Width="567" Height="28.35" Text="ปีงบประมาณ [building_four.detail_division_work.budget_year] เป็นเงิน [building_four.detail_division_work.amount] บาท" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" Font="TH SarabunPSK, 16pt"/>
</DataBand> </DataBand>
</DataBand> </DataBand>
<DataBand Name="Data28" Top="151.16" Width="718.2" Height="47.25"> <DataBand Name="Data28" Top="151.63" Width="718.2" Height="47.25">
<TableObject Name="Table5" Width="718.2" Height="47.25"> <TableObject Name="Table5" Width="718.2" Height="47.25">
<TableColumn Name="Column12" Width="47.25"/> <TableColumn Name="Column12" Width="47.25"/>
<TableColumn Name="Column13" Width="85.05"/> <TableColumn Name="Column13" Width="85.05"/>
@@ -810,7 +810,7 @@
<TableCell Name="Cell17" Border.Lines="All" Text="จ่ายสะสม" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/> <TableCell Name="Cell17" Border.Lines="All" Text="จ่ายสะสม" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/>
</TableRow> </TableRow>
</TableObject> </TableObject>
<DataBand Name="Data29" Top="203.12" Width="718.2" Height="28.35" DataSource="detail_division_work_table"> <DataBand Name="Data29" Top="203.81" Width="718.2" Height="28.35" DataSource="detail_division_work_table">
<TableObject Name="Table9" Width="718.2" Height="28.35"> <TableObject Name="Table9" Width="718.2" Height="28.35">
<TableColumn Name="Column34" Width="47.25"/> <TableColumn Name="Column34" Width="47.25"/>
<TableColumn Name="Column35" Width="85.05"/> <TableColumn Name="Column35" Width="85.05"/>
@@ -829,7 +829,7 @@
</TableObject> </TableObject>
</DataBand> </DataBand>
</DataBand> </DataBand>
<DataBand Name="Data30" Top="236.17" Width="718.2" Height="453.6"> <DataBand Name="Data30" Top="237.1" Width="718.2" Height="453.6">
<TextObject Name="Text112" Top="9.45" Width="718.2" Height="28.35" Text="15. หากได้รับการจัดสรรงบประมาณอาคารใหม่จะทำให้มหาวิทยาลัย (จะส่งผลอะไรบ้าง)" Font="TH SarabunPSK, 16pt, style=Bold"/> <TextObject Name="Text112" Top="9.45" Width="718.2" Height="28.35" Text="15. หากได้รับการจัดสรรงบประมาณอาคารใหม่จะทำให้มหาวิทยาลัย (จะส่งผลอะไรบ้าง)" Font="TH SarabunPSK, 16pt, style=Bold"/>
<TextObject Name="Text113" Top="37.8" Width="718.2" Height="28.35" Text="[building_four.result]" Font="TH SarabunPSK, 16pt"/> <TextObject Name="Text113" Top="37.8" Width="718.2" Height="28.35" Text="[building_four.result]" Font="TH SarabunPSK, 16pt"/>
<TextObject Name="Text114" Top="75.6" Width="718.2" Height="28.35" Text="16. หากไม่ได้รับการจัดสรรงบประมาณอาคารใหม่จะทำให้มหาวิทยาลัย (จะส่งผลเสียหายหรือผลกระทบอย่างไร)" Font="TH SarabunPSK, 16pt, style=Bold"/> <TextObject Name="Text114" Top="75.6" Width="718.2" Height="28.35" Text="16. หากไม่ได้รับการจัดสรรงบประมาณอาคารใหม่จะทำให้มหาวิทยาลัย (จะส่งผลเสียหายหรือผลกระทบอย่างไร)" Font="TH SarabunPSK, 16pt, style=Bold"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<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"> <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">
<Dictionary> <Dictionary>
<BusinessObjectDataSource Name="durable_articles_three" ReferenceName="durable_articles_three" DataType="null" Enabled="true"> <BusinessObjectDataSource Name="durable_articles_three" ReferenceName="durable_articles_three" DataType="null" Enabled="true">
<Column Name="budget_year" DataType="System.String"/> <Column Name="budget_year" DataType="System.String"/>
@@ -33,6 +33,9 @@
<Column Name="quantity_user_training" DataType="System.String"/> <Column Name="quantity_user_training" DataType="System.String"/>
<Column Name="description_included" DataType="System.String"/> <Column Name="description_included" DataType="System.String"/>
<Column Name="specification" DataType="System.String"/> <Column Name="specification" DataType="System.String"/>
<Column Name="quantity_specification" DataType="System.String"/>
<Column Name="unit_price_specification" DataType="System.Decimal"/>
<Column Name="amount_specification" DataType="System.Decimal"/>
<Column Name="procurement_process" DataType="System.String"/> <Column Name="procurement_process" DataType="System.String"/>
<Column Name="incurring_debt" DataType="System.String"/> <Column Name="incurring_debt" DataType="System.String"/>
<Column Name="quarter" DataType="System.String"/> <Column Name="quarter" DataType="System.String"/>
@@ -53,6 +56,17 @@
<Column Name="image_description" DataType="System.String"/> <Column Name="image_description" DataType="System.String"/>
<Column Name="remark" DataType="System.String"/> <Column Name="remark" DataType="System.String"/>
</BusinessObjectDataSource> </BusinessObjectDataSource>
<BusinessObjectDataSource Name="specification_data" DataType="null" Enabled="true">
<Column Name="specification" DataType="System.String"/>
<Column Name="quantity" DataType="System.String"/>
<Column Name="unit_price" DataType="System.Decimal"/>
<Column Name="amount" DataType="System.Decimal"/>
<BusinessObjectDataSource Name="data_detail" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="quantity" DataType="System.String"/>
<Column Name="attribute" DataType="System.String"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
<BusinessObjectDataSource Name="budget_spending_plan" DataType="null" Enabled="true"> <BusinessObjectDataSource Name="budget_spending_plan" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/> <Column Name="list" DataType="System.String"/>
<Column Name="month_1" DataType="System.String"/> <Column Name="month_1" DataType="System.String"/>
@@ -211,9 +225,36 @@
</DataBand> </DataBand>
</ReportPage> </ReportPage>
<ReportPage Name="Page4" PaperWidth="240" Watermark.Font="Arial, 60pt"> <ReportPage Name="Page4" PaperWidth="240" Watermark.Font="Arial, 60pt">
<DataBand Name="Data8" Width="831.6" Height="321.3"> <DataBand Name="Data8" Width="831.6" Height="113.4">
<TextObject Name="Text2" Width="812.7" Height="28.35" Text="10. คุณลักษณะเฉพาะ (Specification)" Font="TH SarabunPSK, 16pt, style=Bold"/> <TextObject Name="Text2" Width="812.7" Height="28.35" Text="10. คุณลักษณะเฉพาะ (Specification)" Font="TH Sarabun New, 16pt, style=Bold"/>
<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"/> <TextObject Name="Text3" Top="28.35" Width="812.7" Height="56.7" Text="[durable_articles_three.specification] จำนวน [durable_articles_three.quantity_specification] ห้อง ราคาต่อหน่วย [durable_articles_three.unit_price_specification] บาท รวมทั้งสิ้น [durable_articles_three.amount_specification] บาท " Font="TH Sarabun New, 16pt, style=Bold">
<Formats>
<NumberFormat/>
<GeneralFormat/>
<GeneralFormat/>
<GeneralFormat/>
</Formats>
</TextObject>
<TextObject Name="Text105" Top="85.05" Width="812.7" Height="28.35" Text="ประกอบด้วย" Font="TH Sarabun New, 16pt, style=Bold"/>
<DataBand Name="Data9" Top="118.34" Width="831.6" Height="85.05" DataSource="specification_data">
<TextObject Name="Text106" Width="812.7" Height="56.7" Text="[durable_articles_three.specification_data.specification] จำนวน [durable_articles_three.specification_data.quantity] ห้อง ราคาต่อหน่วย [durable_articles_three.specification_data.unit_price] บาท รวมทั้งสิ้น [durable_articles_three.specification_data.amount] บาท " Font="TH Sarabun New, 16pt, style=Bold">
<Formats>
<NumberFormat/>
<GeneralFormat/>
<GeneralFormat/>
<GeneralFormat/>
</Formats>
</TextObject>
<TextObject Name="Text107" Top="56.7" Width="812.7" Height="28.35" Text="ประกอบด้วย" Font="TH Sarabun New, 16pt, style=Bold"/>
<DataBand Name="Data10" Top="208.33" Width="831.6" Height="85.05" DataSource="specification_data">
<TextObject Name="Text108" Width="812.7" Height="28.35" Text="[durable_articles_three.specification_data.data_detail.list]" Font="TH Sarabun New, 16pt"/>
<TextObject Name="Text109" Left="18.9" Top="56.7" Width="812.7" Height="28.35" Text="คุณลักษณะ" Font="TH Sarabun New, 16pt"/>
<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>
</DataBand>
</DataBand>
</DataBand> </DataBand>
</ReportPage> </ReportPage>
<ReportPage Name="Page5" PaperWidth="240" Watermark.Font="Arial, 60pt"> <ReportPage Name="Page5" PaperWidth="240" Watermark.Font="Arial, 60pt">