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

This commit is contained in:
kamonwan taengsuk
2023-10-26 17:54:19 +07:00
parent bcf6cb2b14
commit 8692fa50e6
13 changed files with 485 additions and 16 deletions

View File

@@ -1010,6 +1010,49 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("ค่าประกันภัยรถยนต์ราชการ")]
[HttpPost, Route("reports/budget_progress_insurances/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetInsurancesListReport([FromRoute] string type,
[FromBody] budget_progress_insurances insurances)
{
foreach (var detail in insurances.data)
{
if (detail != null)
{
detail.total_amount = (detail.amount + detail.car_act);
}
}
var _insurances = new List<budget_progress_insurances>() { insurances };
Report report = new Report();
report.Load(_setting.report_path + "budget_progress_insurances.frx");
report.RegisterData(_insurances, "budget_progress_insurances");
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",
"ค่าประกันภัยรถยนต์ราชการ" + ".xlsx");
}
return Ok();
}
[SwaggerOperation("ค่าคณะกรรมการตรวจสอบพัสดุในงานจ้างก่อสร้าง,ค่าคณะกรรมการอื่น ๆ")]
[HttpPost, Route("reports/parcel_inspection_committee/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
@@ -1064,8 +1107,8 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("ค่าจ้างให้บริการงานจ้างออกแบบ")]
[SwaggerOperation("ค่าจ้างให้บริการงานจ้างออกแบบ")]
[HttpPost, Route("reports/design_services/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetDesignServicesReport([FromRoute] string type,
@@ -1083,7 +1126,7 @@ namespace rmutr_report.Controllers
if (detail != null)
{
detail.unit = detail.quantity_work + per;
detail.amount = (detail.quantity * detail.quantity_person * detail.quantity_work)/100;
detail.amount = (detail.quantity * detail.quantity_person * detail.quantity_work) / 100;
}
}
@@ -1122,6 +1165,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("ค่าอาหารทำการนอกเวลา 1 วันทำการปกติ 2 วันหยุดราชการ")]
[HttpPost, Route("reports/meal_costs_outside/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
@@ -1129,23 +1173,26 @@ namespace rmutr_report.Controllers
[FromBody] meal_costs_outside mealCostsOutsides)
{
var meals = mealCostsOutsides.data.ToList();
if (mealCostsOutsides.topic_type==1)
if (mealCostsOutsides.topic_type == 1)
{
mealCostsOutsides.topic = "วันทำการปกติ";
}
if (mealCostsOutsides.topic_type==2)
if (mealCostsOutsides.topic_type == 2)
{
mealCostsOutsides.topic = "วันหยุดราชการ";
}
foreach (var detail in mealCostsOutsides.data)
{
detail.total_amount = (detail.day*detail.person*detail.amount);
detail.total_amount = (detail.day * detail.person * detail.amount);
}
mealCostsOutsides.day = mealCostsOutsides.data.Sum(d => d.day);
mealCostsOutsides.person = mealCostsOutsides.data.Sum(d => d.person);
mealCostsOutsides.amount = mealCostsOutsides.data.Sum(d => d.amount);
mealCostsOutsides.total_amount = meals.Sum(f => f.total_amount);
var meal = new List<meal_costs_outside>() { mealCostsOutsides };
Report report = new Report();
report.Load(_setting.report_path + "meal_costs_outside.frx");
@@ -1174,40 +1221,45 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("ค่าเบี้ยเลี้ยง ที่พัก พาหนะ")]
[SwaggerOperation("ค่าเบี้ยเลี้ยง ที่พัก พาหนะ")]
[HttpPost, Route("reports/expense/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetExpenseReport([FromRoute] string type,
[FromBody] expense _expense)
{
var meals = _expense.data.ToList();
if (_expense.topic_type==1)
if (_expense.topic_type == 1)
{
_expense.topic = "ค่าเบี้ยเลี้ยง";
_expense.text_1 = "จำนวนเงิน/วัน";
_expense.text_2 = "จำนวน (วัน)";
}
if (_expense.topic_type==2)
if (_expense.topic_type == 2)
{
_expense.topic = "ค่าเช่าที่พัก";
_expense.text_1 = "จำนวนเงิน/คน/คืน";
_expense.text_2 = "จำนวนวัน";
}
if (_expense.topic_type==3)
if (_expense.topic_type == 3)
{
_expense.topic = "ค่าพาหนะ";
_expense.text_1 = "จำนวนเงิน";
_expense.text_2 = "จำนวนครั้ง";
}
foreach (var detail in _expense.data)
{
detail.total_amount = (detail.quantity_1*detail.quantity_2*detail.quantity_3);
detail.total_amount = (detail.quantity_1 * detail.quantity_2 * detail.quantity_3);
}
_expense.quantity_1 = _expense.data.Sum(d => d.quantity_1);
_expense.quantity_2 = _expense.data.Sum(d => d.quantity_2);
_expense.quantity_3 = _expense.data.Sum(d => d.quantity_3);
_expense.total_amount = meals.Sum(f => f.total_amount);
var expenses = new List<expense>() { _expense };
Report report = new Report();
report.Load(_setting.report_path + "expense.frx");
@@ -1236,5 +1288,59 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("แบบคำนวณค่าวัสดุการศึกษา")]
[HttpPost, Route("reports/material_edu_cal_form/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetCalFormReport([FromRoute] string type,
[FromBody] material_edu_cal_form calForm)
{
foreach (var data in calForm.data)
{
int row_no = 1;
var total = data.data_detail.ToList();
foreach (var detail2 in data.data_detail)
{
if (detail2.topic_type == 2)
{
detail2.no = row_no.ToString();
row_no++;
// detail2.total_amount_1 = detail2.amount_1*detail2.rate_1;
// detail2.total_amount_2 = detail2.amount_2*detail2.rate_2;
// detail2.total_all_amount = detail2.total_amount_1 + detail2.total_amount_2;
}
calForm.total_amount = calForm.data.Sum(d => d.amount);
}
}
var _cal = new List<material_edu_cal_form>() { calForm };
Report report = new Report();
report.Load(_setting.report_path + "material_edu_cal_form.frx");
report.RegisterData(_cal, "material_edu_cal_form");
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",
"แบบคำนวณค่าวัสดุการศึกษา" + ".xlsx");
}
return Ok();
}
}
}

View File

@@ -0,0 +1,19 @@
using System.Collections.Generic;
namespace rmutr_report.Models
{
public class budget_progress_insurances
{
public string budget_year { get; set; }
public List<budget_progress_insurances_detail> data { get; set; }
}
public class budget_progress_insurances_detail
{
public string car_number { get; set; }
public decimal? amount { get; set; }
public decimal? car_act { get; set; }
public string month { get; set; }
public decimal? total_amount { get; set; }
}
}

View File

@@ -0,0 +1,45 @@
using System.Collections.Generic;
namespace rmutr_report.Models
{
public class material_edu_cal_form
{
public string budget_year { get; set; }
public string faculty_name_th { get; set; }
public string area { get; set; }
public List<material_edu_cal_form_detail> data { get; set; }
public decimal? total_amount { get; set; }
}
public class material_edu_cal_form_detail
{
public string faculty_name_th { get; set; }
public string area { get; set; }
public string curriculum_name_th { get; set; }
public string semester_1 { get; set; }
public string semester_2 { get; set; }
public string year_1 { get; set; }
public string year_2 { get; set; }
public decimal? amount { get; set; }
public List<material_edu_cal_form_detail2> data_detail { get; set; }
}
public class material_edu_cal_form_detail2
{
public int? topic_type { get; set; }
public string no { get; set; }
public string topic { get; set; }
// public string semester_1 { get; set; }
// public string semester_2 { get; set; }
// public string year_1 { get; set; }
// public string year_2 { get; set; }
public decimal? amount_1 { get; set; }
public decimal? rate_1 { get; set; }
public decimal? total_amount_1 { get; set; }
public decimal? amount_2 { get; set; }
public decimal? rate_2 { get; set; }
public decimal? total_amount_2 { get; set; }
public decimal? total_all_amount { get; set; }
}
}

View File

@@ -1 +1 @@
0389217213dc28262c345e10fcde26c9d129a140
4fbc03ee83ba8c63e3851e021e2d1fb743067dae

View File

@@ -112,6 +112,22 @@
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\budget_expenditure_report_from_revenue_v2.frx))</OriginalItemSpec>
</StaticWebAsset>
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\budget_progress_insurances.frx))">
<SourceType>Package</SourceType>
<SourceId>rmutr_report</SourceId>
<ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot>
<BasePath>_content/rmutr_report</BasePath>
<RelativePath>reports\budget_progress_insurances.frx</RelativePath>
<AssetKind></AssetKind>
<AssetMode></AssetMode>
<AssetRole></AssetRole>
<RelatedAsset></RelatedAsset>
<AssetTraitName></AssetTraitName>
<AssetTraitValue></AssetTraitValue>
<CopyToOutputDirectory></CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\budget_progress_insurances.frx))</OriginalItemSpec>
</StaticWebAsset>
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\budget_projects.frx))">
<SourceType>Package</SourceType>
<SourceId>rmutr_report</SourceId>
@@ -832,6 +848,22 @@
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\material_education.frx))</OriginalItemSpec>
</StaticWebAsset>
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\material_edu_cal_form.frx))">
<SourceType>Package</SourceType>
<SourceId>rmutr_report</SourceId>
<ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot>
<BasePath>_content/rmutr_report</BasePath>
<RelativePath>reports\material_edu_cal_form.frx</RelativePath>
<AssetKind></AssetKind>
<AssetMode></AssetMode>
<AssetRole></AssetRole>
<RelatedAsset></RelatedAsset>
<AssetTraitName></AssetTraitName>
<AssetTraitValue></AssetTraitValue>
<CopyToOutputDirectory></CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\material_edu_cal_form.frx))</OriginalItemSpec>
</StaticWebAsset>
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\material_electric.frx))">
<SourceType>Package</SourceType>
<SourceId>rmutr_report</SourceId>

View File

@@ -1 +1 @@
48a23f2aa6cf7fe9461bd4b5281978a6a95e8cb8
c5f222989e07e2a5023c6ece5f0951ac96f2245c

View File

@@ -1 +1 @@
16982482975361382
16983176231557303

View File

@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="10/26/2023 17:48:51" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="budget_progress_insurances" ReferenceName="budget_progress_insurances" DataType="null" Enabled="true">
<Column Name="budget_year" DataType="System.String"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="car_number" DataType="System.String"/>
<Column Name="month" DataType="System.String"/>
<Column Name="amount" DataType="System.Decimal"/>
<Column Name="car_act" DataType="System.Decimal"/>
<Column Name="total_amount" DataType="System.Decimal"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
<Total Name="Total" Expression="[budget_progress_insurances.data.total_amount]" Evaluator="Data2" PrintOn="ReportSummary1"/>
</Dictionary>
<ReportPage Name="Sheet1" PaperWidth="310" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="1096.2" Height="122.85">
<TableObject Name="Table1" Top="75.6" Width="1096.24" Height="47.25">
<TableColumn Name="Column1" Width="66.17"/>
<TableColumn Name="Column2" Width="330.77"/>
<TableColumn Name="Column3" Width="170.1"/>
<TableColumn Name="Column4" Width="170.1"/>
<TableColumn Name="Column19" Width="198.45"/>
<TableColumn Name="Column20" Width="160.65"/>
<TableRow Name="Row1" Height="47.25">
<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="ค่าประกันภัยรถราชการ" 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="Cell19" Border.Lines="All" Fill.Color="Gainsboro" Text="เดือนที่จ่าย" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell20" Border.Lines="All" Fill.Color="Gainsboro" Text="รวมราคา" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
<TextObject Name="Text1" Width="1096.2" Height="37.8" Text="รายการค่าใช้สอย(คำของบประมาณรายจ่าย ปี [budget_progress_insurances.budget_year])" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text2" Top="37.8" Width="1096.2" Height="37.8" Text="ค่าประกันภัยรถยนต์ราชการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="128.33" Width="1096.2">
<DataBand Name="Data2" Top="133.81" 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="330.77"/>
<TableColumn Name="Column17" Width="170.1"/>
<TableColumn Name="Column18" Width="170.1"/>
<TableColumn Name="Column21" Width="198.45"/>
<TableColumn Name="Column22" Width="160.65"/>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell15" Border.Lines="All" Text="[Row#]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<TableCell Name="Cell16" Border.Lines="All" Text="[budget_progress_insurances.data.car_number]" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<TableCell Name="Cell17" Border.Lines="All" Text="[budget_progress_insurances.data.amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<TableCell Name="Cell18" Border.Lines="All" Text="[budget_progress_insurances.data.car_act]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<TableCell Name="Cell21" Border.Lines="All" Text="[budget_progress_insurances.data.month]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<TableCell Name="Cell22" Border.Lines="All" Text="[budget_progress_insurances.data.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
<ReportSummaryBand Name="ReportSummary1" Top="177.09" Width="1096.2" Height="37.8">
<TableObject Name="Table3" Width="1096.24" Height="37.8">
<TableColumn Name="Column23" Width="66.17"/>
<TableColumn Name="Column24" Width="444.17"/>
<TableColumn Name="Column25" Width="113.4"/>
<TableColumn Name="Column26" Width="170.1"/>
<TableColumn Name="Column27" Width="141.75"/>
<TableColumn Name="Column28" Width="160.65"/>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell23" Border.Lines="All" Text="จำนวนเงินรวม" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt" ColSpan="5"/>
<TableCell Name="Cell24" Border.Lines="All" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell25" Border.Lines="All" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell26" Border.Lines="All" AutoShrink="FontSize" AutoShrinkMinSize="9" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold">
<Formats>
<GeneralFormat/>
<GeneralFormat/>
<GeneralFormat/>
</Formats>
</TableCell>
<TableCell Name="Cell27" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableCell Name="Cell28" Border.Lines="All" Text="[Total]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</TableRow>
</TableObject>
</ReportSummaryBand>
</ReportPage>
</Report>

View File

@@ -0,0 +1,185 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="10/26/2023 17:17:08" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="material_edu_cal_form" ReferenceName="material_edu_cal_form" DataType="null" Enabled="true">
<Column Name="budget_year" DataType="System.Int32"/>
<Column Name="faculty_name_th" DataType="System.String"/>
<Column Name="area" DataType="System.String"/>
<Column Name="total_amount" DataType="System.Decimal"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="faculty_name_th" DataType="System.String"/>
<Column Name="area" DataType="System.String"/>
<Column Name="curriculum_name_th" DataType="System.String"/>
<Column Name="semester_1" DataType="System.String"/>
<Column Name="semester_2" DataType="System.String"/>
<Column Name="year_1" DataType="System.String"/>
<Column Name="year_2" DataType="System.String"/>
<Column Name="amount" DataType="System.Decimal"/>
<BusinessObjectDataSource Name="data_detail" DataType="null" Enabled="true">
<Column Name="topic_type" DataType="System.Int32"/>
<Column Name="no" DataType="System.String"/>
<Column Name="topic" DataType="System.String"/>
<Column Name="amount_1" DataType="System.Decimal"/>
<Column Name="rate_1" DataType="System.Decimal"/>
<Column Name="total_amount_1" DataType="System.Decimal"/>
<Column Name="amount_2" DataType="System.Decimal"/>
<Column Name="rate_2" DataType="System.Decimal"/>
<Column Name="total_amount_2" DataType="System.Decimal"/>
<Column Name="total_all_amount" DataType="System.Decimal"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="Sheet1" Landscape="true" PaperWidth="350" PaperHeight="450" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="1247.4" Height="113.4">
<TextObject Name="Text1" Width="1247.4" Height="37.8" Text="แบบคำนวณค่าวัสดุการศึกษา การจัดทำคำเสนอของบประมาณรายจ่ายประจำปี [material_edu_cal_form.budget_year]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text2" Top="37.8" Width="1247.4" Height="37.8" Text="[material_edu_cal_form.faculty_name_th]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text3" Top="75.6" Width="1247.4" Height="37.8" Text="ค่าวัสดุการศึกษา เสนอขอตั้งงบประมาณเป็นจำนวนเงินทั้งสิ้น ([material_edu_cal_form.area])" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="118.88" Width="1247.4">
<DataBand Name="Data3" Top="124.36" Width="1247.4" Height="37.8" DataSource="data">
<TextObject Name="Text4" Width="557.55" Height="37.8" Text="[material_edu_cal_form.data.faculty_name_th] [material_edu_cal_form.data.area] ([material_edu_cal_form.data.curriculum_name_th])" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text5" Left="557.55" Width="349.65" Height="37.8" Text="รวมงบประมาณภาคการศึกษาที่ [material_edu_cal_form.data.semester_1]/[material_edu_cal_form.data.year_1] และ[material_edu_cal_form.data.semester_2]/[material_edu_cal_form.data.year_2]" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text6" Left="907.2" Width="132.3" Height="37.8" Text="[material_edu_cal_form.data.amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<DataFooterBand Name="DataFooter1" Top="167.64" Width="1247.4" Height="47.25">
<TextObject Name="Text7" Left="557.55" Width="349.65" Height="37.8" Text="รวมงบประมาณทั้งสิ้น" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text8" Left="907.2" Width="132.3" Height="37.8" Border.Lines="Top, Bottom" Text="[material_edu_cal_form.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
</DataFooterBand>
</DataBand>
<DataBand Name="Data4" Top="220.37" Width="1247.4" DataSource="data">
<DataBand Name="Data5" Top="325.83" Width="1247.4" Height="47.25" DataSource="data_detail">
<TableObject Name="Table19" Width="1247.4" Height="47.25" Border.Lines="All">
<TableColumn Name="Column161" Width="28.35"/>
<TableColumn Name="Column162" Width="453.6"/>
<TableColumn Name="Column163" Width="103.95"/>
<TableColumn Name="Column164" Width="103.95"/>
<TableColumn Name="Column165" Width="103.95"/>
<TableColumn Name="Column166" Width="103.95"/>
<TableColumn Name="Column167" Width="103.95"/>
<TableColumn Name="Column168" Width="103.95"/>
<TableColumn Name="Column169" Width="141.75"/>
<TableRow Name="Row19" Height="47.25">
<TableCell Name="Cell221" Border.Lines="Left, Top, Bottom" Text="[material_edu_cal_form.data.data_detail.no]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt">
<Formats>
<GeneralFormat/>
<GeneralFormat/>
</Formats>
<Highlight>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 1" Fill.Color="Silver" Font="TH Sarabun New, 18pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 2" Border.Lines="All" Font="Arial, 10pt" ApplyBorder="true" ApplyTextFill="false"/>
</Highlight>
</TableCell>
<TableCell Name="Cell222" Border.Lines="Right, Top, Bottom" Text="[material_edu_cal_form.data.data_detail.topic]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 16pt">
<Highlight>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 1" Fill.Color="Silver" Font="TH Sarabun New, 18pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell223" Border.Lines="All" Text="[material_edu_cal_form.data.data_detail.amount_1]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt">
<Formats>
<NumberFormat DecimalDigits="0"/>
<GeneralFormat/>
</Formats>
<Highlight>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 1" Fill.Color="Silver" Font="TH Sarabun New, 18pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell224" Border.Lines="All" Text="[material_edu_cal_form.data.data_detail.rate_1]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt">
<Formats>
<NumberFormat DecimalDigits="0"/>
<GeneralFormat/>
</Formats>
<Highlight>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 1" Fill.Color="Silver" Font="TH Sarabun New, 18pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell225" Border.Lines="All" Text="[material_edu_cal_form.data.data_detail.total_amount_1]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt">
<Formats>
<NumberFormat DecimalDigits="0"/>
<GeneralFormat/>
</Formats>
<Highlight>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 1" Fill.Color="Silver" Font="TH Sarabun New, 18pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell226" Border.Lines="All" Text="[material_edu_cal_form.data.data_detail.amount_2]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt">
<Formats>
<NumberFormat DecimalDigits="0"/>
<GeneralFormat/>
</Formats>
<Highlight>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 1" Fill.Color="Silver" Font="TH Sarabun New, 18pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell227" Border.Lines="All" Text="[material_edu_cal_form.data.data_detail.rate_2]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt">
<Formats>
<NumberFormat DecimalDigits="0"/>
<GeneralFormat/>
</Formats>
<Highlight>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 1" Fill.Color="Silver" Font="TH Sarabun New, 18pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell228" Border.Lines="All" Text="[material_edu_cal_form.data.data_detail.total_amount_2]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt">
<Formats>
<NumberFormat DecimalDigits="0"/>
<GeneralFormat/>
</Formats>
<Highlight>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 1" Fill.Color="Silver" Font="TH Sarabun New, 18pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell229" Border.Lines="All" Text="[material_edu_cal_form.data.data_detail.total_all_amount]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 16pt">
<Formats>
<NumberFormat DecimalDigits="0"/>
<GeneralFormat/>
</Formats>
<Highlight>
<Condition Expression="[material_edu_cal_form.data.data_detail.topic_type]== 1" Fill.Color="Silver" Font="TH Sarabun New, 18pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
</TableRow>
</TableObject>
<DataHeaderBand Name="DataHeader2" Top="225.85" Width="1247.4" Height="94.5">
<TableObject Name="Table3" Width="1247.44" Height="94.5">
<TableColumn Name="Column22" Width="481.97"/>
<TableColumn Name="Column23" Width="311.87"/>
<TableColumn Name="Column24" Width="311.85"/>
<TableColumn Name="Column25" Width="141.75"/>
<TableRow Name="Row3" Height="94.5">
<TableCell Name="Cell22" Border.Lines="All" Text="รายการ" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
<TableCell Name="Cell23" Border.Lines="Left, Top, Bottom" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt">
<TextObject Name="Text9" Width="311.85" Height="37.8" Border.Lines="Right" Text="ภาคการศึกษา [material_edu_cal_form.data.semester_1]/[material_edu_cal_form.data.year_1]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
</TableCell>
<TableCell Name="Cell24" Border.Lines="Right, Top, Bottom" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt">
<TextObject Name="Text10" Width="311.85" Height="37.8" Text="ภาคการศึกษา [material_edu_cal_form.data.semester_2]/[material_edu_cal_form.data.year_2]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
</TableCell>
<TableCell Name="Cell25" Border.Lines="All" Text="รวมทั้งสิ้น" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="9" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt"/>
</TableRow>
</TableObject>
<TableObject Name="Table4" Left="481.95" Top="37.8" Width="311.89" Height="56.7">
<TableColumn Name="Column26" Width="103.97"/>
<TableColumn Name="Column27" Width="103.97"/>
<TableColumn Name="Column28" Width="103.95"/>
<TableRow Name="Row4" Height="56.7">
<TableCell Name="Cell26" Border.Lines="All" Text="จำนวนนักศึกษา&#13;&#10;(คน)" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell27" Border.Lines="All" Text="อัตรา&#13;&#10;(บาท)" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell28" Border.Lines="All" Text="รวมทั้งสิ้น&#13;&#10;(บาท)" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
</TableRow>
</TableObject>
<TableObject Name="Table5" Left="793.8" Top="37.8" Width="311.89" Height="56.7">
<TableColumn Name="Column29" Width="103.97"/>
<TableColumn Name="Column30" Width="103.97"/>
<TableColumn Name="Column31" Width="103.95"/>
<TableRow Name="Row5" Height="56.7">
<TableCell Name="Cell29" Border.Lines="All" Text="จำนวนนักศึกษา&#13;&#10;(คน)" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell30" Border.Lines="All" Text="อัตรา&#13;&#10;(บาท)" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell31" Border.Lines="All" Text="รวมทั้งสิ้น&#13;&#10;(บาท)" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
</TableRow>
</TableObject>
</DataHeaderBand>
<DataFooterBand Name="DataFooter2" Top="378.56" Width="1247.4" Height="18.9"/>
</DataBand>
</DataBand>
</DataBand>
</ReportPage>
</Report>