Subversion Repositories SmartDukaan

Rev

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

Rev 20838 Rev 20839
Line 108... Line 108...
108
			PdfPTable table = new PdfPTable(3);
108
			PdfPTable table = new PdfPTable(3);
109
			table.getDefaultCell().setBorder(Rectangle.NO_BORDER);
109
			table.getDefaultCell().setBorder(Rectangle.NO_BORDER);
110
			table.getDefaultCell().setPaddingBottom(10.0f);
110
			table.getDefaultCell().setPaddingBottom(10.0f);
111
			
111
			
112
			
112
			
113
			String addressString =  wha.getAddress() + "\nPIN " + wha.getPin()+ "\n\n";
113
			String addressString =  wha.getAddress() + " PIN - 	" + wha.getPin()+ "\n\n";
114
			
114
			
115
						
115
						
116
			PdfPTable ordersTable = null;
116
			PdfPTable ordersTable = null;
117
			ordersTable = new PdfPTable(8);
117
			ordersTable = new PdfPTable(8);
118
			if (providerId > 7 && providerId <12) {
118
			if (providerId > 7 && providerId <12) {
119
				ordersTable = new PdfPTable(10);
119
				ordersTable = new PdfPTable(10);
-
 
120
			} else {
-
 
121
				ordersTable.setWidths(new float[]{1, 2, 2, 1, 2, 2, 1, 2});
120
			}
122
			}
121
			
123
			
122
			ordersTable.addCell(new Phrase("Sl No", helvetica8));
124
			ordersTable.addCell(new Phrase("Sl No", helvetica8));
123
			ordersTable.addCell(new Phrase("Master Order Id", helvetica8));
125
			ordersTable.addCell(new Phrase("Master Order Id", helvetica8));
124
			
126