This commit is contained in:
kamonwan taengsuk
2023-06-13 19:06:09 +07:00
parent bddfeac821
commit 640d2fae45
10 changed files with 554 additions and 42 deletions

View File

@@ -826,6 +826,202 @@ namespace rmutr_report.Controllers
break;
}
return Ok();
}
[HttpPost, Route("reports/material_agricultural/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetMaterial9Report([FromRoute] string type, [FromBody] material_ro_three three)
{
if (three.data != null)
{
var s = three.data.Sum(f => f.material_amount);
three.total_amount = s;
}
var threes = new List<material_ro_three>() { three };
Report report = new Report();
report.Load(_setting.report_path + "material_agricultural.frx");
report.RegisterData(threes, "material_ro_three");
report.Prepare();
MemoryStream stream = new MemoryStream();
switch (type)
{
case "pdf":
PDFExport pdf = new PDFExport();
report.Export(pdf, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "application/pdf");
case "xls":
case "xlsx":
Excel2007Export excel = new Excel2007Export();
report.Export(excel, stream);
stream.Seek(0, SeekOrigin.Begin);
//return File(stream, "application/vnd.ms-excel");
string date = DateTime.Now.ToString("yyyyMMddHHmmss");
return File(
stream,
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
date + ".xlsx");
break;
case "doc":
case "docx":
Word2007Export word = new Word2007Export();
report.Export(word, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "appllication/vnd.ms-word");
break;
}
return Ok();
}
[HttpPost, Route("reports/material_housework/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetMaterial10Report([FromRoute] string type, [FromBody] material_ro_three three)
{
if (three.data != null)
{
var s = three.data.Sum(f => f.material_amount);
three.total_amount = s;
}
var threes = new List<material_ro_three>() { three };
Report report = new Report();
report.Load(_setting.report_path + "material_housework.frx");
report.RegisterData(threes, "material_ro_three");
report.Prepare();
MemoryStream stream = new MemoryStream();
switch (type)
{
case "pdf":
PDFExport pdf = new PDFExport();
report.Export(pdf, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "application/pdf");
case "xls":
case "xlsx":
Excel2007Export excel = new Excel2007Export();
report.Export(excel, stream);
stream.Seek(0, SeekOrigin.Begin);
//return File(stream, "application/vnd.ms-excel");
string date = DateTime.Now.ToString("yyyyMMddHHmmss");
return File(
stream,
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
date + ".xlsx");
break;
case "doc":
case "docx":
Word2007Export word = new Word2007Export();
report.Export(word, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "appllication/vnd.ms-word");
break;
}
return Ok();
}
[HttpPost, Route("reports/material_science_medical/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetMaterial11Report([FromRoute] string type, [FromBody] material_ro_three three)
{
if (three.data != null)
{
var s = three.data.Sum(f => f.material_amount);
three.total_amount = s;
}
var threes = new List<material_ro_three>() { three };
Report report = new Report();
report.Load(_setting.report_path + "material_science_medical.frx");
report.RegisterData(threes, "material_ro_three");
report.Prepare();
MemoryStream stream = new MemoryStream();
switch (type)
{
case "pdf":
PDFExport pdf = new PDFExport();
report.Export(pdf, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "application/pdf");
case "xls":
case "xlsx":
Excel2007Export excel = new Excel2007Export();
report.Export(excel, stream);
stream.Seek(0, SeekOrigin.Begin);
//return File(stream, "application/vnd.ms-excel");
string date = DateTime.Now.ToString("yyyyMMddHHmmss");
return File(
stream,
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
date + ".xlsx");
break;
case "doc":
case "docx":
Word2007Export word = new Word2007Export();
report.Export(word, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "appllication/vnd.ms-word");
break;
}
return Ok();
}
[HttpPost, Route("reports/material_sport/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetMaterial12Report([FromRoute] string type, [FromBody] material_ro_three three)
{
if (three.data != null)
{
var s = three.data.Sum(f => f.material_amount);
three.total_amount = s;
}
var threes = new List<material_ro_three>() { three };
Report report = new Report();
report.Load(_setting.report_path + "material_sport.frx");
report.RegisterData(threes, "material_ro_three");
report.Prepare();
MemoryStream stream = new MemoryStream();
switch (type)
{
case "pdf":
PDFExport pdf = new PDFExport();
report.Export(pdf, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "application/pdf");
case "xls":
case "xlsx":
Excel2007Export excel = new Excel2007Export();
report.Export(excel, stream);
stream.Seek(0, SeekOrigin.Begin);
//return File(stream, "application/vnd.ms-excel");
string date = DateTime.Now.ToString("yyyyMMddHHmmss");
return File(
stream,
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
date + ".xlsx");
break;
case "doc":
case "docx":
Word2007Export word = new Word2007Export();
report.Export(word, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "appllication/vnd.ms-word");
break;
}
return Ok();
}
}

View File

@@ -10,22 +10,22 @@ namespace rmutr_report.Models.Personnel
public Guid? personnel_salary_government_employee_root_uid { get; set; }
public Guid? log_report_uid { get; set; }
public string year { get; set; }
public int? total_salary { get; set; }
public int? total_estimate_salary { get; set; }
public int? total_promote { get; set; }
public int? total { get; set; }
public int? total_salary_12 { get; set; }
public int? total_social_security { get; set; }
public int? total_social_security_12 { get; set; }
public int? total_social_compensation { get; set; }
public int? total_social_compensation_12 { get; set; }
public int? total_another2 { get; set; }
public int? total_quantity_money { get; set; }
public int? total2 { get; set; }
public double? total_salary { get; set; }
public double? total_estimate_salary { get; set; }
public double? total_promote { get; set; }
public double? total { get; set; }
public double? total_salary_12 { get; set; }
public double? total_social_security { get; set; }
public double? total_social_security_12 { get; set; }
public double? total_social_compensation { get; set; }
public double? total_social_compensation_12 { get; set; }
public double? total_another2 { get; set; }
public double? total_quantity_money { get; set; }
public double? total2 { get; set; }
public int? including_salary_and_fittings { get; set; }
public int? including_salary_and_fittings_12 { get; set; }
public double? including_salary_and_fittings { get; set; }
public double? including_salary_and_fittings_12 { get; set; }
public List<t_personnel_salary_government_employee> personnel_salary_government_employee { get; set; }
}
@@ -37,20 +37,20 @@ namespace rmutr_report.Models.Personnel
public Guid? personnel_salary_government_employee_root_uid { get; set; }
public string agency_category_name { get; set; }
public int? total_salary { get; set; }
public int? total_estimate_salary { get; set; }
public int? total_promote { get; set; }
public int? total { get; set; }
public int? total_salary_12 { get; set; }
public int? total_social_security { get; set; }
public int? total_social_security_12 { get; set; }
public int? total_social_compensation { get; set; }
public int? total_social_compensation_12 { get; set; }
public int? total_another2 { get; set; }
public int? total_quantity_money { get; set; }
public int? total2 { get; set; }
public int? including_salary_and_fittings { get; set; }
public int? including_salary_and_fittings_12 { get; set; }
public double? total_salary { get; set; }
public double? total_estimate_salary { get; set; }
public double? total_promote { get; set; }
public double? total { get; set; }
public double? total_salary_12 { get; set; }
public double? total_social_security { get; set; }
public double? total_social_security_12 { get; set; }
public double? total_social_compensation { get; set; }
public double? total_social_compensation_12 { get; set; }
public double? total_another2 { get; set; }
public double? total_quantity_money { get; set; }
public double? total2 { get; set; }
public double? including_salary_and_fittings { get; set; }
public double? including_salary_and_fittings_12 { get; set; }
public List<t_personnel_salary_government_employee_deltail> personnel_salary_government_employee_deltail { get; set; }
public bool? is_footer { get; set; }
@@ -68,19 +68,19 @@ namespace rmutr_report.Models.Personnel
public string position { get; set; }
public string parent_agency_name { get; set; }
public string area { get; set; }
public int? salary { get; set; }
public int? estimate_salary { get; set; }
public int? promote { get; set; }
public int? total { get; set; }
public int? salary_12 { get; set; }
public int? social_security { get; set; }
public int? social_security_12 { get; set; }
public int? social_compensation { get; set; }
public int? social_compensation_12 { get; set; }
public int? another2 { get; set; }
public int? quantity_money { get; set; }
public int? total2 { get; set; }
public int? including_salary_and_fittings { get; set; }
public int? including_salary_and_fittings_12 { get; set; }
public double? salary { get; set; }
public double? estimate_salary { get; set; }
public double? promote { get; set; }
public double? total { get; set; }
public double? salary_12 { get; set; }
public double? social_security { get; set; }
public double? social_security_12 { get; set; }
public double? social_compensation { get; set; }
public double? social_compensation_12 { get; set; }
public double? another2 { get; set; }
public double? quantity_money { get; set; }
public double? total2 { get; set; }
public double? including_salary_and_fittings { get; set; }
public double? including_salary_and_fittings_12 { get; set; }
}
}

View File

@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="06/13/2023 18:52:07" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="material_ro_three" ReferenceName="material_ro_three" DataType="null" Enabled="true">
<Column Name="product" DataType="System.String"/>
<Column Name="agency_name_th" DataType="System.String"/>
<Column Name="sector" DataType="System.String"/>
<Column Name="total_amount" DataType="System.Decimal"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="amount" DataType="System.Decimal"/>
<Column Name="unit_price" DataType="System.Decimal"/>
<Column Name="material_amount" DataType="System.Decimal"/>
<Column Name="remark" DataType="System.String"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="วัสดุการเกษตร" PaperWidth="310" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="1096.2" Height="170.1">
<TableObject Name="Table1" Top="113.4" Width="1096.24" Height="56.7">
<TableColumn Name="Column1" Width="66.17"/>
<TableColumn Name="Column2" Width="425.27"/>
<TableColumn Name="Column3" Width="160.65"/>
<TableColumn Name="Column4" Width="141.75"/>
<TableColumn Name="Column13" Width="160.65"/>
<TableColumn Name="Column14" Width="141.75"/>
<TableRow Name="Row1" Height="56.7">
<TableCell Name="Cell1" Border.Lines="All" Fill.Color="Gainsboro" Text="ลำดับที่" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell2" Border.Lines="All" Fill.Color="Gainsboro" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell3" Border.Lines="All" Fill.Color="Gainsboro" Text="ปริมาณ&#13;&#10;(ต่อปี)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell4" Border.Lines="All" Fill.Color="Gainsboro" Text="ราคาต่อหน่วย" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell13" Border.Lines="All" Fill.Color="Gainsboro" Text="ค่าวัสดุต่อปี&#13;&#10;(บาท)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell14" Border.Lines="All" Fill.Color="Gainsboro" Text="หมายเหตุ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
<TextObject Name="Text1" Top="9.45" Width="1096.2" Height="28.35" Text="แบบฟอร์มงบเงินอุดหนุน : ค่าใช้จ่ายดำเนินงาน" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text2" Top="37.8" Width="1096.2" Height="28.35" Text="ค่าวัสดุ ( วัสดุการเกษตร ) ผลผลิต [material_ro_three.product]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text3" Top="66.15" Width="1096.2" Height="28.35" Text="หน่วยงาน/คณะ/วิทยาลัย [material_ro_three.agency_name_th] [material_ro_three.sector]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="176.25" Width="1096.2">
<DataBand Name="Data2" Top="182.41" Width="1096.2" Height="37.8" DataSource="data">
<TableObject Name="Table2" Width="1096.24" Height="37.8">
<TableColumn Name="Column15" Width="66.17"/>
<TableColumn Name="Column16" Width="425.27"/>
<TableColumn Name="Column17" Width="160.65"/>
<TableColumn Name="Column18" Width="141.75"/>
<TableColumn Name="Column19" Width="160.65"/>
<TableColumn Name="Column20" Width="141.75"/>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell15" Border.Lines="All" Text="[Row#]." HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell16" Border.Lines="All" Text="[material_ro_three.data.list]" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell17" Border.Lines="All" Text="[material_ro_three.data.amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell18" Border.Lines="All" Text="[material_ro_three.data.unit_price]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell19" Border.Lines="All" Text="[material_ro_three.data.material_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell20" Border.Lines="All" Text="[material_ro_three.data.remark]" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
<ReportSummaryBand Name="ReportSummary1" Top="226.36" Width="1096.2" Height="37.8">
<TableObject Name="Table3" Width="1096.24" Height="37.8">
<TableColumn Name="Column21" Width="66.17"/>
<TableColumn Name="Column22" Width="425.27"/>
<TableColumn Name="Column23" Width="160.65"/>
<TableColumn Name="Column24" Width="141.75"/>
<TableColumn Name="Column25" Width="160.65"/>
<TableColumn Name="Column26" Width="141.75"/>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell21" Border.Lines="All" Fill.Color="Gainsboro" Text="รวม วัสดุการเกษตร" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold" ColSpan="2"/>
<TableCell Name="Cell22" Border.Lines="All" Fill.Color="Gainsboro" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell23" Border.Lines="All" Fill.Color="Gainsboro" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell24" Border.Lines="All" Fill.Color="Gainsboro" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell25" Border.Lines="All" Fill.Color="Gainsboro" Text="[material_ro_three.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell26" Border.Lines="All" Fill.Color="Gainsboro" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
</ReportSummaryBand>
</ReportPage>
</Report>

View File

@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="06/13/2023 18:54:32" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="material_ro_three" ReferenceName="material_ro_three" DataType="null" Enabled="true">
<Column Name="product" DataType="System.String"/>
<Column Name="agency_name_th" DataType="System.String"/>
<Column Name="sector" DataType="System.String"/>
<Column Name="total_amount" DataType="System.Decimal"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="amount" DataType="System.Decimal"/>
<Column Name="unit_price" DataType="System.Decimal"/>
<Column Name="material_amount" DataType="System.Decimal"/>
<Column Name="remark" DataType="System.String"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="วัสดุงานบ้านงานครัว" PaperWidth="310" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="1096.2" Height="170.1">
<TableObject Name="Table1" Top="113.4" Width="1096.24" Height="56.7">
<TableColumn Name="Column1" Width="66.17"/>
<TableColumn Name="Column2" Width="425.27"/>
<TableColumn Name="Column3" Width="160.65"/>
<TableColumn Name="Column4" Width="141.75"/>
<TableColumn Name="Column13" Width="160.65"/>
<TableColumn Name="Column14" Width="141.75"/>
<TableRow Name="Row1" Height="56.7">
<TableCell Name="Cell1" Border.Lines="All" Fill.Color="Gainsboro" Text="ลำดับที่" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell2" Border.Lines="All" Fill.Color="Gainsboro" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell3" Border.Lines="All" Fill.Color="Gainsboro" Text="ปริมาณ&#13;&#10;(ต่อปี)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell4" Border.Lines="All" Fill.Color="Gainsboro" Text="ราคาต่อหน่วย" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell13" Border.Lines="All" Fill.Color="Gainsboro" Text="ค่าวัสดุต่อปี&#13;&#10;(บาท)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell14" Border.Lines="All" Fill.Color="Gainsboro" Text="หมายเหตุ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
<TextObject Name="Text1" Top="9.45" Width="1096.2" Height="28.35" Text="แบบฟอร์มงบเงินอุดหนุน : ค่าใช้จ่ายดำเนินงาน" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text2" Top="37.8" Width="1096.2" Height="28.35" Text="ค่าวัสดุ ( วัสดุงานบ้านงานครัว ) ผลผลิต [material_ro_three.product]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text3" Top="66.15" Width="1096.2" Height="28.35" Text="หน่วยงาน/คณะ/วิทยาลัย [material_ro_three.agency_name_th] [material_ro_three.sector]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="176.25" Width="1096.2">
<DataBand Name="Data2" Top="182.41" Width="1096.2" Height="37.8" DataSource="data">
<TableObject Name="Table2" Width="1096.24" Height="37.8">
<TableColumn Name="Column15" Width="66.17"/>
<TableColumn Name="Column16" Width="425.27"/>
<TableColumn Name="Column17" Width="160.65"/>
<TableColumn Name="Column18" Width="141.75"/>
<TableColumn Name="Column19" Width="160.65"/>
<TableColumn Name="Column20" Width="141.75"/>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell15" Border.Lines="All" Text="[Row#]." HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell16" Border.Lines="All" Text="[material_ro_three.data.list]" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell17" Border.Lines="All" Text="[material_ro_three.data.amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell18" Border.Lines="All" Text="[material_ro_three.data.unit_price]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell19" Border.Lines="All" Text="[material_ro_three.data.material_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell20" Border.Lines="All" Text="[material_ro_three.data.remark]" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
<ReportSummaryBand Name="ReportSummary1" Top="226.36" Width="1096.2" Height="37.8">
<TableObject Name="Table3" Width="1096.24" Height="37.8">
<TableColumn Name="Column21" Width="66.17"/>
<TableColumn Name="Column22" Width="425.27"/>
<TableColumn Name="Column23" Width="160.65"/>
<TableColumn Name="Column24" Width="141.75"/>
<TableColumn Name="Column25" Width="160.65"/>
<TableColumn Name="Column26" Width="141.75"/>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell21" Border.Lines="All" Fill.Color="Gainsboro" Text="รวม วัสดุงานบ้านงานครัว" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold" ColSpan="2"/>
<TableCell Name="Cell22" Border.Lines="All" Fill.Color="Gainsboro" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell23" Border.Lines="All" Fill.Color="Gainsboro" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell24" Border.Lines="All" Fill.Color="Gainsboro" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell25" Border.Lines="All" Fill.Color="Gainsboro" Text="[material_ro_three.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell26" Border.Lines="All" Fill.Color="Gainsboro" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
</ReportSummaryBand>
</ReportPage>
</Report>

View File

@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="06/13/2023 18:56:32" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="material_ro_three" ReferenceName="material_ro_three" DataType="null" Enabled="true">
<Column Name="product" DataType="System.String"/>
<Column Name="agency_name_th" DataType="System.String"/>
<Column Name="sector" DataType="System.String"/>
<Column Name="total_amount" DataType="System.Decimal"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="amount" DataType="System.Decimal"/>
<Column Name="unit_price" DataType="System.Decimal"/>
<Column Name="material_amount" DataType="System.Decimal"/>
<Column Name="remark" DataType="System.String"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="วัสดุวิทยาศาสตร์หรือการแพทย์" PaperWidth="310" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="1096.2" Height="170.1">
<TableObject Name="Table1" Top="113.4" Width="1096.24" Height="56.7">
<TableColumn Name="Column1" Width="66.17"/>
<TableColumn Name="Column2" Width="425.27"/>
<TableColumn Name="Column3" Width="160.65"/>
<TableColumn Name="Column4" Width="141.75"/>
<TableColumn Name="Column13" Width="160.65"/>
<TableColumn Name="Column14" Width="141.75"/>
<TableRow Name="Row1" Height="56.7">
<TableCell Name="Cell1" Border.Lines="All" Fill.Color="Gainsboro" Text="ลำดับที่" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell2" Border.Lines="All" Fill.Color="Gainsboro" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell3" Border.Lines="All" Fill.Color="Gainsboro" Text="ปริมาณ&#13;&#10;(ต่อปี)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell4" Border.Lines="All" Fill.Color="Gainsboro" Text="ราคาต่อหน่วย" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell13" Border.Lines="All" Fill.Color="Gainsboro" Text="ค่าวัสดุต่อปี&#13;&#10;(บาท)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell14" Border.Lines="All" Fill.Color="Gainsboro" Text="หมายเหตุ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
<TextObject Name="Text1" Top="9.45" Width="1096.2" Height="28.35" Text="แบบฟอร์มงบเงินอุดหนุน : ค่าใช้จ่ายดำเนินงาน" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text2" Top="37.8" Width="1096.2" Height="28.35" Text="ค่าวัสดุ ( วัสดุวิทยาศาสตร์หรือการแพทย์ ) ผลผลิต [material_ro_three.product]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text3" Top="66.15" Width="1096.2" Height="28.35" Text="หน่วยงาน/คณะ/วิทยาลัย [material_ro_three.agency_name_th] [material_ro_three.sector]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="176.25" Width="1096.2">
<DataBand Name="Data2" Top="182.41" Width="1096.2" Height="37.8" DataSource="data">
<TableObject Name="Table2" Width="1096.24" Height="37.8">
<TableColumn Name="Column15" Width="66.17"/>
<TableColumn Name="Column16" Width="425.27"/>
<TableColumn Name="Column17" Width="160.65"/>
<TableColumn Name="Column18" Width="141.75"/>
<TableColumn Name="Column19" Width="160.65"/>
<TableColumn Name="Column20" Width="141.75"/>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell15" Border.Lines="All" Text="[Row#]." HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell16" Border.Lines="All" Text="[material_ro_three.data.list]" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell17" Border.Lines="All" Text="[material_ro_three.data.amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell18" Border.Lines="All" Text="[material_ro_three.data.unit_price]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell19" Border.Lines="All" Text="[material_ro_three.data.material_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell20" Border.Lines="All" Text="[material_ro_three.data.remark]" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
<ReportSummaryBand Name="ReportSummary1" Top="226.36" Width="1096.2" Height="37.8">
<TableObject Name="Table3" Width="1096.24" Height="37.8">
<TableColumn Name="Column21" Width="66.17"/>
<TableColumn Name="Column22" Width="425.27"/>
<TableColumn Name="Column23" Width="160.65"/>
<TableColumn Name="Column24" Width="141.75"/>
<TableColumn Name="Column25" Width="160.65"/>
<TableColumn Name="Column26" Width="141.75"/>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell21" Border.Lines="All" Fill.Color="Gainsboro" Text="รวม วัสดุวิทยาศาสตร์หรือการแพทย์" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold" ColSpan="2"/>
<TableCell Name="Cell22" Border.Lines="All" Fill.Color="Gainsboro" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell23" Border.Lines="All" Fill.Color="Gainsboro" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell24" Border.Lines="All" Fill.Color="Gainsboro" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell25" Border.Lines="All" Fill.Color="Gainsboro" Text="[material_ro_three.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell26" Border.Lines="All" Fill.Color="Gainsboro" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
</ReportSummaryBand>
</ReportPage>
</Report>

View File

@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="06/13/2023 18:57:48" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="material_ro_three" ReferenceName="material_ro_three" DataType="null" Enabled="true">
<Column Name="product" DataType="System.String"/>
<Column Name="agency_name_th" DataType="System.String"/>
<Column Name="sector" DataType="System.String"/>
<Column Name="total_amount" DataType="System.Decimal"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="amount" DataType="System.Decimal"/>
<Column Name="unit_price" DataType="System.Decimal"/>
<Column Name="material_amount" DataType="System.Decimal"/>
<Column Name="remark" DataType="System.String"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="วัสดุกีฬา" PaperWidth="310" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="1096.2" Height="170.1">
<TableObject Name="Table1" Top="113.4" Width="1096.24" Height="56.7">
<TableColumn Name="Column1" Width="66.17"/>
<TableColumn Name="Column2" Width="425.27"/>
<TableColumn Name="Column3" Width="160.65"/>
<TableColumn Name="Column4" Width="141.75"/>
<TableColumn Name="Column13" Width="160.65"/>
<TableColumn Name="Column14" Width="141.75"/>
<TableRow Name="Row1" Height="56.7">
<TableCell Name="Cell1" Border.Lines="All" Fill.Color="Gainsboro" Text="ลำดับที่" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell2" Border.Lines="All" Fill.Color="Gainsboro" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell3" Border.Lines="All" Fill.Color="Gainsboro" Text="ปริมาณ&#13;&#10;(ต่อปี)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell4" Border.Lines="All" Fill.Color="Gainsboro" Text="ราคาต่อหน่วย" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell13" Border.Lines="All" Fill.Color="Gainsboro" Text="ค่าวัสดุต่อปี&#13;&#10;(บาท)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell14" Border.Lines="All" Fill.Color="Gainsboro" Text="หมายเหตุ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
<TextObject Name="Text1" Top="9.45" Width="1096.2" Height="28.35" Text="แบบฟอร์มงบเงินอุดหนุน : ค่าใช้จ่ายดำเนินงาน" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text2" Top="37.8" Width="1096.2" Height="28.35" Text="ค่าวัสดุ ( วัสดุกีฬา ) ผลผลิต [material_ro_three.product]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text3" Top="66.15" Width="1096.2" Height="28.35" Text="หน่วยงาน/คณะ/วิทยาลัย [material_ro_three.agency_name_th] [material_ro_three.sector]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="176.25" Width="1096.2">
<DataBand Name="Data2" Top="182.41" Width="1096.2" Height="37.8" DataSource="data">
<TableObject Name="Table2" Width="1096.24" Height="37.8">
<TableColumn Name="Column15" Width="66.17"/>
<TableColumn Name="Column16" Width="425.27"/>
<TableColumn Name="Column17" Width="160.65"/>
<TableColumn Name="Column18" Width="141.75"/>
<TableColumn Name="Column19" Width="160.65"/>
<TableColumn Name="Column20" Width="141.75"/>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell15" Border.Lines="All" Text="[Row#]." HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell16" Border.Lines="All" Text="[material_ro_three.data.list]" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell17" Border.Lines="All" Text="[material_ro_three.data.amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell18" Border.Lines="All" Text="[material_ro_three.data.unit_price]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell19" Border.Lines="All" Text="[material_ro_three.data.material_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell20" Border.Lines="All" Text="[material_ro_three.data.remark]" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
<ReportSummaryBand Name="ReportSummary1" Top="226.36" Width="1096.2" Height="37.8">
<TableObject Name="Table3" Width="1096.24" Height="37.8">
<TableColumn Name="Column21" Width="66.17"/>
<TableColumn Name="Column22" Width="425.27"/>
<TableColumn Name="Column23" Width="160.65"/>
<TableColumn Name="Column24" Width="141.75"/>
<TableColumn Name="Column25" Width="160.65"/>
<TableColumn Name="Column26" Width="141.75"/>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell21" Border.Lines="All" Fill.Color="Gainsboro" Text="รวม วัสดุกีฬา" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold" ColSpan="2"/>
<TableCell Name="Cell22" Border.Lines="All" Fill.Color="Gainsboro" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell23" Border.Lines="All" Fill.Color="Gainsboro" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell24" Border.Lines="All" Fill.Color="Gainsboro" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell25" Border.Lines="All" Fill.Color="Gainsboro" Text="[material_ro_three.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell26" Border.Lines="All" Fill.Color="Gainsboro" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
</ReportSummaryBand>
</ReportPage>
</Report>