Subversion Repositories SmartDukaan

Rev

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

Rev 23246 Rev 23247
Line 168... Line 168...
168
			order_ids.addAll(orderIdSet);
168
			order_ids.addAll(orderIdSet);
169
 
169
 
170
			boolean status = client.addBillingDetailsForGrouppedOrders(order_ids, "", itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap , user, jacket_number, billing_type, false, invoice_type);
170
			boolean status = client.addBillingDetailsForGrouppedOrders(order_ids, "", itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap , user, jacket_number, billing_type, false, invoice_type);
171
			// If provider is ECom Express then forward shipping request after billing
171
			// If provider is ECom Express then forward shipping request after billing
172
			if(t_order.getLogistics_provider_id()==49) {
172
			if(t_order.getLogistics_provider_id()==49) {
173
				return "Order billed but could not forward request to provider";
-
 
174
				try {
173
				try {
175
					LogisticsClient lc = new LogisticsClient();
174
					LogisticsClient lc = new LogisticsClient();
176
					lc.getClient().pushCourierDetailsForEcomExpress(Arrays.asList(t_order.getLogisticsTransactionId()));
175
					lc.getClient().pushCourierDetailsForEcomExpress(Arrays.asList(t_order.getLogisticsTransactionId()));
177
				} catch (Exception e) {
176
				} catch (Exception e) {
178
					logger.error("Error pushing courier details", e);
177
					logger.error("Error pushing courier details", e);