This commit is contained in:
@@ -3682,7 +3682,7 @@ namespace rmutr_report.Controllers
|
|||||||
foreach (var detail in requestSummary.data_1)
|
foreach (var detail in requestSummary.data_1)
|
||||||
{
|
{
|
||||||
|
|
||||||
ws.Cell(row, 1).Value = detail.rowno + "." + detail.list;
|
ws.Cell(row, 1).Value = detail.rowno + detail.list;
|
||||||
foreach (var budgetPlan in detail.plans)
|
foreach (var budgetPlan in detail.plans)
|
||||||
{
|
{
|
||||||
ws.Cell(row, 2).Value = budgetPlan.value;
|
ws.Cell(row, 2).Value = budgetPlan.value;
|
||||||
@@ -3742,7 +3742,7 @@ namespace rmutr_report.Controllers
|
|||||||
}
|
}
|
||||||
if (detail2.color=="3" && detail2.is_bold==null)
|
if (detail2.color=="3" && detail2.is_bold==null)
|
||||||
{
|
{
|
||||||
ws.Cell(row, 1).Value = detail2.rowno + "." + detail2.list;
|
ws.Cell(row, 1).Value = detail2.rowno + detail2.list;
|
||||||
foreach (var budgetPlan in detail2.plans)
|
foreach (var budgetPlan in detail2.plans)
|
||||||
{
|
{
|
||||||
ws.Cell(row, 2).Value = budgetPlan.value;
|
ws.Cell(row, 2).Value = budgetPlan.value;
|
||||||
@@ -3850,7 +3850,7 @@ namespace rmutr_report.Controllers
|
|||||||
foreach (var detail in requestSummary.data_1)
|
foreach (var detail in requestSummary.data_1)
|
||||||
{
|
{
|
||||||
int col2 = 2;
|
int col2 = 2;
|
||||||
ws.Cell(row, 1).Value = detail.rowno + "." + detail.list;
|
ws.Cell(row, 1).Value = detail.rowno + detail.list;
|
||||||
// int col2 = 2;
|
// int col2 = 2;
|
||||||
ws.Cell(row, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
|
ws.Cell(row, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
|
||||||
ws.Cell(row, 2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, 2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
@@ -3941,7 +3941,7 @@ namespace rmutr_report.Controllers
|
|||||||
}
|
}
|
||||||
if (detail2.color=="3" && detail2.is_bold==null)
|
if (detail2.color=="3" && detail2.is_bold==null)
|
||||||
{
|
{
|
||||||
ws.Cell(row, 1).Value = detail2.rowno + "." + detail2.list;
|
ws.Cell(row, 1).Value = detail2.rowno + detail2.list;
|
||||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
|
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
|
||||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
ws.Range(ws.Cell(row, 1),ws.Cell(row,2)).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||||
@@ -4114,7 +4114,7 @@ namespace rmutr_report.Controllers
|
|||||||
foreach (var detail in requestSummary.data_1)
|
foreach (var detail in requestSummary.data_1)
|
||||||
{
|
{
|
||||||
|
|
||||||
ws.Cell(row, 1).Value = detail.rowno + "." + detail.list;
|
ws.Cell(row, 1).Value = detail.rowno + detail.list;
|
||||||
foreach (var budgetPlan in detail.plans)
|
foreach (var budgetPlan in detail.plans)
|
||||||
{
|
{
|
||||||
ws.Cell(row, 2).Value = budgetPlan.value;
|
ws.Cell(row, 2).Value = budgetPlan.value;
|
||||||
@@ -4227,7 +4227,7 @@ namespace rmutr_report.Controllers
|
|||||||
foreach (var detail in requestSummary.data_1)
|
foreach (var detail in requestSummary.data_1)
|
||||||
{
|
{
|
||||||
int col2 = 2;
|
int col2 = 2;
|
||||||
ws.Cell(row, 1).Value = detail.rowno + "." + detail.list;
|
ws.Cell(row, 1).Value = detail.rowno + detail.list;
|
||||||
// int col2 = 2;
|
// int col2 = 2;
|
||||||
ws.Cell(row, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
|
ws.Cell(row, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
|
||||||
ws.Cell(row, 2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Cell(row, 2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
@@ -4316,7 +4316,8 @@ namespace rmutr_report.Controllers
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
}
|
||||||
using (var stream = new MemoryStream())
|
using (var stream = new MemoryStream())
|
||||||
{
|
{
|
||||||
workbook.SaveAs(stream);
|
workbook.SaveAs(stream);
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("rmutr_report")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("rmutr_report")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e3335ae91ef9baabb47da357b8b7aab82d9a6379")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e2a3977734a6c0e63d669a0800cfaf4bca52db1a")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("rmutr_report")]
|
[assembly: System.Reflection.AssemblyProductAttribute("rmutr_report")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("rmutr_report")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("rmutr_report")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
a7b7d5b2aff46867fbc8b661104f49364ba3a3101b36bc40e3ec970d1c88ff22
|
83b7c8eaf06473c917649059b491b34a25238c6d940329abfd68e57bff3c4984
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
17248180168527223
|
17248395490624370
|
||||||
Reference in New Issue
Block a user