Subversion Repositories SmartDukaan

Rev

Rev 20949 | Rev 20985 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20949 Rev 20950
Line 1087... Line 1087...
1087
 
1087
 
1088
	private PdfPTable getTopInvoiceTable(List<Order> orderList, String tinNo, String invoiceFormat){
1088
	private PdfPTable getTopInvoiceTable(List<Order> orderList, String tinNo, String invoiceFormat){
1089
		PdfPTable invoiceTable = new PdfPTable(new float[]{0.2f, 0.3f, 0.1f, 0.1f, 0.1f});
1089
		PdfPTable invoiceTable = new PdfPTable(new float[]{0.2f, 0.3f, 0.1f, 0.1f, 0.1f});
1090
		invoiceTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
1090
		invoiceTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
1091
 
1091
 
1092
		invoiceTable.addCell(getInvoiceTableHeader(6,orderList.get(0).getLogisticsTransactionId()));
1092
		invoiceTable.addCell(getInvoiceTableHeader(5,orderList.get(0).getLogisticsTransactionId()));
1093
		if("Bulk".equalsIgnoreCase(invoiceFormat)){
1093
		if("Bulk".equalsIgnoreCase(invoiceFormat)){
1094
			invoiceTable.addCell(new Phrase("Sr No", helvetica8));
1094
			invoiceTable.addCell(new Phrase("Sr No", helvetica8));
1095
		}else{
1095
		}else{
1096
			invoiceTable.addCell(new Phrase("Order No", helvetica8));
1096
			invoiceTable.addCell(new Phrase("Order No", helvetica8));
1097
		}
1097
		}