This commit is contained in:
@@ -3682,7 +3682,7 @@ namespace rmutr_report.Controllers
|
||||
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)
|
||||
{
|
||||
ws.Cell(row, 2).Value = budgetPlan.value;
|
||||
@@ -3742,7 +3742,7 @@ namespace rmutr_report.Controllers
|
||||
}
|
||||
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)
|
||||
{
|
||||
ws.Cell(row, 2).Value = budgetPlan.value;
|
||||
@@ -3850,7 +3850,7 @@ namespace rmutr_report.Controllers
|
||||
foreach (var detail in requestSummary.data_1)
|
||||
{
|
||||
int col2 = 2;
|
||||
ws.Cell(row, 1).Value = detail.rowno + "." + detail.list;
|
||||
ws.Cell(row, 1).Value = detail.rowno + detail.list;
|
||||
// int col2 = 2;
|
||||
ws.Cell(row, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
|
||||
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)
|
||||
{
|
||||
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.Vertical = XLAlignmentVerticalValues.Center;
|
||||
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)
|
||||
{
|
||||
|
||||
ws.Cell(row, 1).Value = detail.rowno + "." + detail.list;
|
||||
ws.Cell(row, 1).Value = detail.rowno + detail.list;
|
||||
foreach (var budgetPlan in detail.plans)
|
||||
{
|
||||
ws.Cell(row, 2).Value = budgetPlan.value;
|
||||
@@ -4227,7 +4227,7 @@ namespace rmutr_report.Controllers
|
||||
foreach (var detail in requestSummary.data_1)
|
||||
{
|
||||
int col2 = 2;
|
||||
ws.Cell(row, 1).Value = detail.rowno + "." + detail.list;
|
||||
ws.Cell(row, 1).Value = detail.rowno + detail.list;
|
||||
// int col2 = 2;
|
||||
ws.Cell(row, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
|
||||
ws.Cell(row, 2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||
@@ -4316,7 +4316,8 @@ namespace rmutr_report.Controllers
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
using (var stream = new MemoryStream())
|
||||
{
|
||||
workbook.SaveAs(stream);
|
||||
|
||||
Reference in New Issue
Block a user