Update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kamonwan taengsuk
2024-08-07 17:30:09 +07:00
parent 14cf3e4081
commit a1f853b870
5 changed files with 376 additions and 0 deletions

View File

@@ -3512,6 +3512,77 @@ namespace rmutr_report.Controllers
"summary_budget_expense" + ".xlsx"); "summary_budget_expense" + ".xlsx");
} }
return Ok();
}
[SwaggerOperation("ประมาณการรายรับ รายจ่าย")]
[HttpPost, Route("reports/estimate_income_expenses/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetBudgetEstimateReport([FromRoute] string type,
[FromBody] estimate_income_expenses budget)
{
var summaryBudget = new List<estimate_income_expenses>() { budget };
Report report = new Report();
report.Load(_setting.report_path + "estimate_income_expenses.frx");
report.RegisterData(summaryBudget, "estimate_income_expenses");
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.openxmlformats-officedocument.spreadsheetml.sheet",
"estimate_income_expenses" + ".xlsx");
}
return Ok();
}
[SwaggerOperation("สรุปรายรับ และการจัดสรร")]
[HttpPost, Route("reports/summary_income_allocation/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetBudgetAllocationReport([FromRoute] string type,
[FromBody] estimate_income_expenses budget)
{
var summaryBudget = new List<estimate_income_expenses>() { budget };
Report report = new Report();
report.Load(_setting.report_path + "summary_income_allocation.frx");
report.RegisterData(summaryBudget, "estimate_income_expenses");
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.openxmlformats-officedocument.spreadsheetml.sheet",
"summary_income_allocation" + ".xlsx");
}
return Ok(); return Ok();
} }
} }

View File

@@ -0,0 +1,56 @@
using System.Collections.Generic;
namespace rmutr_report.Models
{
public class estimate_income_expenses
{
public string budget_year { get; set; }
public string date_range { get; set; }
public string faculty { get; set; }
public List<estimate_income_expenses_detail> data_1 { get; set; }
}
public class estimate_income_expenses_detail
{
public string list { get; set; }
public decimal? amount_1 { get; set; }
public decimal? amount_2 { get; set; }
public decimal? amount_3 { get; set; }
public decimal? amount_4 { get; set; }
public decimal? amount_5 { get; set; }
public decimal? amount_6 { get; set; }
public decimal? amount_7 { get; set; }
public decimal? amount_8 { get; set; }
public decimal? total_amount { get; set; }
public List<estimate_income_expenses_detail2> data_2 { get; set; }
}
public class estimate_income_expenses_detail2
{
public int? row { get; set; }
public string type { get; set; }
public string list { get; set; }
public decimal? amount_1 { get; set; }
public decimal? amount_2 { get; set; }
public decimal? amount_3 { get; set; }
public decimal? amount_4 { get; set; }
public decimal? amount_5 { get; set; }
public decimal? amount_6 { get; set; }
public decimal? amount_7 { get; set; }
public decimal? amount_8 { get; set; }
public decimal? total_amount { get; set; }
//public List<estimate_income_expenses_detail3> data_3 { get; set; }
}
// public class estimate_income_expenses_detail3
// {
// public string list { get; set; }
// public decimal? amount_1 { get; set; }
// public decimal? amount_2 { get; set; }
// public decimal? amount_3 { get; set; }
// public decimal? amount_4 { get; set; }
// public decimal? amount_5 { get; set; }
// public decimal? amount_6 { get; set; }
// public decimal? amount_7 { get; set; }
// public decimal? amount_8 { get; set; }
// public decimal? total_amount { get; set; }
// }
}

View File

@@ -494,3 +494,4 @@ Yu Gothic C:\WINDOWS\Fonts\YuGothR.ttc
Yu Gothic UI Semilight C:\WINDOWS\Fonts\YuGothR.ttc Yu Gothic UI Semilight C:\WINDOWS\Fonts\YuGothR.ttc
Microsoft Uighur-B C:\WINDOWS\Fonts\MSUIGHUB.TTF Microsoft Uighur-B C:\WINDOWS\Fonts\MSUIGHUB.TTF
Microsoft Uighur C:\WINDOWS\Fonts\MSUIGHUR.TTF Microsoft Uighur C:\WINDOWS\Fonts\MSUIGHUR.TTF
JS Wansika C:\Users\USER\AppData\Local\Microsoft\Windows\Fonts\JS-Wansika-Italic.ttf

View File

@@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="08/07/2024 17:27:00" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="estimate_income_expenses" ReferenceName="estimate_income_expenses" DataType="null" Enabled="true">
<Column Name="budget_year" DataType="System.String"/>
<Column Name="date_range" DataType="System.String"/>
<Column Name="faculty" DataType="System.String"/>
<BusinessObjectDataSource Name="data_1" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="amount_1" DataType="System.Decimal"/>
<Column Name="amount_2" DataType="System.Decimal"/>
<Column Name="amount_3" DataType="System.Decimal"/>
<Column Name="amount_4" DataType="System.Decimal"/>
<Column Name="amount_5" DataType="System.Decimal"/>
<Column Name="amount_6" DataType="System.Decimal"/>
<Column Name="amount_7" DataType="System.Decimal"/>
<Column Name="amount_8" DataType="System.Decimal"/>
<Column Name="total_amount" DataType="System.Decimal"/>
<BusinessObjectDataSource Name="data_2" DataType="null" Enabled="true">
<Column Name="row" DataType="System.Int32"/>
<Column Name="type" DataType="System.String"/>
<Column Name="list" DataType="System.String"/>
<Column Name="amount_1" DataType="System.Decimal"/>
<Column Name="amount_2" DataType="System.Decimal"/>
<Column Name="amount_3" DataType="System.Decimal"/>
<Column Name="amount_4" DataType="System.Decimal"/>
<Column Name="amount_5" DataType="System.Decimal"/>
<Column Name="amount_6" DataType="System.Decimal"/>
<Column Name="amount_7" DataType="System.Decimal"/>
<Column Name="amount_8" DataType="System.Decimal"/>
<Column Name="total_amount" DataType="System.Decimal"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="Page1" PaperWidth="450" PaperHeight="400" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="1625.4" Height="236.25">
<TableObject Name="Table1" Top="132.3" Width="1625.44" Height="103.95">
<TableColumn Name="Column1" Width="434.72"/>
<TableColumn Name="Column2" Width="982.82"/>
<TableColumn Name="Column3" Width="207.9"/>
<TableRow Name="Row1" Height="103.95">
<TableCell Name="Cell1" Border.Lines="All" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell2" Border.Lines="All" Text="งบประมาณรายจ่ายจากเงินรายได้ ประจำปีงบประมาณ พ.ศ. [estimate_income_expenses.budget_year] ประมาณการรายรับและประมาณการรายจ่าย" HorzAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<TextObject Name="Text9" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคปกติ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text17" Left="122.85" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคสมทบ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text18" Left="245.7" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคพิเศษ&#13;&#10;(ความร่วมมือ&#13;&#10;กับเซนทรัลฯ)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text19" Left="368.55" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคปกติ &#13;&#10;(โปรแกรมภาษาจีน)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text20" Left="491.4" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคปกติ &#13;&#10;(ธุรกิจระหว่างประเทศ)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text21" Left="737.1" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ปริญญาโท&#13;&#10;(ภาคปกติ)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text22" Left="859.95" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ปริญญาโท&#13;&#10;(ภาคพิเศษ)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text23" Left="614.25" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคพิเศษ &#13;&#10;(ความร่วมมือกับซีพี&#13;&#10;ออลล์)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
</TableCell>
<TableCell Name="Cell3" Border.Lines="All" Text="รวม" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
</TableRow>
</TableObject>
<TextObject Name="Text1" Top="9.45" Width="1625.4" Height="28.35" Text="มหาวิทยาลัยเทคโนโลยีราชมงคลรัตนโกสินทร์" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text14" Top="37.8" Width="1625.4" Height="28.35" Text="งบประมาณรายจ่ายจากเงินรายได้ ประจำปีงบประมาณ พ.ศ. [estimate_income_expenses.budget_year] ( [estimate_income_expenses.date_range] )" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text15" Top="66.15" Width="1625.4" Height="28.35" Text="สรุปประมาณการรายรับ - ประมาณการรายจ่าย จากการจัดการศึกษาระดับปริญญาตรี" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text16" Top="94.5" Width="1625.4" Height="28.35" Text="[estimate_income_expenses.faculty]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="242.6" Width="1625.4">
<DataBand Name="Data2" Top="248.95" Width="1625.4" Height="47.25" DataSource="data_1">
<TableObject Name="Table2" Width="1625.44" Height="47.25">
<TableColumn Name="Column5" Width="37.82"/>
<TableColumn Name="Column6" Width="396.92"/>
<TableColumn Name="Column7" Width="122.85"/>
<TableColumn Name="Column8" Width="122.85"/>
<TableColumn Name="Column21" Width="122.85"/>
<TableColumn Name="Column22" Width="122.85"/>
<TableColumn Name="Column23" Width="122.85"/>
<TableColumn Name="Column24" Width="122.85"/>
<TableColumn Name="Column25" Width="122.85"/>
<TableColumn Name="Column26" Width="122.85"/>
<TableColumn Name="Column27" Width="207.9"/>
<TableRow Name="Row2" Height="47.25">
<TableCell Name="Cell5" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.list]" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold" ColSpan="2"/>
<TableCell Name="Cell6" Border.Lines="All" Fill.Color="255, 242, 204" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell7" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.amount_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell8" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.amount_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell21" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.amount_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell22" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.amount_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell23" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.amount_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell24" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.amount_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell25" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.amount_7]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell26" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.amount_8]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell27" Border.Lines="All" Fill.Color="255, 242, 204" Text="[estimate_income_expenses.data_1.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
</TableRow>
</TableObject>
<DataBand Name="Data3" Top="302.55" Width="1625.4" Height="47.25" DataSource="data_2">
<TableObject Name="Table3" Width="1625.44" Height="47.25">
<TableColumn Name="Column28" Width="37.82"/>
<TableColumn Name="Column29" Width="396.92"/>
<TableColumn Name="Column30" Width="122.85"/>
<TableColumn Name="Column31" Width="122.85"/>
<TableColumn Name="Column32" Width="122.85"/>
<TableColumn Name="Column33" Width="122.85"/>
<TableColumn Name="Column34" Width="122.85"/>
<TableColumn Name="Column35" Width="122.85"/>
<TableColumn Name="Column36" Width="122.85"/>
<TableColumn Name="Column37" Width="122.85"/>
<TableColumn Name="Column38" Width="207.9"/>
<TableRow Name="Row3" Height="47.25">
<TableCell Name="Cell28" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.row]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[estimate_income_expenses.data_1.data_2.type] == &quot;2&quot;" Border.Lines="Left, Top, Bottom" Font="Arial, 10pt" ApplyBorder="true" ApplyTextFill="false"/>
</Highlight>
</TableCell>
<TableCell Name="Cell29" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.list]" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[estimate_income_expenses.data_1.data_2.type] == &quot;2&quot;" Border.Lines="Right, Top, Bottom" Font="TH Sarabun New, 14.25pt" ApplyBorder="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell30" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell31" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell32" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell33" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell34" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell35" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell36" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_7]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell37" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_8]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell38" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
</DataBand>
</ReportPage>
</Report>

View File

@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="08/07/2024 17:04:02" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="estimate_income_expenses" ReferenceName="estimate_income_expenses" DataType="null" Enabled="true">
<Column Name="budget_year" DataType="System.String"/>
<Column Name="date_range" DataType="System.String"/>
<Column Name="faculty" DataType="System.String"/>
<BusinessObjectDataSource Name="data_1" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="amount_1" DataType="System.Decimal"/>
<Column Name="amount_2" DataType="System.Decimal"/>
<Column Name="amount_3" DataType="System.Decimal"/>
<Column Name="amount_4" DataType="System.Decimal"/>
<Column Name="amount_5" DataType="System.Decimal"/>
<Column Name="amount_6" DataType="System.Decimal"/>
<Column Name="amount_7" DataType="System.Decimal"/>
<Column Name="amount_8" DataType="System.Decimal"/>
<Column Name="total_amount" DataType="System.Decimal"/>
<BusinessObjectDataSource Name="data_2" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="amount_1" DataType="System.Decimal"/>
<Column Name="amount_2" DataType="System.Decimal"/>
<Column Name="amount_3" DataType="System.Decimal"/>
<Column Name="amount_4" DataType="System.Decimal"/>
<Column Name="amount_5" DataType="System.Decimal"/>
<Column Name="amount_6" DataType="System.Decimal"/>
<Column Name="amount_7" DataType="System.Decimal"/>
<Column Name="amount_8" DataType="System.Decimal"/>
<Column Name="total_amount" DataType="System.Decimal"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="Page1" PaperWidth="450" PaperHeight="400" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="1625.4" Height="236.25">
<TableObject Name="Table1" Top="132.3" Width="1625.44" Height="103.95">
<TableColumn Name="Column1" Width="434.72"/>
<TableColumn Name="Column2" Width="982.82"/>
<TableColumn Name="Column3" Width="207.9"/>
<TableRow Name="Row1" Height="103.95">
<TableCell Name="Cell1" Border.Lines="All" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell2" Border.Lines="All" Text="งบประมาณรายจ่ายจากเงินรายได้ ประจำปีงบประมาณ พ.ศ. [estimate_income_expenses.budget_year] ประมาณการรายรับและประมาณการรายจ่าย" HorzAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<TextObject Name="Text9" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคปกติ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text17" Left="122.85" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคสมทบ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text18" Left="245.7" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคพิเศษ&#13;&#10;(ความร่วมมือ&#13;&#10;กับเซนทรัลฯ)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text19" Left="368.55" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคปกติ &#13;&#10;(โปรแกรมภาษาจีน)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text20" Left="491.4" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคปกติ &#13;&#10;(ธุรกิจระหว่างประเทศ)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text21" Left="737.1" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ปริญญาโท&#13;&#10;(ภาคปกติ)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text22" Left="859.95" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ปริญญาโท&#13;&#10;(ภาคพิเศษ)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TextObject Name="Text23" Left="614.25" Top="28.35" Width="122.85" Height="75.6" Border.Lines="All" Text="ภาคพิเศษ &#13;&#10;(ความร่วมมือกับซีพี&#13;&#10;ออลล์)" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
</TableCell>
<TableCell Name="Cell3" Border.Lines="All" Text="รวม" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
</TableRow>
</TableObject>
<TextObject Name="Text1" Top="9.45" Width="1625.4" Height="28.35" Text="มหาวิทยาลัยเทคโนโลยีราชมงคลรัตนโกสินทร์" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text14" Top="37.8" Width="1625.4" Height="28.35" Text="งบประมาณรายจ่ายจากเงินรายได้ ประจำปีงบประมาณ พ.ศ. [estimate_income_expenses.budget_year] ( [estimate_income_expenses.date_range] )" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text15" Top="66.15" Width="1625.4" Height="28.35" Text="สรุปประมาณการรายรับ - ประมาณการรายจ่าย จากการจัดการศึกษาระดับปริญญาตรี" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text16" Top="94.5" Width="1625.4" Height="28.35" Text="[estimate_income_expenses.faculty]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="242.6" Width="1625.4">
<DataBand Name="Data2" Top="248.95" Width="1625.4" Height="47.25" DataSource="data_1">
<TableObject Name="Table2" Width="1625.44" Height="47.25">
<TableColumn Name="Column5" Width="37.82"/>
<TableColumn Name="Column6" Width="396.92"/>
<TableColumn Name="Column7" Width="122.85"/>
<TableColumn Name="Column8" Width="122.85"/>
<TableColumn Name="Column21" Width="122.85"/>
<TableColumn Name="Column22" Width="122.85"/>
<TableColumn Name="Column23" Width="122.85"/>
<TableColumn Name="Column24" Width="122.85"/>
<TableColumn Name="Column25" Width="122.85"/>
<TableColumn Name="Column26" Width="122.85"/>
<TableColumn Name="Column27" Width="207.9"/>
<TableRow Name="Row2" Height="47.25">
<TableCell Name="Cell5" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.list]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold" ColSpan="2"/>
<TableCell Name="Cell6" Border.Lines="All" Fill.Color="252, 228, 214" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell7" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.amount_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell8" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.amount_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell21" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.amount_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell22" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.amount_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell23" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.amount_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell24" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.amount_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell25" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.amount_7]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell26" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.amount_8]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell27" Border.Lines="All" Fill.Color="252, 228, 214" Text="[estimate_income_expenses.data_1.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
</TableRow>
</TableObject>
<DataBand Name="Data3" Top="302.55" Width="1625.4" Height="47.25" DataSource="data_2">
<TableObject Name="Table3" Width="1625.44" Height="47.25">
<TableColumn Name="Column28" Width="37.82"/>
<TableColumn Name="Column29" Width="396.92"/>
<TableColumn Name="Column30" Width="122.85"/>
<TableColumn Name="Column31" Width="122.85"/>
<TableColumn Name="Column32" Width="122.85"/>
<TableColumn Name="Column33" Width="122.85"/>
<TableColumn Name="Column34" Width="122.85"/>
<TableColumn Name="Column35" Width="122.85"/>
<TableColumn Name="Column36" Width="122.85"/>
<TableColumn Name="Column37" Width="122.85"/>
<TableColumn Name="Column38" Width="207.9"/>
<TableRow Name="Row3" Height="47.25">
<TableCell Name="Cell28" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.list]" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 14pt" ColSpan="2"/>
<TableCell Name="Cell29" Border.Lines="All" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell30" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell31" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell32" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell33" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell34" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell35" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell36" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_7]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell37" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.amount_8]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell38" Border.Lines="All" Text="[estimate_income_expenses.data_1.data_2.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
</DataBand>
</ReportPage>
</Report>