This commit is contained in:
@@ -22,6 +22,7 @@ namespace rmutr_report.Controllers
|
|||||||
{
|
{
|
||||||
this._setting = setting;
|
this._setting = setting;
|
||||||
}
|
}
|
||||||
|
|
||||||
[SwaggerOperation("ร.3 คำชี้แจงงบดำเนินงาน")]
|
[SwaggerOperation("ร.3 คำชี้แจงงบดำเนินงาน")]
|
||||||
[HttpPost, Route("reports/operating_budget_ro_three/{type}")]
|
[HttpPost, Route("reports/operating_budget_ro_three/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -65,6 +66,7 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
[SwaggerOperation("รายงาน ค่าตอบแทนหัวหน้าภาควิชา")]
|
[SwaggerOperation("รายงาน ค่าตอบแทนหัวหน้าภาควิชา")]
|
||||||
[HttpPost, Route("reports/compensation_head_department/{type}")]
|
[HttpPost, Route("reports/compensation_head_department/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -115,6 +117,7 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
[SwaggerOperation("รายงาน ค่าตอบแทนหัวหน้าสาขาวิชา")]
|
[SwaggerOperation("รายงาน ค่าตอบแทนหัวหน้าสาขาวิชา")]
|
||||||
[HttpPost, Route("reports/compensation_head_major/{type}")]
|
[HttpPost, Route("reports/compensation_head_major/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -165,6 +168,7 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
[SwaggerOperation("รายงานค่าสอนพิเศษ")]
|
[SwaggerOperation("รายงานค่าสอนพิเศษ")]
|
||||||
[HttpPost, Route("reports/teaching_fee_extra_ro_three/{type}")]
|
[HttpPost, Route("reports/teaching_fee_extra_ro_three/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -179,12 +183,12 @@ namespace rmutr_report.Controllers
|
|||||||
d.total = d.month_1 + d.month_2 + d.month_3 + d.month_4 + d.month_5 + d.month_6 + d.month_7 +
|
d.total = d.month_1 + d.month_2 + d.month_3 + d.month_4 + d.month_5 + d.month_6 + d.month_7 +
|
||||||
d.month_8 + d.month_9 +
|
d.month_8 + d.month_9 +
|
||||||
d.month_10 + d.month_11 + d.month_12;
|
d.month_10 + d.month_11 + d.month_12;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
three.month_1 = three.data.Sum(d => d.month_1);
|
three.month_1 = three.data.Sum(d => d.month_1);
|
||||||
three.month_2 = three.data.Sum(d => d.month_2);
|
three.month_2 = three.data.Sum(d => d.month_2);
|
||||||
three.month_3 = three.data.Sum(d => d.month_3);
|
three.month_3 = three.data.Sum(d => d.month_3);
|
||||||
three.month_4= three.data.Sum(d => d.month_4);
|
three.month_4 = three.data.Sum(d => d.month_4);
|
||||||
three.month_5 = three.data.Sum(d => d.month_5);
|
three.month_5 = three.data.Sum(d => d.month_5);
|
||||||
three.month_6 = three.data.Sum(d => d.month_6);
|
three.month_6 = three.data.Sum(d => d.month_6);
|
||||||
three.month_7 = three.data.Sum(d => d.month_7);
|
three.month_7 = three.data.Sum(d => d.month_7);
|
||||||
@@ -193,7 +197,7 @@ namespace rmutr_report.Controllers
|
|||||||
three.month_10 = three.data.Sum(d => d.month_10);
|
three.month_10 = three.data.Sum(d => d.month_10);
|
||||||
three.month_11 = three.data.Sum(d => d.month_11);
|
three.month_11 = three.data.Sum(d => d.month_11);
|
||||||
three.month_12 = three.data.Sum(d => d.month_12);
|
three.month_12 = three.data.Sum(d => d.month_12);
|
||||||
three.total = s.Sum(d=>d.total);
|
three.total = s.Sum(d => d.total);
|
||||||
|
|
||||||
var threes = new List<teaching_fee_extra_ro_three>() { three };
|
var threes = new List<teaching_fee_extra_ro_three>() { three };
|
||||||
|
|
||||||
@@ -233,12 +237,12 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
[SwaggerOperation("รายงานค่าสอน")]
|
[SwaggerOperation("รายงานค่าสอน")]
|
||||||
[HttpPost, Route("reports/teaching_fee_ro_three/{type}")]
|
[HttpPost, Route("reports/teaching_fee_ro_three/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
public IActionResult GetTeachReport([FromRoute] string type, [FromBody] teaching_fee_ro_three three)
|
public IActionResult GetTeachReport([FromRoute] string type, [FromBody] teaching_fee_ro_three three)
|
||||||
{
|
{
|
||||||
|
|
||||||
// three.table_1_ba_2 = three.data.Sum(d => d.number_of_hours_ba_2);
|
// three.table_1_ba_2 = three.data.Sum(d => d.number_of_hours_ba_2);
|
||||||
// three.table_1_ma_2 = three.data.Sum(d => d.number_of_hours_ma_2);
|
// three.table_1_ma_2 = three.data.Sum(d => d.number_of_hours_ma_2);
|
||||||
// three.table_1_teaching_fee_1 = three.data.Sum(d => d.teaching_fee_1);
|
// three.table_1_teaching_fee_1 = three.data.Sum(d => d.teaching_fee_1);
|
||||||
@@ -283,6 +287,7 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
[SwaggerOperation("รายงานค่าสอนเกินภาระงาน")]
|
[SwaggerOperation("รายงานค่าสอนเกินภาระงาน")]
|
||||||
[HttpPost, Route("reports/teaching_fee_workload/{type}")]
|
[HttpPost, Route("reports/teaching_fee_workload/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -336,6 +341,7 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
// [SwaggerOperation("รายงานค่าวัสดุสำนักงาน")]
|
// [SwaggerOperation("รายงานค่าวัสดุสำนักงาน")]
|
||||||
// [HttpPost, Route("reports/material_office/{type}")]
|
// [HttpPost, Route("reports/material_office/{type}")]
|
||||||
// [ApiExplorerSettings(GroupName = "reports")]
|
// [ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -441,8 +447,6 @@ namespace rmutr_report.Controllers
|
|||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
public IActionResult GetMaterial3Report([FromRoute] string type, [FromBody] material_education three)
|
public IActionResult GetMaterial3Report([FromRoute] string type, [FromBody] material_education three)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
var threes = new List<material_education>() { three };
|
var threes = new List<material_education>() { three };
|
||||||
|
|
||||||
Report report = new Report();
|
Report report = new Report();
|
||||||
@@ -481,6 +485,7 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
// [SwaggerOperation("รายงานวัสดุหนังสือ")]
|
// [SwaggerOperation("รายงานวัสดุหนังสือ")]
|
||||||
// [HttpPost, Route("reports/material_book/{type}")]
|
// [HttpPost, Route("reports/material_book/{type}")]
|
||||||
// [ApiExplorerSettings(GroupName = "reports")]
|
// [ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -636,8 +641,6 @@ namespace rmutr_report.Controllers
|
|||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
public IActionResult GetMaterial7Report([FromRoute] string type, [FromBody] material_fuel_lubricant three)
|
public IActionResult GetMaterial7Report([FromRoute] string type, [FromBody] material_fuel_lubricant three)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
var threes = new List<material_fuel_lubricant>() { three };
|
var threes = new List<material_fuel_lubricant>() { three };
|
||||||
|
|
||||||
Report report = new Report();
|
Report report = new Report();
|
||||||
@@ -676,6 +679,7 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
// [SwaggerOperation("รายงานวัสดุไฟฟ้าและวิทยุ")]
|
// [SwaggerOperation("รายงานวัสดุไฟฟ้าและวิทยุ")]
|
||||||
// [HttpPost, Route("reports/material_electric/{type}")]
|
// [HttpPost, Route("reports/material_electric/{type}")]
|
||||||
// [ApiExplorerSettings(GroupName = "reports")]
|
// [ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -926,7 +930,8 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
[SwaggerOperation("รายงานวัสดุ ร3")]
|
|
||||||
|
[SwaggerOperation("รายงานวัสดุ ร3")]
|
||||||
[HttpPost, Route("reports/material_ro_three/{type}")]
|
[HttpPost, Route("reports/material_ro_three/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
public IActionResult GetMaterialRoThreeReport([FromRoute] string type, [FromBody] material_ro_three three)
|
public IActionResult GetMaterialRoThreeReport([FromRoute] string type, [FromBody] material_ro_three three)
|
||||||
@@ -976,6 +981,7 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
[SwaggerOperation("ค่าตอบแทนอื่นๆ")]
|
[SwaggerOperation("ค่าตอบแทนอื่นๆ")]
|
||||||
[HttpPost, Route("reports/other_compensation/{type}")]
|
[HttpPost, Route("reports/other_compensation/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -992,8 +998,8 @@ namespace rmutr_report.Controllers
|
|||||||
{
|
{
|
||||||
if (detail != null)
|
if (detail != null)
|
||||||
{
|
{
|
||||||
detail.total_amount = ( detail.quantity_person *
|
detail.total_amount = (detail.quantity_person *
|
||||||
detail.amount);
|
detail.amount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1031,7 +1037,8 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
[SwaggerOperation("ค่าตอบแทน_ค่าเช่าบ้าน")]
|
|
||||||
|
[SwaggerOperation("ค่าตอบแทน_ค่าเช่าบ้าน")]
|
||||||
[HttpPost, Route("reports/house_rent_ro_three/{type}")]
|
[HttpPost, Route("reports/house_rent_ro_three/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
public IActionResult GetHouseRentReport([FromRoute] string type,
|
public IActionResult GetHouseRentReport([FromRoute] string type,
|
||||||
@@ -1040,13 +1047,11 @@ namespace rmutr_report.Controllers
|
|||||||
if (houseRent.topic_type == 1)
|
if (houseRent.topic_type == 1)
|
||||||
{
|
{
|
||||||
houseRent.topic_name = "ค่าเช่าบ้านชาวต่างประเทศ";
|
houseRent.topic_name = "ค่าเช่าบ้านชาวต่างประเทศ";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (houseRent.topic_type == 2)
|
if (houseRent.topic_type == 2)
|
||||||
{
|
{
|
||||||
houseRent.topic_name = "ค่าเช่าบ้านครูอาสาสมัคร(ชาวจีน)";
|
houseRent.topic_name = "ค่าเช่าบ้านครูอาสาสมัคร(ชาวจีน)";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (houseRent.topic_type == 3)
|
if (houseRent.topic_type == 3)
|
||||||
@@ -1054,7 +1059,7 @@ namespace rmutr_report.Controllers
|
|||||||
houseRent.topic_name = "ค่าเช่าบ้านที่ปรึกษาชาวต่างประเทศ";
|
houseRent.topic_name = "ค่าเช่าบ้านที่ปรึกษาชาวต่างประเทศ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var house = new List<house_rent_ro_three>() { houseRent };
|
var house = new List<house_rent_ro_three>() { houseRent };
|
||||||
Report report = new Report();
|
Report report = new Report();
|
||||||
report.Load(_setting.report_path + "house_rent_ro_three.frx");
|
report.Load(_setting.report_path + "house_rent_ro_three.frx");
|
||||||
@@ -1083,6 +1088,7 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
[SwaggerOperation("ค่าตอบแทนพิเศษรายเดือน_ค่าตอบแทนเงินประจำตำแหน่ง")]
|
[SwaggerOperation("ค่าตอบแทนพิเศษรายเดือน_ค่าตอบแทนเงินประจำตำแหน่ง")]
|
||||||
[HttpPost, Route("reports/compensation_ro_three/{type}")]
|
[HttpPost, Route("reports/compensation_ro_three/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
@@ -1093,21 +1099,20 @@ namespace rmutr_report.Controllers
|
|||||||
if (compensationRoThree.topic_type == 1)
|
if (compensationRoThree.topic_type == 1)
|
||||||
{
|
{
|
||||||
compensationRoThree.topic_name = "ค่าตอบแทนพิเศษรายเดือน อาจารย์ชาวต่างประเทศ";
|
compensationRoThree.topic_name = "ค่าตอบแทนพิเศษรายเดือน อาจารย์ชาวต่างประเทศ";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (compensationRoThree.topic_type == 2)
|
if (compensationRoThree.topic_type == 2)
|
||||||
{
|
{
|
||||||
compensationRoThree.topic_name = "ค่าตอบแทนเงินประจำตำแหน่ง";
|
compensationRoThree.topic_name = "ค่าตอบแทนเงินประจำตำแหน่ง";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var detail in compensationRoThree.data)
|
foreach (var detail in compensationRoThree.data)
|
||||||
{
|
{
|
||||||
detail.budget_amount = (detail.salary_rate * 12);
|
detail.budget_amount = (detail.salary_rate * 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
compensationRoThree.total_amount = compensation.Sum(f => f.budget_amount);
|
compensationRoThree.total_amount = compensation.Sum(f => f.budget_amount);
|
||||||
|
|
||||||
var compensationRoThrees = new List<compensation_ro_three>() { compensationRoThree };
|
var compensationRoThrees = new List<compensation_ro_three>() { compensationRoThree };
|
||||||
Report report = new Report();
|
Report report = new Report();
|
||||||
report.Load(_setting.report_path + "compensation_ro_three.frx");
|
report.Load(_setting.report_path + "compensation_ro_three.frx");
|
||||||
@@ -1136,7 +1141,8 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
[SwaggerOperation("เงินสมทบกองทุนประกันสังคม_เงินสมทบกองทุนเงินทดแทน")]
|
|
||||||
|
[SwaggerOperation("เงินสมทบกองทุนประกันสังคม_เงินสมทบกองทุนเงินทดแทน")]
|
||||||
[HttpPost, Route("reports/contributions/{type}")]
|
[HttpPost, Route("reports/contributions/{type}")]
|
||||||
[ApiExplorerSettings(GroupName = "reports")]
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
public IActionResult GetContributionsReport([FromRoute] string type,
|
public IActionResult GetContributionsReport([FromRoute] string type,
|
||||||
@@ -1148,7 +1154,7 @@ namespace rmutr_report.Controllers
|
|||||||
contributions.topic_name = "เงินสมทบกองทุนประกันสังคม";
|
contributions.topic_name = "เงินสมทบกองทุนประกันสังคม";
|
||||||
foreach (var detail in contributions.data)
|
foreach (var detail in contributions.data)
|
||||||
{
|
{
|
||||||
detail.amount = (detail.salary * 5)/100;
|
detail.amount = (detail.salary * 5) / 100;
|
||||||
detail.per_year = (detail.amount * 12);
|
detail.per_year = (detail.amount * 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1158,14 +1164,14 @@ namespace rmutr_report.Controllers
|
|||||||
contributions.topic_name = "เงินสมทบกองทุนเงินทดแทน";
|
contributions.topic_name = "เงินสมทบกองทุนเงินทดแทน";
|
||||||
foreach (var detail in contributions.data)
|
foreach (var detail in contributions.data)
|
||||||
{
|
{
|
||||||
detail.amount = (detail.salary * (decimal?)0.2)/100;
|
detail.amount = (detail.salary * (decimal?)0.2) / 100;
|
||||||
detail.per_year = (detail.amount * 12);
|
detail.per_year = (detail.amount * 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
contributions.total_amount = compensation.Sum(f => f.per_year);
|
contributions.total_amount = compensation.Sum(f => f.per_year);
|
||||||
|
|
||||||
var _contributions = new List<contributions>() { contributions };
|
var _contributions = new List<contributions>() { contributions };
|
||||||
Report report = new Report();
|
Report report = new Report();
|
||||||
report.Load(_setting.report_path + "contributions.frx");
|
report.Load(_setting.report_path + "contributions.frx");
|
||||||
@@ -1194,5 +1200,203 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[SwaggerOperation("ค่าใช้สอย ค่าจ้างเหมาบริการ")]
|
||||||
|
[HttpPost, Route("reports/service_fee_ro_three/{type}")]
|
||||||
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
|
public IActionResult GetServiesReport([FromRoute] string type,
|
||||||
|
[FromBody] service_fee_ro_three service)
|
||||||
|
{
|
||||||
|
var serviceFee = new List<service_fee_ro_three>() { service };
|
||||||
|
Report report = new Report();
|
||||||
|
report.Load(_setting.report_path + "service_fee_ro_three.frx");
|
||||||
|
report.RegisterData(serviceFee, "service_fee_ro_three");
|
||||||
|
report.Prepare();
|
||||||
|
|
||||||
|
MemoryStream stream = new MemoryStream();
|
||||||
|
switch (type)
|
||||||
|
{
|
||||||
|
case "pdf":
|
||||||
|
PDFExport pdf = new PDFExport();
|
||||||
|
report.Export(pdf, stream);
|
||||||
|
stream.Seek(0, SeekOrigin.Begin);
|
||||||
|
return File(stream, "application/pdf");
|
||||||
|
|
||||||
|
case "xls":
|
||||||
|
case "xlsx":
|
||||||
|
Excel2007Export excel = new Excel2007Export();
|
||||||
|
report.Export(excel, stream);
|
||||||
|
stream.Seek(0, SeekOrigin.Begin);
|
||||||
|
return File(
|
||||||
|
stream,
|
||||||
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
||||||
|
"service_fee_ro_three" + ".xlsx");
|
||||||
|
}
|
||||||
|
|
||||||
|
return Ok();
|
||||||
|
}
|
||||||
|
[SwaggerOperation("2ค่าตอบแทนผู้ปฏิบัติงานให้ราชการ_6 7 8")]
|
||||||
|
[HttpPost, Route("reports/consultant_compensation/{type}")]
|
||||||
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
|
public IActionResult GetConsultantReport([FromRoute] string type,
|
||||||
|
[FromBody] consultant_compensation compensation)
|
||||||
|
{
|
||||||
|
var types = compensation.data.ToList();
|
||||||
|
|
||||||
|
if (compensation.topic_type==1)
|
||||||
|
{
|
||||||
|
compensation.topic_name = "ค่าตอบแทนที่ปรึกษา";
|
||||||
|
}
|
||||||
|
if (compensation.topic_type==2)
|
||||||
|
{
|
||||||
|
compensation.topic_name = "ค่าตอบแทนเหมาจ่ายจัดหารถประจำตำแหน่ง";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (compensation.topic_type==3)
|
||||||
|
{
|
||||||
|
compensation.topic_name = "ค่าตอบแทนอื่น ๆ";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (compensation.topic_type==4)
|
||||||
|
{
|
||||||
|
compensation.topic_name = "ค่าคณะกรรมการตรวจการจ้าง";
|
||||||
|
}
|
||||||
|
if (compensation.topic_type==5)
|
||||||
|
{
|
||||||
|
compensation.topic_name = "ค่าคณะกรรมการตรวจรับพัสดุ";
|
||||||
|
}
|
||||||
|
if (compensation.topic_type==6)
|
||||||
|
{
|
||||||
|
compensation.topic_name = "ค่าคณะกรรมการกำหนดราคากลาง";
|
||||||
|
}
|
||||||
|
foreach (var detail in compensation.data)
|
||||||
|
{
|
||||||
|
detail.total_amount = detail.quantity_day * detail.quantity_person * detail.rate;
|
||||||
|
}
|
||||||
|
compensation.total_amount = types.Sum(d => d.total_amount);
|
||||||
|
var compensations = new List<consultant_compensation>() { compensation };
|
||||||
|
Report report = new Report();
|
||||||
|
report.Load(_setting.report_path + "consultant_compensation.frx");
|
||||||
|
report.RegisterData(compensations, "consultant_compensation");
|
||||||
|
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",
|
||||||
|
"consultant_compensation" + ".xlsx");
|
||||||
|
}
|
||||||
|
|
||||||
|
return Ok();
|
||||||
|
}
|
||||||
|
// [SwaggerOperation("ค่าเช่าที่ดิน")]
|
||||||
|
// [HttpPost, Route("reports/land_rent/{type}")]
|
||||||
|
// [ApiExplorerSettings(GroupName = "reports")]
|
||||||
|
// public IActionResult GetRentReport([FromRoute] string type,
|
||||||
|
// [FromBody] land_rent service)
|
||||||
|
// {
|
||||||
|
// service.total_amount = service.data.Sum(d => d.total_amount);
|
||||||
|
// var serviceFee = new List<land_rent>() { service };
|
||||||
|
// Report report = new Report();
|
||||||
|
// report.Load(_setting.report_path + "land_rent.frx");
|
||||||
|
// report.RegisterData(serviceFee, "land_rent");
|
||||||
|
// 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",
|
||||||
|
// "land_rent" + ".xlsx");
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// return Ok();
|
||||||
|
// }
|
||||||
|
|
||||||
|
[SwaggerOperation("ค่าใช้จ่ายดำเนินงาน รายละเอียดการคำนวณค่าใช้จ่ายในการประชุม")]
|
||||||
|
[HttpPost, Route("reports/calculate_meeting_expenses/{type}")]
|
||||||
|
[ApiExplorerSettings(GroupName = "reports")]
|
||||||
|
public IActionResult GetCalReport([FromRoute] string type,
|
||||||
|
[FromBody] calculate_meeting_expenses calculate)
|
||||||
|
{
|
||||||
|
if (calculate.topic_type==1)
|
||||||
|
{
|
||||||
|
calculate.text1 = "ค่าใช้สอย : ค่าอาหารว่าง และค่าอาหารกลางวันในการประชุม";
|
||||||
|
calculate.text2 = "ผลการเบิกจ่าย ค่าอาหารว่าง\nและค่าอาหารกลางวันเบิกจ่ายจริง";
|
||||||
|
calculate.text3 = "อัตราค่าใช้จ่ายค่าอาหารว่าง\nและค่าอาหารกลางวัน";
|
||||||
|
calculate.text4 = "รวมค่าอาหารว่างและค่าอาหารกลางวัน";
|
||||||
|
}
|
||||||
|
if (calculate.topic_type==2)
|
||||||
|
{
|
||||||
|
calculate.text1 = "ค่าตอบแทน : ค่าเบี้ยประชุมคณะกรรมการ";
|
||||||
|
calculate.text2 = "ผลการเบิกจ่าย ค่าเบี้ยประชุมเบิกจ่ายจริง";
|
||||||
|
calculate.text3 = "อัตราค่าเบี้ยประชุม";
|
||||||
|
calculate.text4 = "รวมค่าเบี้ยประชุม";
|
||||||
|
}
|
||||||
|
int n = 1;
|
||||||
|
foreach (var data in calculate.data)
|
||||||
|
{
|
||||||
|
if (data.topic_type==1)
|
||||||
|
{
|
||||||
|
data.row_no = null;
|
||||||
|
data.no = n.ToString();
|
||||||
|
n++;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var calculateMeeting = new List<calculate_meeting_expenses>() { calculate };
|
||||||
|
Report report = new Report();
|
||||||
|
report.Load(_setting.report_path + "calculate_meeting_expenses.frx");
|
||||||
|
report.RegisterData(calculateMeeting, "calculate_meeting_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",
|
||||||
|
"calculate_meeting_expenses" + ".xlsx");
|
||||||
|
}
|
||||||
|
|
||||||
|
return Ok();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
37
Models/RoReport/calculate_meeting_expenses.cs
Normal file
37
Models/RoReport/calculate_meeting_expenses.cs
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace rmutr_report.Models.RoThree
|
||||||
|
{
|
||||||
|
public class calculate_meeting_expenses
|
||||||
|
{
|
||||||
|
public int? topic_type { get; set; }
|
||||||
|
public string text1 { get; set; }
|
||||||
|
public string text2 { get; set; }
|
||||||
|
public string text3 { get; set; }
|
||||||
|
public string text4 { get; set; }
|
||||||
|
public string budget_year { get; set; }
|
||||||
|
public string date_range { get; set; }
|
||||||
|
public string product { get; set; }
|
||||||
|
public string agency_name_th { get; set; }
|
||||||
|
public string sector { get; set; }
|
||||||
|
public List<calculate_meeting_expenses_data_datail> data { get; set; }
|
||||||
|
public decimal? disbursement_result { get; set; }
|
||||||
|
public decimal? expense_rate { get; set; }
|
||||||
|
public decimal? count_person { get; set; }
|
||||||
|
public decimal? count_meetings { get; set; }
|
||||||
|
public decimal? total { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class calculate_meeting_expenses_data_datail
|
||||||
|
{
|
||||||
|
public int? topic_type { get; set; } //1 2
|
||||||
|
public string no { get; set; }
|
||||||
|
public string row_no { get; set; }
|
||||||
|
public string topic_name { get; set; }
|
||||||
|
public decimal? disbursement_result { get; set; }
|
||||||
|
public decimal? expense_rate { get; set; }
|
||||||
|
public decimal? count_person { get; set; }
|
||||||
|
public decimal? count_meetings { get; set; }
|
||||||
|
public decimal? total { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
22
Models/RoReport/consultant_compensation.cs
Normal file
22
Models/RoReport/consultant_compensation.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace rmutr_report.Models.RoThree
|
||||||
|
{
|
||||||
|
public class consultant_compensation
|
||||||
|
{
|
||||||
|
public int? topic_type { get; set; } //1 2 3 4 5 6
|
||||||
|
public string topic_name { get; set; }
|
||||||
|
public decimal? total_amount { get; set; }
|
||||||
|
|
||||||
|
public List<consultant_compensation_detail> data { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class consultant_compensation_detail
|
||||||
|
{
|
||||||
|
public string list { get; set; }
|
||||||
|
public decimal? quantity_day { get; set; }
|
||||||
|
public decimal? quantity_person { get; set; }
|
||||||
|
public decimal? rate { get; set; }
|
||||||
|
public decimal? total_amount { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
25
Models/RoReport/service_fee_ro_three.cs
Normal file
25
Models/RoReport/service_fee_ro_three.cs
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace rmutr_report.Models.RoThree
|
||||||
|
{
|
||||||
|
public class service_fee_ro_three
|
||||||
|
{
|
||||||
|
public string budget_year { get; set; }
|
||||||
|
public string date_range { get; set; }
|
||||||
|
public string product { get; set; }
|
||||||
|
public string agency_name_th { get; set; }
|
||||||
|
public string sector { get; set; }
|
||||||
|
public List<service_fee_ro_three_data_datail> data { get; set; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public class service_fee_ro_three_data_datail
|
||||||
|
{
|
||||||
|
public string service_fee_type { get; set; }
|
||||||
|
public string list { get; set; }
|
||||||
|
public decimal? area { get; set; }
|
||||||
|
public decimal? count_person { get; set; }
|
||||||
|
public decimal? wage_month { get; set; }
|
||||||
|
public decimal? wage_year { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
7f756dedd982898a1348e3caf80909b59a25dfec
|
5291f10d567e56972d289a7eb4de1376c3f1680a
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -224,6 +224,22 @@
|
|||||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\building_fours.frx))</OriginalItemSpec>
|
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\building_fours.frx))</OriginalItemSpec>
|
||||||
</StaticWebAsset>
|
</StaticWebAsset>
|
||||||
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\calculate_meeting_expenses.frx))">
|
||||||
|
<SourceType>Package</SourceType>
|
||||||
|
<SourceId>rmutr_report</SourceId>
|
||||||
|
<ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot>
|
||||||
|
<BasePath>_content/rmutr_report</BasePath>
|
||||||
|
<RelativePath>reports\calculate_meeting_expenses.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\calculate_meeting_expenses.frx))</OriginalItemSpec>
|
||||||
|
</StaticWebAsset>
|
||||||
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\car_insurance.frx))">
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\car_insurance.frx))">
|
||||||
<SourceType>Package</SourceType>
|
<SourceType>Package</SourceType>
|
||||||
<SourceId>rmutr_report</SourceId>
|
<SourceId>rmutr_report</SourceId>
|
||||||
@@ -320,6 +336,22 @@
|
|||||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\compensation_ro_three.frx))</OriginalItemSpec>
|
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\compensation_ro_three.frx))</OriginalItemSpec>
|
||||||
</StaticWebAsset>
|
</StaticWebAsset>
|
||||||
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\consultant_compensation.frx))">
|
||||||
|
<SourceType>Package</SourceType>
|
||||||
|
<SourceId>rmutr_report</SourceId>
|
||||||
|
<ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot>
|
||||||
|
<BasePath>_content/rmutr_report</BasePath>
|
||||||
|
<RelativePath>reports\consultant_compensation.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\consultant_compensation.frx))</OriginalItemSpec>
|
||||||
|
</StaticWebAsset>
|
||||||
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\contributions.frx))">
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\contributions.frx))">
|
||||||
<SourceType>Package</SourceType>
|
<SourceType>Package</SourceType>
|
||||||
<SourceId>rmutr_report</SourceId>
|
<SourceId>rmutr_report</SourceId>
|
||||||
@@ -800,6 +832,22 @@
|
|||||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\kpi_performance_expenditure_budget.frx))</OriginalItemSpec>
|
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\kpi_performance_expenditure_budget.frx))</OriginalItemSpec>
|
||||||
</StaticWebAsset>
|
</StaticWebAsset>
|
||||||
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\land_rent.frx))">
|
||||||
|
<SourceType>Package</SourceType>
|
||||||
|
<SourceId>rmutr_report</SourceId>
|
||||||
|
<ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot>
|
||||||
|
<BasePath>_content/rmutr_report</BasePath>
|
||||||
|
<RelativePath>reports\land_rent.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\land_rent.frx))</OriginalItemSpec>
|
||||||
|
</StaticWebAsset>
|
||||||
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\Logo-RMUTR.png))">
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\Logo-RMUTR.png))">
|
||||||
<SourceType>Package</SourceType>
|
<SourceType>Package</SourceType>
|
||||||
<SourceId>rmutr_report</SourceId>
|
<SourceId>rmutr_report</SourceId>
|
||||||
@@ -2240,6 +2288,22 @@
|
|||||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\service_fee.frx))</OriginalItemSpec>
|
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\service_fee.frx))</OriginalItemSpec>
|
||||||
</StaticWebAsset>
|
</StaticWebAsset>
|
||||||
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\service_fee_ro_three.frx))">
|
||||||
|
<SourceType>Package</SourceType>
|
||||||
|
<SourceId>rmutr_report</SourceId>
|
||||||
|
<ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot>
|
||||||
|
<BasePath>_content/rmutr_report</BasePath>
|
||||||
|
<RelativePath>reports\service_fee_ro_three.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\service_fee_ro_three.frx))</OriginalItemSpec>
|
||||||
|
</StaticWebAsset>
|
||||||
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\statement_of_equipment.frx))">
|
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\reports\statement_of_equipment.frx))">
|
||||||
<SourceType>Package</SourceType>
|
<SourceType>Package</SourceType>
|
||||||
<SourceId>rmutr_report</SourceId>
|
<SourceId>rmutr_report</SourceId>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
8aa91144802a2244f9777f6b035a014da508a7f0
|
9f07dd534e278fa2dd7afca679d31a5d182378cc
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
17005579264145440
|
17006398170547166
|
||||||
@@ -1 +1 @@
|
|||||||
17006386956318685
|
17006550334815667
|
||||||
154
wwwroot/reports/calculate_meeting_expenses.frx
Normal file
154
wwwroot/reports/calculate_meeting_expenses.frx
Normal file
@@ -0,0 +1,154 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="11/22/2023 19:09:59" ReportInfo.CreatorVersion="2021.1.0.0">
|
||||||
|
<Dictionary>
|
||||||
|
<BusinessObjectDataSource Name="calculate_meeting_expenses" ReferenceName="calculate_meeting_expenses" DataType="null" Enabled="true">
|
||||||
|
<Column Name="budget_year" DataType="System.String"/>
|
||||||
|
<Column Name="date_range" DataType="System.String"/>
|
||||||
|
<Column Name="product" DataType="System.String"/>
|
||||||
|
<Column Name="agency_name_th" DataType="System.String"/>
|
||||||
|
<Column Name="sector" DataType="System.String"/>
|
||||||
|
<Column Name="text1" DataType="System.String"/>
|
||||||
|
<Column Name="text2" DataType="System.String"/>
|
||||||
|
<Column Name="text3" DataType="System.String"/>
|
||||||
|
<Column Name="text4" DataType="System.String"/>
|
||||||
|
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
|
||||||
|
<Column Name="topic_type" DataType="System.Int32"/>
|
||||||
|
<Column Name="no" DataType="System.String"/>
|
||||||
|
<Column Name="row_no" DataType="System.String"/>
|
||||||
|
<Column Name="topic_name" DataType="System.String"/>
|
||||||
|
<Column Name="disbursement_result" DataType="System.Decimal"/>
|
||||||
|
<Column Name="expense_rate" DataType="System.Decimal"/>
|
||||||
|
<Column Name="count_person" DataType="System.Decimal"/>
|
||||||
|
<Column Name="count_meetings" DataType="System.Decimal"/>
|
||||||
|
<Column Name="total" DataType="System.Decimal"/>
|
||||||
|
</BusinessObjectDataSource>
|
||||||
|
<Column Name="disbursement_result" DataType="System.Decimal"/>
|
||||||
|
<Column Name="expense_rate" DataType="System.Decimal"/>
|
||||||
|
<Column Name="count_person" DataType="System.Decimal"/>
|
||||||
|
<Column Name="count_meetings" DataType="System.Decimal"/>
|
||||||
|
<Column Name="total" DataType="System.Decimal"/>
|
||||||
|
</BusinessObjectDataSource>
|
||||||
|
</Dictionary>
|
||||||
|
<ReportPage Name="Page1" PaperWidth="320" Watermark.Font="Arial, 60pt">
|
||||||
|
<DataBand Name="Data1" Width="1134" Height="283.5">
|
||||||
|
<TableObject Name="Table10" Top="170.1" Width="1134.04" Height="113.4">
|
||||||
|
<TableColumn Name="Column70" Width="37.82"/>
|
||||||
|
<TableColumn Name="Column71" Width="387.47"/>
|
||||||
|
<TableColumn Name="Column72" Width="189"/>
|
||||||
|
<TableColumn Name="Column73" Width="519.75"/>
|
||||||
|
<TableRow Name="Row10" Height="113.4">
|
||||||
|
<TableCell Name="Cell70" Border.Lines="All" Text="ที่" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell71" Border.Lines="All" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell72" Border.Lines="All" Text="[calculate_meeting_expenses.text2]" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell73" Border.Lines="All" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold">
|
||||||
|
<TextObject Name="Text6" Width="519.75" Height="37.8" Border.Lines="All" Fill.Color="255, 242, 204" Text="[calculate_meeting_expenses.text1]" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
</TableCell>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
<TextObject Name="Text4" Top="132.3" Width="614.25" Height="37.8" Text="หน่วยงาน : [calculate_meeting_expenses.agency_name_th]" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TextObject Name="Text5" Left="614.25" Top="132.3" Width="519.75" Height="37.8" Text="[calculate_meeting_expenses.sector]" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TextObject Name="Text3" Top="75.6" Width="1134" Height="37.8" Text="ค่าใช้จ่ายดำเนินงาน ( รายละเอียดการคำนวณค่าใช้จ่ายในการประชุม )" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold, Underline" TextFill.Color="131, 60, 12"/>
|
||||||
|
<TextObject Name="Text2" Top="37.8" Width="1134" Height="37.8" Text="ผลผลิต [calculate_meeting_expenses.product]" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TextObject Name="Text1" Width="1134" Height="37.8" Text="งบประมาณรายจ่ายจากเงินรายได้ ประจำปีงบประมาณ พ.ศ. [calculate_meeting_expenses.budget_year] ( [calculate_meeting_expenses.date_range] )" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableObject Name="Table11" Left="614.25" Top="207.9" Width="519.79" Height="75.6">
|
||||||
|
<TableColumn Name="Column74" Width="189.02"/>
|
||||||
|
<TableColumn Name="Column75" Width="75.62"/>
|
||||||
|
<TableColumn Name="Column76" Width="75.6"/>
|
||||||
|
<TableColumn Name="Column77" Width="179.55"/>
|
||||||
|
<TableRow Name="Row11" Height="75.6">
|
||||||
|
<TableCell Name="Cell74" Border.Lines="All" Text="[calculate_meeting_expenses.text3]" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell75" Border.Lines="All" Text="จำนวนคน" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 12pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell76" Border.Lines="All" Text="จำนวนครั้งที่ ประชุม/ปี" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 12pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell77" Border.Lines="All" Fill.Color="255, 242, 204" Text="[calculate_meeting_expenses.text4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
<DataBand Name="Data2" Top="288.21" Width="1134" Height="56.7" DataSource="data">
|
||||||
|
<TableObject Name="Table3" Width="1134.04" Height="56.7">
|
||||||
|
<TableColumn Name="Column25" Width="37.82"/>
|
||||||
|
<TableColumn Name="Column26" Width="47.27"/>
|
||||||
|
<TableColumn Name="Column27" Width="340.2"/>
|
||||||
|
<TableColumn Name="Column28" Width="189"/>
|
||||||
|
<TableColumn Name="Column29" Width="189"/>
|
||||||
|
<TableColumn Name="Column30" Width="75.6"/>
|
||||||
|
<TableColumn Name="Column40" Width="75.6"/>
|
||||||
|
<TableColumn Name="Column78" Width="179.55"/>
|
||||||
|
<TableRow Name="Row3" Height="56.7">
|
||||||
|
<TableCell Name="Cell25" Border.Lines="All" Text="[calculate_meeting_expenses.data.no]" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 14pt">
|
||||||
|
<Highlight>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 1" Fill.Color="255, 242, 204" Font="TH SarabunPSK, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 2" Fill.Color="White" Font="TH SarabunPSK, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
</Highlight>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell Name="Cell26" Border.Lines="Left, Top, Bottom" Text="[calculate_meeting_expenses.data.row_no]" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 14pt">
|
||||||
|
<Highlight>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 1" Fill.Color="255, 242, 204" Font="TH SarabunPSK, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 2" Fill.Color="White" Font="TH SarabunPSK, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
</Highlight>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell Name="Cell27" Border.Lines="Right, Top, Bottom" Text="[calculate_meeting_expenses.data.topic_name]" AutoShrink="FontSize" AutoShrinkMinSize="10" VertAlign="Center" Font="TH SarabunPSK, 14pt">
|
||||||
|
<Formats>
|
||||||
|
<GeneralFormat/>
|
||||||
|
<GeneralFormat/>
|
||||||
|
<GeneralFormat/>
|
||||||
|
</Formats>
|
||||||
|
<Highlight>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 1" Fill.Color="255, 242, 204" Font="TH SarabunPSK, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 2" Fill.Color="White" Font="TH SarabunPSK, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
</Highlight>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell Name="Cell28" Border.Lines="All" Text="[calculate_meeting_expenses.data.disbursement_result]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt">
|
||||||
|
<Highlight>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 1" Fill.Color="255, 242, 204" Font="TH SarabunPSK, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 2" Fill.Color="White" Font="TH SarabunPSK, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
</Highlight>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell Name="Cell29" Border.Lines="All" Text="[calculate_meeting_expenses.data.expense_rate]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt">
|
||||||
|
<Highlight>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 1" Fill.Color="255, 242, 204" Font="TH SarabunPSK, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 2" Fill.Color="White" Font="TH SarabunPSK, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
</Highlight>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell Name="Cell30" Border.Lines="All" Text="[calculate_meeting_expenses.data.count_person]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt">
|
||||||
|
<Highlight>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 1" Fill.Color="255, 242, 204" Font="TH SarabunPSK, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 2" Fill.Color="White" Font="TH SarabunPSK, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
</Highlight>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell Name="Cell40" Border.Lines="All" Text="[calculate_meeting_expenses.data.count_meetings]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt">
|
||||||
|
<Highlight>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 1" Fill.Color="255, 242, 204" Font="TH SarabunPSK, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 2" Fill.Color="White" Font="TH SarabunPSK, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
</Highlight>
|
||||||
|
</TableCell>
|
||||||
|
<TableCell Name="Cell78" Border.Lines="All" Text="[calculate_meeting_expenses.data.total]" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt">
|
||||||
|
<Highlight>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 1" Fill.Color="255, 242, 204" Font="TH SarabunPSK, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
<Condition Expression="[calculate_meeting_expenses.data.topic_type]== 2" Fill.Color="White" Font="TH SarabunPSK, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
|
||||||
|
</Highlight>
|
||||||
|
</TableCell>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
</DataBand>
|
||||||
|
</DataBand>
|
||||||
|
<ReportSummaryBand Name="ReportSummary1" Top="349.61" Width="1134" Height="47.25">
|
||||||
|
<TableObject Name="Table8" Width="1134.04" Height="47.25">
|
||||||
|
<TableColumn Name="Column46" Width="425.27"/>
|
||||||
|
<TableColumn Name="Column47" Width="0.02"/>
|
||||||
|
<TableColumn Name="Column48" Width="189"/>
|
||||||
|
<TableColumn Name="Column49" Width="189"/>
|
||||||
|
<TableColumn Name="Column50" Width="75.6"/>
|
||||||
|
<TableColumn Name="Column51" Width="75.6"/>
|
||||||
|
<TableColumn Name="Column52" Width="179.55"/>
|
||||||
|
<TableRow Name="Row8" Height="47.25">
|
||||||
|
<TableCell Name="Cell46" Border.Lines="All" Fill.Color="252, 228, 214" Text="รวมทั้งสิ้น" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold" ColSpan="2"/>
|
||||||
|
<TableCell Name="Cell47" Border.Lines="All" Fill.Color="252, 228, 214" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell48" Border.Lines="All" Fill.Color="252, 228, 214" Text="[calculate_meeting_expenses.disbursement_result]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell49" Border.Lines="All" Fill.Color="252, 228, 214" Text="[calculate_meeting_expenses.expense_rate]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell50" Border.Lines="All" Fill.Color="252, 228, 214" Text="[calculate_meeting_expenses.count_person]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell51" Border.Lines="All" Fill.Color="252, 228, 214" Text="[calculate_meeting_expenses.count_meetings]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell52" Border.Lines="All" Fill.Color="252, 228, 214" Text="[calculate_meeting_expenses.total]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 14pt, style=Bold"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
</ReportSummaryBand>
|
||||||
|
</ReportPage>
|
||||||
|
</Report>
|
||||||
74
wwwroot/reports/consultant_compensation.frx
Normal file
74
wwwroot/reports/consultant_compensation.frx
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="11/22/2023 18:42:30" ReportInfo.CreatorVersion="2021.1.0.0">
|
||||||
|
<Dictionary>
|
||||||
|
<BusinessObjectDataSource Name="consultant_compensation" ReferenceName="consultant_compensation" DataType="null" Enabled="true">
|
||||||
|
<Column Name="topic_type" DataType="System.Int32"/>
|
||||||
|
<Column Name="topic_name" DataType="System.String"/>
|
||||||
|
<Column Name="total_amount" DataType="System.Decimal"/>
|
||||||
|
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
|
||||||
|
<Column Name="list" DataType="System.String"/>
|
||||||
|
<Column Name="quantity_day" DataType="System.Decimal"/>
|
||||||
|
<Column Name="quantity_person" DataType="System.Decimal"/>
|
||||||
|
<Column Name="rate" DataType="System.Decimal"/>
|
||||||
|
<Column Name="total_amount" DataType="System.Decimal"/>
|
||||||
|
</BusinessObjectDataSource>
|
||||||
|
</BusinessObjectDataSource>
|
||||||
|
</Dictionary>
|
||||||
|
<ReportPage Name="Sheet1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" Watermark.Font="Arial, 60pt">
|
||||||
|
<DataBand Name="Data2" Width="1047.06" Height="85.05">
|
||||||
|
<TableObject Name="Table1" Top="37.8" Width="935.59" Height="47.25">
|
||||||
|
<TableColumn Name="Column1" Width="66.17"/>
|
||||||
|
<TableColumn Name="Column2" Width="236.27"/>
|
||||||
|
<TableColumn Name="Column3" Width="141.75"/>
|
||||||
|
<TableColumn Name="Column4" Width="160.65"/>
|
||||||
|
<TableColumn Name="Column19" Width="179.55"/>
|
||||||
|
<TableColumn Name="Column20" Width="151.2"/>
|
||||||
|
<TableRow Name="Row1" Height="47.25">
|
||||||
|
<TableCell Name="Cell1" Border.Lines="All" Fill.Color="214, 220, 228" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold" ColSpan="2"/>
|
||||||
|
<TableCell Name="Cell2" Border.Lines="All" Fill.Color="214, 220, 228" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell3" Border.Lines="All" Fill.Color="214, 220, 228" Text="จำนวนวัน/เดือน" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell4" Border.Lines="All" Fill.Color="214, 220, 228" Text="จำนวน (คน)" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell19" Border.Lines="All" Fill.Color="214, 220, 228" Text="อัตราต่อวัน/ต่อเดือน (บาท)" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell20" Border.Lines="All" Fill.Color="214, 220, 228" Text="รวมเงิน " HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
<TextObject Name="Text4" Width="935.55" Height="37.8" Text="[consultant_compensation.topic_name]" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<DataBand Name="Data3" Top="89.76" Width="1047.06" Height="37.8" DataSource="data">
|
||||||
|
<TableObject Name="Table2" Width="935.59" Height="37.8">
|
||||||
|
<TableColumn Name="Column15" Width="66.17"/>
|
||||||
|
<TableColumn Name="Column16" Width="236.27"/>
|
||||||
|
<TableColumn Name="Column17" Width="141.75"/>
|
||||||
|
<TableColumn Name="Column18" Width="160.65"/>
|
||||||
|
<TableColumn Name="Column21" Width="179.55"/>
|
||||||
|
<TableColumn Name="Column22" Width="151.2"/>
|
||||||
|
<TableRow Name="Row2" Height="37.8">
|
||||||
|
<TableCell Name="Cell15" Border.Lines="All" Text="[consultant_compensation.data.list]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH SarabunPSK, 16pt" ColSpan="2"/>
|
||||||
|
<TableCell Name="Cell16" Border.Lines="All" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell17" Border.Lines="All" Text="[consultant_compensation.data.quantity_day]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell18" Border.Lines="All" Text="[consultant_compensation.data.quantity_person]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="9" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell21" Border.Lines="All" Text="[consultant_compensation.data.rate]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell22" Border.Lines="All" Text="[consultant_compensation.data.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
</DataBand>
|
||||||
|
</DataBand>
|
||||||
|
<ReportSummaryBand Name="ReportSummary1" Top="132.26" Width="1047.06" Height="37.8">
|
||||||
|
<TableObject Name="Table3" Width="935.59" Height="37.8">
|
||||||
|
<TableColumn Name="Column23" Width="66.17"/>
|
||||||
|
<TableColumn Name="Column24" Width="236.27"/>
|
||||||
|
<TableColumn Name="Column25" Width="141.75"/>
|
||||||
|
<TableColumn Name="Column26" Width="160.65"/>
|
||||||
|
<TableColumn Name="Column27" Width="179.55"/>
|
||||||
|
<TableColumn Name="Column28" Width="151.2"/>
|
||||||
|
<TableRow Name="Row3" Height="37.8">
|
||||||
|
<TableCell Name="Cell23" Border.Lines="All" Fill.Color="214, 220, 228" Text="จำนวนเงินรวม" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold" ColSpan="5"/>
|
||||||
|
<TableCell Name="Cell24" Border.Lines="All" Fill.Color="214, 220, 228" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell25" Border.Lines="All" Fill.Color="214, 220, 228" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="11" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell26" Border.Lines="All" Fill.Color="214, 220, 228" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontSize" AutoShrinkMinSize="9" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell27" Border.Lines="All" Fill.Color="214, 220, 228" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell28" Border.Lines="All" Fill.Color="214, 220, 228" Text="[consultant_compensation.total_amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
</ReportSummaryBand>
|
||||||
|
</ReportPage>
|
||||||
|
</Report>
|
||||||
69
wwwroot/reports/service_fee_ro_three.frx
Normal file
69
wwwroot/reports/service_fee_ro_three.frx
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Report ScriptLanguage="CSharp" ReportInfo.Created="09/14/2021 15:20:39" ReportInfo.Modified="11/22/2023 18:15:14" ReportInfo.CreatorVersion="2021.1.0.0">
|
||||||
|
<Dictionary>
|
||||||
|
<BusinessObjectDataSource Name="service_fee_ro_three" ReferenceName="service_fee_ro_three" DataType="null" Enabled="true">
|
||||||
|
<Column Name="budget_year" DataType="System.String"/>
|
||||||
|
<Column Name="date_range" DataType="System.String"/>
|
||||||
|
<Column Name="product" DataType="System.String"/>
|
||||||
|
<Column Name="agency_name_th" DataType="System.String"/>
|
||||||
|
<Column Name="sector" DataType="System.String"/>
|
||||||
|
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
|
||||||
|
<Column Name="service_fee_type" DataType="System.String"/>
|
||||||
|
<Column Name="list" DataType="System.String"/>
|
||||||
|
<Column Name="area" DataType="System.Decimal"/>
|
||||||
|
<Column Name="count_person" DataType="System.Decimal"/>
|
||||||
|
<Column Name="wage_month" DataType="System.Decimal"/>
|
||||||
|
<Column Name="wage_year" DataType="System.Decimal"/>
|
||||||
|
</BusinessObjectDataSource>
|
||||||
|
</BusinessObjectDataSource>
|
||||||
|
</Dictionary>
|
||||||
|
<ReportPage Name="Page1" Landscape="true" PaperWidth="360" PaperHeight="1500" Watermark.Font="Arial, 60pt">
|
||||||
|
<PageHeaderBand Name="PageHeader1" Width="1285.2" Height="236.25">
|
||||||
|
<TextObject Name="Text40" Width="1285.2" Height="37.8" Text="งบประมาณรายจ่ายจากเงินรายได้ ประจำปีงบประมาณ พ.ศ. [service_fee_ro_three.budget_year] ( [service_fee_ro_three.date_range] )" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableObject Name="Table14" Top="179.55" Width="1285.2" Height="56.7" Border.Lines="All">
|
||||||
|
<TableColumn Name="Column70"/>
|
||||||
|
<TableColumn Name="Column92" Width="330.75"/>
|
||||||
|
<TableColumn Name="Column93" Width="217.35"/>
|
||||||
|
<TableColumn Name="Column94" Width="179.55"/>
|
||||||
|
<TableColumn Name="Column95" Width="170.1"/>
|
||||||
|
<TableColumn Name="Column96" Width="170.1"/>
|
||||||
|
<TableColumn Name="Column137" Width="151.2"/>
|
||||||
|
<TableRow Name="Row14" Height="56.7">
|
||||||
|
<TableCell Name="Cell110" Border.Lines="All" Text="ลำดับที่" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell152" Border.Lines="All" Text="ประเภท" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell153" Border.Lines="All" Text="ชื่ออาคาร/รายการ" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell154" Border.Lines="All" Text="พื้นที่ (ตรม.)" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell155" Border.Lines="All" Text="จำนวนคน / จำนวนชิ้นงาน" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell156" Border.Lines="All" Text="อัตราค่าจ้าง ต่อเดือน" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TableCell Name="Cell197" Text="ค่าจ้างต่อปี" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
<TextObject Name="Text41" Top="37.8" Width="1285.2" Height="37.8" Text="[service_fee_ro_three.product]" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TextObject Name="Text42" Top="75.6" Width="1285.2" Height="37.8" Text="ค่าใช้สอย : ค่าจ้างเหมาบริการ" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold, Underline" TextFill.Color="131, 60, 12"/>
|
||||||
|
<TextObject Name="Text43" Top="113.4" Width="670.95" Height="37.8" Text="หน่วยงาน : [service_fee_ro_three.agency_name_th]" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
<TextObject Name="Text44" Left="670.95" Top="113.4" Width="614.25" Height="37.8" Text="[service_fee_ro_three.sector]" VertAlign="Center" Font="TH SarabunPSK, 16pt, style=Bold"/>
|
||||||
|
</PageHeaderBand>
|
||||||
|
<DataBand Name="Data1" Top="240.96" Width="1285.2">
|
||||||
|
<DataBand Name="Data2" Top="245.66" Width="1285.2" Height="37.8" DataSource="data">
|
||||||
|
<TableObject Name="Table17" Width="1285.2" Height="37.8" Border.Lines="All">
|
||||||
|
<TableColumn Name="Column131"/>
|
||||||
|
<TableColumn Name="Column132" Width="330.75"/>
|
||||||
|
<TableColumn Name="Column133" Width="217.35"/>
|
||||||
|
<TableColumn Name="Column134" Width="179.55"/>
|
||||||
|
<TableColumn Name="Column135" Width="170.1"/>
|
||||||
|
<TableColumn Name="Column136" Width="170.1"/>
|
||||||
|
<TableColumn Name="Column138" Width="151.2"/>
|
||||||
|
<TableRow Name="Row17" Height="37.8">
|
||||||
|
<TableCell Name="Cell191" Border.Lines="All" Text="[Row#]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="10" HorzAlign="Center" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell192" Border.Lines="All" Text="[service_fee_ro_three.data.service_fee_type]" Format="Custom" Format.Format="G" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell193" Border.Lines="All" Text="[service_fee_ro_three.data.list]" Format="Custom" Format.Format="G" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell194" Border.Lines="All" Text="[service_fee_ro_three.data.area]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="10" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell195" Border.Lines="All" Text="[service_fee_ro_three.data.count_person]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="10" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell196" Border.Lines="All" Text="[service_fee_ro_three.data.wage_month]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="10" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
<TableCell Name="Cell198" Text="[service_fee_ro_three.data.wage_year]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH SarabunPSK, 16pt"/>
|
||||||
|
</TableRow>
|
||||||
|
</TableObject>
|
||||||
|
</DataBand>
|
||||||
|
</DataBand>
|
||||||
|
</ReportPage>
|
||||||
|
</Report>
|
||||||
Reference in New Issue
Block a user