Subversion Repositories SmartDukaan

Rev

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

Rev 5703 Rev 5757
Line 480... Line 480...
480
	        customerTable.addCell(new Phrase("Phone :" + order.getCustomer_mobilenumber(), font));
480
	        customerTable.addCell(new Phrase("Phone :" + order.getCustomer_mobilenumber(), font));
481
        }else{
481
        }else{
482
        	try {
482
        	try {
483
				in.shop2020.logistics.LogisticsService.Client lclient = (new LogisticsClient()).getClient();
483
				in.shop2020.logistics.LogisticsService.Client lclient = (new LogisticsClient()).getClient();
484
	            PickupStore store = lclient.getPickupStore(order.getPickupStoreId());
484
	            PickupStore store = lclient.getPickupStore(order.getPickupStoreId());
485
			    customerTable.addCell(new Phrase(store.getName(), font));
485
			    customerTable.addCell(new Phrase(order.getCustomer_name() + " \nc/o " + store.getName(), font));
486
		        customerTable.addCell(new Phrase(store.getLine1(), font));
486
		        customerTable.addCell(new Phrase(store.getLine1(), font));
487
		        customerTable.addCell(new Phrase(store.getLine2(), font));
487
		        customerTable.addCell(new Phrase(store.getLine2(), font));
488
		        customerTable.addCell(new Phrase(store.getCity() + "," + store.getState(), font));
488
		        customerTable.addCell(new Phrase(store.getCity() + "," + store.getState(), font));
489
		        if(destCode != null)
489
		        if(destCode != null)
490
		            customerTable.addCell(new Phrase(store.getPin() + " - " + destCode, helvetica16));
490
		            customerTable.addCell(new Phrase(store.getPin() + " - " + destCode, helvetica16));