Subversion Repositories SmartDukaan

Rev

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

Rev 8099 Rev 8100
Line 393... Line 393...
393
		logger.info("Order Source Value........."+order.getSource());
393
		logger.info("Order Source Value........."+order.getSource());
394
		if(order.getSource() == OrderSource.STORE.getValue()){
394
		if(order.getSource() == OrderSource.STORE.getValue()){
395
			logoCell = new PdfPCell(new Phrase(""));
395
			logoCell = new PdfPCell(new Phrase(""));
396
			
396
			
397
		}else{
397
		}else{
398
			logoPath = InvoiceGenerationService.class.getResource("/logo.jpg").getPath();
398
			logoPath = InvoiceGenerationService.class.getResource("/logo.png").getPath();
399
			logger.info("Logo Path........."+logoPath);
399
			logger.info("Logo Path........."+logoPath);
400
			
400
			
401
			try {
401
			try {
402
				logoCell = new PdfPCell(Image.getInstance(logoPath), false);
402
				logoCell = new PdfPCell(Image.getInstance(logoPath), false);
403
				logo = Image.getInstance(logoPath);
403
				logo = Image.getInstance(logoPath);