add is_bold

This commit is contained in:
kamonwan taengsuk
2023-06-14 13:40:28 +07:00
parent 76d3658e60
commit 138c21754f
6 changed files with 27 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ namespace rmutr_report.Models
public string expenditure_budget { get; set; }
public decimal? amount { get; set; }
public string clarification_summary { get; set; }
public bool? is_bold { get; set; }
// public List<operating_expenses_detail2> data_2 { get; set; }
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="06/14/2023 13:21:27" ReportInfo.CreatorVersion="2021.1.0.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="06/14/2023 13:37:08" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="operating_expenses" ReferenceName="operating_expenses" DataType="null" Enabled="true">
<Column Name="budget_year" DataType="System.String"/>
@@ -14,6 +14,7 @@
<Column Name="expenditure_budget" DataType="System.String"/>
<Column Name="amount" DataType="System.Decimal"/>
<Column Name="clarification_summary" DataType="System.String"/>
<Column Name="is_bold" DataType="System.Boolean"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
@@ -43,10 +44,30 @@
<TableColumn Name="Column17" Width="160.65"/>
<TableColumn Name="Column18" Width="368.55"/>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell15" Border.Lines="All" Text="[operating_expenses.data.no]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell16" Border.Lines="All" Text="[operating_expenses.data.expenditure_budget]" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell17" Border.Lines="All" Text="[operating_expenses.data.amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell18" Border.Lines="All" Text="[operating_expenses.data.clarification_summary]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell15" Border.Lines="All" Text="[operating_expenses.data.no]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[operating_expenses.data.is_bold]== true" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[operating_expenses.data.is_bold]== false" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell16" Border.Lines="All" Text="[operating_expenses.data.expenditure_budget]" AutoShrink="FontSize" AutoShrinkMinSize="11" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[operating_expenses.data.is_bold]== true" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[operating_expenses.data.is_bold]== false" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell17" Border.Lines="All" Text="[operating_expenses.data.amount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[operating_expenses.data.is_bold]== true" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[operating_expenses.data.is_bold]== false" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell18" Border.Lines="All" Text="[operating_expenses.data.clarification_summary]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[operating_expenses.data.is_bold]== true" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[operating_expenses.data.is_bold]== false" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
</TableRow>
</TableObject>
</DataBand>