add report

This commit is contained in:
kamonwan taengsuk
2023-01-23 21:59:21 +07:00
parent 4417115ce8
commit 4dfecc8a9b
9 changed files with 739 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ namespace rmutr_report.Controllers
ws.Cell("A2").Style.Font.FontName = "TH SarabunPSK";
ws.Cell("A2").Style.Font.FontSize = 16;
ws.Range("A2:F2").Style.Font.Bold = true;
ws.Range("A3:F3").Merge().Value = "แผน" + _house_for_rent.budget_year+" ผลผลิต "+_house_for_rent.product;
ws.Range("A3:F3").Merge().Value = "แผน" + _house_for_rent.plan+" ผลผลิต "+_house_for_rent.product;
ws.Range("A3:F3").Style.Alignment.WrapText = true;
ws.Range("A3:F3").Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
ws.Range("A3:F3").Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;