Subversion Repositories SmartDukaan

Rev

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

Rev 20833 Rev 20834
Line 253... Line 253...
253
				table.addCell(new Phrase("Manifest Type: Courier Manifest", helvetica8));
253
				table.addCell(new Phrase("Manifest Type: Courier Manifest", helvetica8));
254
			}
254
			}
255
			
255
			
256
			table.addCell(new Phrase("Dispatch Date: " + DateFormat.getDateInstance(DateFormat.MEDIUM).format(new Date()), helvetica8));
256
			table.addCell(new Phrase("Dispatch Date: " + DateFormat.getDateInstance(DateFormat.MEDIUM).format(new Date()), helvetica8));
257
			table.addCell(new Phrase("No. of Shipments: " + airwayBillNoMap.size(), helvetica8));
257
			table.addCell(new Phrase("No. of Shipments: " + airwayBillNoMap.size(), helvetica8));
-
 
258
			
-
 
259
			/*PdfPTable table1 = new PdfPTable(3);
-
 
260
			table1.getDefaultCell().setBorder(Rectangle.NO_BORDER);
-
 
261
			table1.getDefaultCell().setPaddingBottom(10.0f);
258
			table.addCell(ordersTable);
262
			table1.addCell(ordersTable);
259
			table.setWidthPercentage(90.0f);
263
			table.setWidthPercentage(90.0f);*/
260
			
264
			
261
			document.add(table);  
265
			document.add(table);  
-
 
266
			document.add(ordersTable);  
262
			document.close();
267
			document.close();
263
			baosPDF.close();
268
			baosPDF.close();
264
		} catch (DocumentException e) {
269
		} catch (DocumentException e) {
265
		    logger.error("Error while creating the manifest file", e);
270
		    logger.error("Error while creating the manifest file", e);
266
		} catch (MalformedURLException e) {
271
		} catch (MalformedURLException e) {