public static void AddHeaderCellDetailLab(PdfPTable tableLayout, LabReportVM labReport, int resultCount) { PDFGenerateUtilityHelper.AddCellToBody(tableLayout, labReport.TCNumber, 1); PDFGenerateUtilityHelper.AddCellToBody(tableLayout, labReport.TCDate.ToShortDateString(), 1); PDFGenerateUtilityHelper.AddCellToBody(tableLayout, labReport.LabName, 1); PDFGenerateUtilityHelper.AddCellToBody(tableLayout, resultCount.ToString(), 1); }
public static void AddHeaderCellDetailMill(PdfPTable tableLayout, MillDetailVM millDetail, int resultCount) { PDFGenerateUtilityHelper.AddCellToBody(tableLayout, millDetail.TCNumber, 1); PDFGenerateUtilityHelper.AddCellToBody(tableLayout, millDetail.TCDate.ToShortDateString(), 1); PDFGenerateUtilityHelper.AddCellToBody(tableLayout, millDetail.MillName, 1); PDFGenerateUtilityHelper.AddCellToBody(tableLayout, resultCount.ToString(), 1); }