Subversion Repositories SmartDukaan

Rev

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

Rev 5908 Rev 5945
Line 4... Line 4...
4
import in.shop2020.logistics.DeliveryType;
4
import in.shop2020.logistics.DeliveryType;
5
import in.shop2020.logistics.LogisticsServiceException;
5
import in.shop2020.logistics.LogisticsServiceException;
6
import in.shop2020.logistics.PickUpType;
6
import in.shop2020.logistics.PickUpType;
7
import in.shop2020.logistics.PickupStore;
7
import in.shop2020.logistics.PickupStore;
8
import in.shop2020.logistics.Provider;
8
import in.shop2020.logistics.Provider;
9
import in.shop2020.model.v1.catalog.InventoryServiceException;
9
import in.shop2020.model.v1.catalog.CatalogServiceException;
10
import in.shop2020.model.v1.catalog.Warehouse;
10
import in.shop2020.model.v1.inventory.Warehouse;
11
import in.shop2020.model.v1.catalog.InventoryService.Client;
11
import in.shop2020.model.v1.catalog.CatalogService.Client;
12
import in.shop2020.model.v1.order.Attribute;
12
import in.shop2020.model.v1.order.Attribute;
13
import in.shop2020.model.v1.order.LineItem;
13
import in.shop2020.model.v1.order.LineItem;
14
import in.shop2020.model.v1.order.Order;
14
import in.shop2020.model.v1.order.Order;
15
import in.shop2020.model.v1.order.OrderStatus;
15
import in.shop2020.model.v1.order.OrderStatus;
16
import in.shop2020.model.v1.order.OrderType;
16
import in.shop2020.model.v1.order.OrderType;
Line 200... Line 200...
200
            			destCode = provider.getPickup().toString();
200
            			destCode = provider.getPickup().toString();
201
            		else
201
            		else
202
            			destCode = logisticsClient.getDestinationCode(providerId, order.getCustomer_pincode());
202
            			destCode = logisticsClient.getDestinationCode(providerId, order.getCustomer_pincode());
203
 
203
 
204
            		barcodeFontSize = Integer.parseInt(ConfigClient.getClient().get(provider.getName().toLowerCase() + "_barcode_fontsize"));
204
            		barcodeFontSize = Integer.parseInt(ConfigClient.getClient().get(provider.getName().toLowerCase() + "_barcode_fontsize"));
205
            	} catch (InventoryServiceException ise) {
205
            	} catch (CatalogServiceException ise) {
206
            		logger.error("Error while getting the warehouse information.", ise);
206
            		logger.error("Error while getting the warehouse information.", ise);
207
            		return baosPDF;
207
            		return baosPDF;
208
            	} catch (LogisticsServiceException lse) {
208
            	} catch (LogisticsServiceException lse) {
209
            		logger.error("Error while getting the provider information.", lse);
209
            		logger.error("Error while getting the provider information.", lse);
210
            		return baosPDF;
210
            		return baosPDF;