This commit is contained in:
@@ -1022,6 +1022,46 @@ namespace rmutr_report.Controllers
|
||||
{
|
||||
detail.total_amount = (detail.amount + detail.car_act);
|
||||
}
|
||||
switch (detail.month)
|
||||
{
|
||||
case 1:
|
||||
detail.month_th = "มกราคม";
|
||||
break;
|
||||
case 2:
|
||||
detail.month_th = "กุมภาพันธ์";
|
||||
break;
|
||||
case 3:
|
||||
detail.month_th = "มีนาคม";
|
||||
break;
|
||||
case 4:
|
||||
detail.month_th = "เมษายน";
|
||||
break;
|
||||
case 5:
|
||||
detail.month_th = "พฤษภาคม";
|
||||
break;
|
||||
case 6:
|
||||
detail.month_th = "มิถุนายน";
|
||||
break;
|
||||
case 7:
|
||||
detail.month_th = "กรกฎาคม";
|
||||
break;
|
||||
case 8:
|
||||
detail.month_th = "สิงหาคม";
|
||||
break;
|
||||
case 9:
|
||||
detail.month_th = "กันยายน";
|
||||
break;
|
||||
case 10:
|
||||
detail.month_th = "ตุลาคม";
|
||||
break;
|
||||
case 11:
|
||||
detail.month_th = "พฤศจิกายน";
|
||||
break;
|
||||
case 12:
|
||||
detail.month_th = "ธันวาคม";
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var _insurances = new List<budget_progress_insurances>() { insurances };
|
||||
|
||||
@@ -13,7 +13,8 @@ namespace rmutr_report.Models
|
||||
public string car_number { get; set; }
|
||||
public decimal? amount { get; set; }
|
||||
public decimal? car_act { get; set; }
|
||||
public string month { get; set; }
|
||||
public int? month { get; set; }
|
||||
public string month_th { get; set; }
|
||||
public decimal? total_amount { get; set; }
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
16983176231557303
|
||||
16983221242759201
|
||||
@@ -1,11 +1,12 @@
|
||||
<?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">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2021 00:11:35" ReportInfo.Modified="10/26/2023 19:08:21" 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="month" DataType="System.Int32"/>
|
||||
<Column Name="month_th" DataType="System.String"/>
|
||||
<Column Name="amount" DataType="System.Decimal"/>
|
||||
<Column Name="car_act" DataType="System.Decimal"/>
|
||||
<Column Name="total_amount" DataType="System.Decimal"/>
|
||||
@@ -48,7 +49,7 @@
|
||||
<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="Cell21" Border.Lines="All" Text="[budget_progress_insurances.data.month_th]" 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>
|
||||
|
||||
Reference in New Issue
Block a user