update
This commit is contained in:
@@ -2774,6 +2774,13 @@ namespace rmutr_report.Controllers
|
||||
[FromBody] summary_subsidy_projects budget)
|
||||
{
|
||||
int row = 1;
|
||||
string myStr = budget.budget_project_name_th;
|
||||
string[] projectname = myStr.Split("ผลผลิต ");
|
||||
foreach (string projectnames in projectname)
|
||||
{
|
||||
budget.budget_project_name_th2 = projectnames;
|
||||
}
|
||||
|
||||
foreach (var detail in budget.data)
|
||||
{
|
||||
if (detail.topic_type == 3)
|
||||
@@ -2785,7 +2792,7 @@ namespace rmutr_report.Controllers
|
||||
{
|
||||
detail.row_no = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var summaryBudget = new List<summary_subsidy_projects>() { budget };
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace rmutr_report.Models
|
||||
public string budget_year { get; set; }
|
||||
public string date_range { get; set; }
|
||||
public string budget_project_name_th { get; set; }
|
||||
public string budget_project_name_th2 { get; set; }
|
||||
public string agency_name_th { get; set; }
|
||||
public string education_level_and_year { get; set; }
|
||||
public string branch_name_th { get; set; }
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,34 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="09/14/2021 15:20:39" ReportInfo.Modified="08/03/2023 14:41:28" ReportInfo.CreatorVersion="2021.1.0.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using FastReport;
|
||||
using FastReport.Data;
|
||||
using FastReport.Dialog;
|
||||
using FastReport.Barcode;
|
||||
using FastReport.Table;
|
||||
using FastReport.Utils;
|
||||
|
||||
namespace FastReport
|
||||
{
|
||||
public class ReportScript
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
</ScriptText>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="09/14/2021 15:20:39" ReportInfo.Modified="08/03/2023 14:45:44" ReportInfo.CreatorVersion="2021.1.0.0">
|
||||
<Dictionary>
|
||||
<BusinessObjectDataSource Name="summary_subsidy_projects" ReferenceName="summary_subsidy_projects" DataType="null" Enabled="true">
|
||||
<Column Name="budget_year" DataType="System.String"/>
|
||||
<Column Name="date_range" DataType="System.String"/>
|
||||
<Column Name="budget_project_name_th" DataType="System.String"/>
|
||||
<Column Name="budget_project_name_th2" DataType="System.String"/>
|
||||
<Column Name="agency_name_th" DataType="System.String"/>
|
||||
<Column Name="education_level_and_year" DataType="System.String"/>
|
||||
<Column Name="branch_name_th" DataType="System.String"/>
|
||||
@@ -100,7 +77,7 @@ namespace FastReport
|
||||
<TextObject Name="Text184" Top="56.7" Width="1814.4" Height="28.35" Text="งบเงินอุดหนุน : [summary_subsidy_projects.budget_project_name_th]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="Text185" Left="529.2" Top="85.05" Width="444.15" Height="28.35" Text="หน่วยงาน : [summary_subsidy_projects.agency_name_th]" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="Text186" Left="973.35" Top="85.05" Width="510.3" Height="28.35" Text="ภาค : [summary_subsidy_projects.education_level_and_year]" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="Text187" Left="529.2" Top="113.4" Width="444.15" Height="28.35" Text="[summary_subsidy_projects.budget_project_name_th]" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="Text187" Left="529.2" Top="113.4" Width="444.15" Height="28.35" Text="ผลผลิต : [summary_subsidy_projects.budget_project_name_th2]" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="Text188" Left="973.35" Top="113.4" Width="510.3" Height="28.35" Text="พื้นที่ : [summary_subsidy_projects.branch_name_th]" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
</PageHeaderBand>
|
||||
<DataBand Name="Data9" Top="299.73" Width="1814.4">
|
||||
|
||||
Reference in New Issue
Block a user