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

This commit is contained in:
kamonwan taengsuk
2023-08-16 14:03:57 +07:00
parent 9fd0c16fbf
commit e5e9e6614b
17 changed files with 524 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ using FastReport.Export.Pdf;
using Microsoft.AspNetCore.Mvc;
using rmutr_report.Models;
using rmutr_report.Models.Hr;
using rmutr_report.Models.Personnel;
using Swashbuckle.AspNetCore.Annotations;
namespace rmutr_report.Controllers
@@ -1627,6 +1628,93 @@ namespace rmutr_report.Controllers
"investment_budget_summary" + ".xlsx");
}
return Ok();
}
[SwaggerOperation("สรุป MTEF")]
[HttpPost, Route("reports/summary_mtef/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetMtefSumReport([FromRoute] string type,
[FromBody] summary_mtef mtef)
{
var sum1 = mtef.data.Sum(f => f.budget_1);
var sum2 = mtef.data.Sum(f => f.budget_2);
var sum3 = mtef.data.Sum(f => f.budget_3);
var sum4 = mtef.data.Sum(f => f.budget_4);
var sum5 = mtef.data.Sum(f => f.budget_5);
var sum6 = mtef.data.Sum(f => f.budget_6);
var sum7 = mtef.data.Sum(f => f.budget_7);
var sum8 = mtef.data.Sum(f => f.budget_8);
var sum9 = mtef.data.Sum(f => f.budget_9);
mtef.budget_1 = sum1;
mtef.budget_2 = sum2;
mtef.budget_3 = sum3;
mtef.budget_4 = sum4;
mtef.budget_5 = sum5;
mtef.budget_6 = sum6;
mtef.budget_7 = sum7;
mtef.budget_8 = sum8;
mtef.budget_9 = sum9;
var mtefs = new List<summary_mtef>() { mtef };
Report report = new Report();
report.Load(_setting.report_path + "summary_mtef.frx");
report.RegisterData(mtefs, "summary_mtef");
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_mtef" + ".xlsx");
}
return Ok();
}
[SwaggerOperation("MTEF แผนงาน ผลผลิต")]
[HttpPost, Route("reports/mtef_plan/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetMtefPlanReport([FromRoute] string type,
[FromBody] mtef_plan mtef)
{
var mtefs = new List<mtef_plan>() { mtef };
Report report = new Report();
report.Load(_setting.report_path + "mtef_plan.frx");
report.RegisterData(mtefs, "mtef_plan");
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",
"mtef_plan" + ".xlsx");
}
return Ok();
}
}

View File

@@ -0,0 +1,78 @@
using System.Collections.Generic;
namespace rmutr_report.Models.Personnel
{
public class summary_mtef
{
public string budget_year { get; set; }
public string year1 { get; set; }
public string year2 { get; set; }
public string year3 { get; set; }
public string year4 { get; set; }
public string year5 { get; set; }
public string year6 { get; set; }
public string year7 { get; set; }
public string year8 { get; set; }
public List<summary_mtef_detail>data { get; set; }
public decimal? budget_1 { get; set; }
public decimal? budget_2 { get; set; }
public decimal? budget_3 { get; set; }
public decimal? budget_4 { get; set; }
public decimal? budget_5 { get; set; }
public decimal? budget_6 { get; set; }
public decimal? budget_7 { get; set; }
public decimal? budget_8 { get; set; }
public decimal? budget_9 { get; set; }
}
public class summary_mtef_detail {
public string list { get; set; }
public decimal? budget_1 { get; set; }
public decimal? budget_2 { get; set; }
public decimal? budget_3 { get; set; }
public decimal? budget_4 { get; set; }
public decimal? budget_5 { get; set; }
public decimal? budget_6 { get; set; }
public decimal? budget_7 { get; set; }
public decimal? budget_8 { get; set; }
public decimal? budget_9 { get; set; }
}
public class mtef_plan
{
public string budget_project_name_th { get; set; }
public string year1 { get; set; }
public string year2 { get; set; }
public string year3 { get; set; }
public string year4 { get; set; }
public string year5 { get; set; }
public string year6 { get; set; }
public string year7 { get; set; }
public string year8 { get; set; }
public List<mtef_plan_detail>data { get; set; }
public decimal? budget_1 { get; set; }
public decimal? budget_2 { get; set; }
public decimal? budget_3 { get; set; }
public decimal? budget_4 { get; set; }
public decimal? budget_5 { get; set; }
public decimal? budget_6 { get; set; }
public decimal? budget_7 { get; set; }
public decimal? budget_8 { get; set; }
public decimal? budget_9 { get; set; }
}
public class mtef_plan_detail
{
public int? topic_type { get; set; }
public string list { get; set; }
public decimal? budget_1 { get; set; }
public decimal? budget_2 { get; set; }
public decimal? budget_3 { get; set; }
public decimal? budget_4 { get; set; }
public decimal? budget_5 { get; set; }
public decimal? budget_6 { get; set; }
public decimal? budget_7 { get; set; }
public decimal? budget_8 { get; set; }
public decimal? budget_9 { get; set; }
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
99ef312a48329e42fc9ff666e8db622340dcdeb7
6782220b5753377ab086a66662743b009c9fc879

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
51192c87ebcc0d859fc33a38799a58739bd69342
497911b108703c18cc136c48e11db02dfbbd4c5b

View File

@@ -1 +1 @@
16921620219163155
16921693241770036

View File

@@ -0,0 +1,210 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="09/14/2021 15:20:39" ReportInfo.Modified="08/16/2023 13:58:11" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="mtef_plan" ReferenceName="mtef_plan" DataType="null" Enabled="true">
<Column Name="budget_project_name_th" DataType="System.String"/>
<Column Name="year1" DataType="System.String"/>
<Column Name="year2" DataType="System.String"/>
<Column Name="year3" DataType="System.String"/>
<Column Name="year4" DataType="System.String"/>
<Column Name="year5" DataType="System.String"/>
<Column Name="year6" DataType="System.String"/>
<Column Name="year7" DataType="System.String"/>
<Column Name="year8" DataType="System.String"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="topic_type" DataType="System.Int32"/>
<Column Name="list" DataType="System.String"/>
<Column Name="budget_1" DataType="System.Decimal"/>
<Column Name="budget_2" DataType="System.Decimal"/>
<Column Name="budget_3" DataType="System.Decimal"/>
<Column Name="budget_4" DataType="System.Decimal"/>
<Column Name="budget_5" DataType="System.Decimal"/>
<Column Name="budget_6" DataType="System.Decimal"/>
<Column Name="budget_7" DataType="System.Decimal"/>
<Column Name="budget_8" DataType="System.Decimal"/>
<Column Name="budget_9" DataType="System.Decimal"/>
</BusinessObjectDataSource>
<Column Name="budget_1" DataType="System.Decimal"/>
<Column Name="budget_2" DataType="System.Decimal"/>
<Column Name="budget_3" DataType="System.Decimal"/>
<Column Name="budget_4" DataType="System.Decimal"/>
<Column Name="budget_5" DataType="System.Decimal"/>
<Column Name="budget_6" DataType="System.Decimal"/>
<Column Name="budget_7" DataType="System.Decimal"/>
<Column Name="budget_8" DataType="System.Decimal"/>
<Column Name="budget_9" DataType="System.Decimal"/>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="300" PaperHeight="210" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader3" Width="1058.4" Height="94.5">
<TableObject Name="Table4" Top="28.35" Width="1058.4" Height="66.15">
<TableColumn Name="Column32" Width="292.95"/>
<TableColumn Name="Column33" Width="85.05"/>
<TableColumn Name="Column34" Width="680.4"/>
<TableRow Name="Row4" Height="66.15">
<TableCell Name="Cell32" Border.Lines="All" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" Font="TH Sarabun New, 15pt, style=Bold">
<TextObject Name="Text6" Width="85.05" Height="37.8" Border.Lines="Bottom" Text="งบประมาณ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text8" Top="37.8" Width="85.05" Height="28.35" Text="[mtef_plan.year1]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
</TableCell>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" Font="TH Sarabun New, 15pt, style=Bold">
<TextObject Name="Text59" Width="680.4" Height="37.8" Border.Lines="Bottom" Text="[mtef_plan.budget_project_name_th]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text58" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left, Right" Text="[mtef_plan.year2]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text9" Left="85.05" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[mtef_plan.year3]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text85" Left="170.1" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[mtef_plan.year4]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text86" Left="255.15" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[mtef_plan.year5]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text87" Left="340.2" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[mtef_plan.year6]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text88" Left="425.25" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[mtef_plan.year7]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text89" Left="510.3" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[mtef_plan.year8]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text90" Left="595.35" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="รวม" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
</TableCell>
</TableRow>
</TableObject>
<TextObject Name="Text81" Width="453.6" Height="28.35" Text="งบประมาณ MTEF มหาวิทยาลัยเทคโนโลยีราชมงคล รัตนโกสินทร์" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data5" Top="98.99" Width="1058.4">
<DataBand Name="Data6" Top="103.49" Width="1058.4" Height="28.35" DataSource="data">
<TableObject Name="Table5" Width="1058.4" Height="28.35" Border.Lines="All">
<TableColumn Name="Column39" Width="18.9"/>
<TableColumn Name="Column40" Width="274.05"/>
<TableColumn Name="Column41" Width="85.05"/>
<TableColumn Name="Column42" Width="85.05"/>
<TableColumn Name="Column43" Width="85.05"/>
<TableColumn Name="Column44" Width="85.05"/>
<TableColumn Name="Column45" Width="85.05"/>
<TableColumn Name="Column46" Width="85.05"/>
<TableColumn Name="Column47" Width="85.05"/>
<TableColumn Name="Column48" Width="85.05"/>
<TableColumn Name="Column49" Width="85.05"/>
<TableRow Name="Row5" Height="28.35">
<TableCell Name="Cell39" Border.Lines="Left, Top, Bottom" Text="[mtef_plan.data.list]" AutoShrink="FontSize" AutoShrinkMinSize="8" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold" ColSpan="2">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell40" Border.Lines="Right, Top, Bottom" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell41" Border.Lines="All" Text="[mtef_plan.data.budget_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell42" Border.Lines="All" Text="[mtef_plan.data.budget_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell43" Border.Lines="All" Fill.Color="White" Text="[mtef_plan.data.budget_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell44" Border.Lines="All" Text="[mtef_plan.data.budget_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell45" Border.Lines="All" Text="[mtef_plan.data.budget_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell46" Border.Lines="All" Fill.Color="White" Text="[mtef_plan.data.budget_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell47" Border.Lines="All" Text="[mtef_plan.data.budget_7]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell48" Border.Lines="All" Text="[mtef_plan.data.budget_8]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell49" Border.Lines="All" Fill.Color="White" Text="[mtef_plan.data.budget_9]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="[mtef_plan.data.topic_type]== 1" Fill.Color="204, 255, 255" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 2" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[mtef_plan.data.topic_type]== 3" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
<ReportSummaryBand Name="ReportSummary3" Top="136.33" Width="1058.4" Height="28.35">
<TableObject Name="Table6" Width="1058.4" Height="28.35" Border.Lines="All">
<TableColumn Name="Column59" Width="18.9"/>
<TableColumn Name="Column60" Width="274.05"/>
<TableColumn Name="Column61" Width="85.05"/>
<TableColumn Name="Column62" Width="85.05"/>
<TableColumn Name="Column63" Width="85.05"/>
<TableColumn Name="Column64" Width="85.05"/>
<TableColumn Name="Column65" Width="85.05"/>
<TableColumn Name="Column66" Width="85.05"/>
<TableColumn Name="Column67" Width="85.05"/>
<TableColumn Name="Column68" Width="85.05"/>
<TableColumn Name="Column69" Width="85.05"/>
<TableRow Name="Row6" Height="28.35">
<TableCell Name="Cell59" Border.Lines="Left, Top, Bottom" Text="รวม" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold" ColSpan="2"/>
<TableCell Name="Cell60" Border.Lines="Right, Top, Bottom" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell61" Border.Lines="All" Text="[mtef_plan.budget_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell62" Border.Lines="All" Text="[mtef_plan.budget_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell63" Border.Lines="All" Text="[mtef_plan.budget_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell64" Border.Lines="All" Text="[mtef_plan.budget_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell65" Border.Lines="All" Text="[mtef_plan.budget_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell66" Border.Lines="All" Text="[mtef_plan.budget_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="Cell67" Border.Lines="All" Text="[mtef_plan.budget_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="Cell68" Border.Lines="All" Text="[mtef_plan.budget_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="Cell69" Border.Lines="All" Text="[mtef_plan.budget_9]" 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>
</ReportSummaryBand>
</ReportPage>
</Report>

View File

@@ -0,0 +1,145 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="09/14/2021 15:20:39" ReportInfo.Modified="08/16/2023 13:36:53" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="summary_mtef" ReferenceName="summary_mtef" DataType="null" Enabled="true">
<Column Name="budget_year" DataType="System.String"/>
<Column Name="year1" DataType="System.String"/>
<Column Name="year2" DataType="System.String"/>
<Column Name="year3" DataType="System.String"/>
<Column Name="year4" DataType="System.String"/>
<Column Name="year5" DataType="System.String"/>
<Column Name="year6" DataType="System.String"/>
<Column Name="year7" DataType="System.String"/>
<Column Name="year8" DataType="System.String"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="list" DataType="System.String"/>
<Column Name="budget_1" DataType="System.Decimal"/>
<Column Name="budget_2" DataType="System.Decimal"/>
<Column Name="budget_3" DataType="System.Decimal"/>
<Column Name="budget_4" DataType="System.Decimal"/>
<Column Name="budget_5" DataType="System.Decimal"/>
<Column Name="budget_6" DataType="System.Decimal"/>
<Column Name="budget_7" DataType="System.Decimal"/>
<Column Name="budget_8" DataType="System.Decimal"/>
<Column Name="budget_9" DataType="System.Decimal"/>
</BusinessObjectDataSource>
<Column Name="budget_1" DataType="System.Decimal"/>
<Column Name="budget_2" DataType="System.Decimal"/>
<Column Name="budget_3" DataType="System.Decimal"/>
<Column Name="budget_4" DataType="System.Decimal"/>
<Column Name="budget_5" DataType="System.Decimal"/>
<Column Name="budget_6" DataType="System.Decimal"/>
<Column Name="budget_7" DataType="System.Decimal"/>
<Column Name="budget_8" DataType="System.Decimal"/>
<Column Name="budget_9" DataType="System.Decimal"/>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="300" PaperHeight="210" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader3" Width="1058.4" Height="122.85">
<TableObject Name="Table4" Top="56.7" Width="1058.4" Height="66.15">
<TableColumn Name="Column32" Width="292.95"/>
<TableColumn Name="Column33" Width="85.05"/>
<TableColumn Name="Column34" Width="680.4"/>
<TableRow Name="Row4" Height="66.15">
<TableCell Name="Cell32" Border.Lines="All" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" Font="TH Sarabun New, 15pt, style=Bold">
<TextObject Name="Text6" Width="85.05" Height="37.8" Border.Lines="Bottom" Text="งบประมาณ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text8" Top="37.8" Width="85.05" Height="28.35" Text="[summary_mtef.year1]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
</TableCell>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" Font="TH Sarabun New, 15pt, style=Bold">
<TextObject Name="Text59" Width="680.4" Height="37.8" Border.Lines="Bottom" Text="รวมทุกผลผลิต/โครงการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text58" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left, Right" Text="[summary_mtef.year2]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text9" Left="85.05" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[summary_mtef.year3]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text85" Left="170.1" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[summary_mtef.year4]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text86" Left="255.15" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[summary_mtef.year5]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text87" Left="340.2" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[summary_mtef.year6]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text88" Left="425.25" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[summary_mtef.year7]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text89" Left="510.3" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="[summary_mtef.year8]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text90" Left="595.35" Top="37.8" Width="85.05" Height="28.35" Border.Lines="Left" Text="รวม" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
</TableCell>
</TableRow>
</TableObject>
<TextObject Name="Text81" Width="453.6" Height="28.35" Text="งบประมาณ MTEF มหาวิทยาลัยเทคโนโลยีราชมงคล รัตนโกสินทร์" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text83" Top="28.35" Width="1058.4" Height="28.35" Text="ประจำปีงบประมาณ พ.ศ. [summary_mtef.budget_year]" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text84" Left="973.35" Width="85.05" Height="28.35" Text="งปม.แผ่นดิน" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data5" Top="127.34" Width="1058.4">
<DataBand Name="Data6" Top="131.84" Width="1058.4" Height="28.35" DataSource="data">
<TableObject Name="Table5" Width="1058.4" Height="28.35" Border.Lines="All">
<TableColumn Name="Column39" Width="18.9"/>
<TableColumn Name="Column40" Width="274.05"/>
<TableColumn Name="Column41" Width="85.05"/>
<TableColumn Name="Column42" Width="85.05"/>
<TableColumn Name="Column43" Width="85.05"/>
<TableColumn Name="Column44" Width="85.05"/>
<TableColumn Name="Column45" Width="85.05"/>
<TableColumn Name="Column46" Width="85.05"/>
<TableColumn Name="Column47" Width="85.05"/>
<TableColumn Name="Column48" Width="85.05"/>
<TableColumn Name="Column49" Width="85.05"/>
<TableRow Name="Row5" Height="28.35">
<TableCell Name="Cell39" Border.Lines="Left, Top, Bottom" Text="[summary_mtef.data.list]" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold" ColSpan="2"/>
<TableCell Name="Cell40" Border.Lines="Right, Top, Bottom" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell41" Border.Lines="All" Text="[summary_mtef.data.budget_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell42" Border.Lines="All" Text="[summary_mtef.data.budget_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell43" Border.Lines="All" Fill.Color="White" Text="[summary_mtef.data.budget_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell44" Border.Lines="All" Text="[summary_mtef.data.budget_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell45" Border.Lines="All" Text="[summary_mtef.data.budget_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell46" Border.Lines="All" Fill.Color="White" Text="[summary_mtef.data.budget_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell47" Border.Lines="All" Text="[summary_mtef.data.budget_7]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell48" Border.Lines="All" Text="[summary_mtef.data.budget_8]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell49" Border.Lines="All" Fill.Color="White" Text="[summary_mtef.data.budget_9]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
<ReportSummaryBand Name="ReportSummary3" Top="164.68" Width="1058.4" Height="28.35">
<TableObject Name="Table6" Width="1058.4" Height="28.35" Border.Lines="All">
<TableColumn Name="Column59" Width="18.9"/>
<TableColumn Name="Column60" Width="274.05"/>
<TableColumn Name="Column61" Width="85.05"/>
<TableColumn Name="Column62" Width="85.05"/>
<TableColumn Name="Column63" Width="85.05"/>
<TableColumn Name="Column64" Width="85.05"/>
<TableColumn Name="Column65" Width="85.05"/>
<TableColumn Name="Column66" Width="85.05"/>
<TableColumn Name="Column67" Width="85.05"/>
<TableColumn Name="Column68" Width="85.05"/>
<TableColumn Name="Column69" Width="85.05"/>
<TableRow Name="Row6" Height="28.35">
<TableCell Name="Cell59" Border.Lines="Left, Top, Bottom" Fill.Color="242, 219, 219" Text="รวมทุกผลผลิต ทุกบูรณาการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold" ColSpan="2"/>
<TableCell Name="Cell60" Border.Lines="Right, Top, Bottom" Fill.Color="242, 219, 219" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell61" Border.Lines="All" Fill.Color="242, 219, 219" Text="[summary_mtef.budget_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell62" Border.Lines="All" Fill.Color="242, 219, 219" Text="[summary_mtef.budget_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell63" Border.Lines="All" Fill.Color="242, 219, 219" Text="[summary_mtef.budget_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell64" Border.Lines="All" Fill.Color="242, 219, 219" Text="[summary_mtef.budget_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell65" Border.Lines="All" Fill.Color="242, 219, 219" Text="[summary_mtef.budget_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold">
<Highlight>
<Condition Expression="Value &lt; 0" TextFill.Color="DarkRed" Font="Arial, 10pt"/>
</Highlight>
</TableCell>
<TableCell Name="Cell66" Border.Lines="All" Fill.Color="242, 219, 219" Text="[summary_mtef.budget_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell67" Border.Lines="All" Fill.Color="242, 219, 219" Text="[summary_mtef.budget_7]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell68" Border.Lines="All" Fill.Color="242, 219, 219" Text="[summary_mtef.budget_8]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TableCell Name="Cell69" Border.Lines="All" Fill.Color="242, 219, 219" Text="[summary_mtef.budget_9]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
</TableRow>
</TableObject>
</ReportSummaryBand>
</ReportPage>
</Report>