/// <summary> /// Add footer for document receipt /// </summary> /// <param name="streamWriter"></param> /// <param name="stockIssuesEntity"></param> private void AddFooter(StreamWriter streamWriter, DocumentStockIssuesEntity stockIssuesEntity) { streamWriter.WriteLine("| LORRY NO :" + report.StringFormatWithoutPipe(report.ConvertToUpper(stockIssuesEntity.LorryNo), 17, 2) + "TC NAME : " + report.StringFormatWithoutPipe(report.ConvertToUpper(stockIssuesEntity.TransporterName), 60, 2) + "|"); // streamWriter.WriteLine("| |"); streamWriter.WriteLine("|" + report.StringFormatWithoutPipe(GlobalVariable.FSSAI1, 108, 2) + "|"); streamWriter.WriteLine("|" + report.StringFormatWithoutPipe(GlobalVariable.FSSAI2, 108, 2) + "|"); streamWriter.WriteLine("|" + report.StringFormatWithoutPipe(GlobalVariable.FSSAI3, 108, 2) + "|"); streamWriter.WriteLine("|" + report.StringFormatWithoutPipe(GlobalVariable.FSSAI4, 108, 2) + "|"); streamWriter.WriteLine("|" + report.StringFormatWithoutPipe(GlobalVariable.FSSAI5, 108, 2) + "|"); streamWriter.WriteLine("| |"); streamWriter.WriteLine("| Signature of the representative. GODOWN INCHARGE |"); // streamWriter.WriteLine("| Sign. of the Authorised Person. GODOWN INCHARGE |"); streamWriter.WriteLine("| |"); streamWriter.WriteLine("|REMARKS |"); streamWriter.WriteLine("| " + report.StringFormatWithoutPipe(stockIssuesEntity.Remarks, 105, 2) + "|"); report.AddMoreContent(streamWriter, stockIssuesEntity.Remarks, 105, 3); streamWriter.WriteLine("|-------------------------------------------------------------------------------------------------------------|"); streamWriter.WriteLine((char)12); }