Subversion Repositories SmartDukaan

Rev

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

Rev 21909 Rev 29460
Line 291... Line 291...
291
							destCode = bluedartAttr.getValue();
291
							destCode = bluedartAttr.getValue();
292
						}
292
						}
293
						else
293
						else
294
							destCode = logisticsClient.getDestinationCode(providerId, singleOrder.getCustomer_pincode());
294
							destCode = logisticsClient.getDestinationCode(providerId, singleOrder.getCustomer_pincode());
295
 
295
 
296
						barcodeFontSize = Integer.parseInt(ConfigClient.getClient().get(provider.getName().toLowerCase() + "_barcode_fontsize"));
296
						barcodeFontSize = Integer.parseInt("bluedart_barcode_fontsize"));
297
						
297
						
298
						invoiceFormat = tclient.getInvoiceFormatLogisticsTxnId(singleOrder.getTransactionId(), Long.parseLong(logisticsTxnId.split("-")[1])); 
298
						invoiceFormat = tclient.getInvoiceFormatLogisticsTxnId(singleOrder.getTransactionId(), Long.parseLong(logisticsTxnId.split("-")[1])); 
299
					} catch (InventoryServiceException ise) {
299
					} catch (InventoryServiceException ise) {
300
						logger.error("Error while getting the warehouse information.", ise);
300
						logger.error("Error while getting the warehouse information.", ise);
301
						return baosPDF;
301
						return baosPDF;
Line 479... Line 479...
479
						if(provider.getPickup().equals(PickUpType.SELF) || provider.getPickup().equals(PickUpType.RUNNER))
479
						if(provider.getPickup().equals(PickUpType.SELF) || provider.getPickup().equals(PickUpType.RUNNER))
480
							destCode = provider.getPickup().toString();
480
							destCode = provider.getPickup().toString();
481
						else
481
						else
482
							destCode = logisticsClient.getDestinationCode(providerId, singleOrder.getCustomer_pincode());
482
							destCode = logisticsClient.getDestinationCode(providerId, singleOrder.getCustomer_pincode());
483
 
483
 
484
						barcodeFontSize = Integer.parseInt(ConfigClient.getClient().get(provider.getName().toLowerCase() + "_barcode_fontsize"));
484
						barcodeFontSize = Integer.parseInt("bluedart_barcode_fontsize"));
485
						shippingLocation = CatalogUtils.getWarehouse(warehouse.getShippingWarehouseId()); 
485
						shippingLocation = CatalogUtils.getWarehouse(warehouse.getShippingWarehouseId()); 
486
					} catch (InventoryServiceException ise) {
486
					} catch (InventoryServiceException ise) {
487
						logger.error("Error while getting the warehouse information.", ise);
487
						logger.error("Error while getting the warehouse information.", ise);
488
						return baosPDF;
488
						return baosPDF;
489
					} catch (LogisticsServiceException lse) {
489
					} catch (LogisticsServiceException lse) {