Subversion Repositories SmartDukaan

Rev

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

Rev 22654 Rev 22660
Line 43... Line 43...
43
import com.spice.profitmandi.common.model.CustomFofoOrderItem;
43
import com.spice.profitmandi.common.model.CustomFofoOrderItem;
44
import com.spice.profitmandi.common.model.CustomInsurancePolicy;
44
import com.spice.profitmandi.common.model.CustomInsurancePolicy;
45
import com.spice.profitmandi.common.model.CustomRetailer;
45
import com.spice.profitmandi.common.model.CustomRetailer;
46
import com.spice.profitmandi.common.model.GadgetCopsInsuranceModel;
46
import com.spice.profitmandi.common.model.GadgetCopsInsuranceModel;
47
import com.spice.profitmandi.common.model.GstRate;
47
import com.spice.profitmandi.common.model.GstRate;
48
import com.spice.profitmandi.common.model.PriceModel;
-
 
49
import com.spice.profitmandi.common.model.PdfModel;
48
import com.spice.profitmandi.common.model.PdfModel;
-
 
49
import com.spice.profitmandi.common.model.PriceModel;
50
import com.spice.profitmandi.common.model.ProfitMandiConstants;
50
import com.spice.profitmandi.common.model.ProfitMandiConstants;
51
import com.spice.profitmandi.common.model.SerialNumberDetail;
51
import com.spice.profitmandi.common.model.SerialNumberDetail;
52
import com.spice.profitmandi.common.util.InsuranceUtils;
52
import com.spice.profitmandi.common.util.InsuranceUtils;
53
import com.spice.profitmandi.common.util.PdfUtils;
53
import com.spice.profitmandi.common.util.PdfUtils;
54
import com.spice.profitmandi.common.util.StringUtils;
54
import com.spice.profitmandi.common.util.StringUtils;
Line 249... Line 249...
249
		}catch (Exception e) {
249
		}catch (Exception e) {
250
			LOGGER.error("Unable to Prepare cart to place order...", e);
250
			LOGGER.error("Unable to Prepare cart to place order...", e);
251
			return "error";
251
			return "error";
252
		}
252
		}
253
	}
253
	}
254
 
254
	
255
	private String getValidName(String name){
255
	private String getValidName(String name){
256
		return name!=null?name:"";
256
		return name!=null?name:"";
257
	}
257
	}
258
	
258
	
259
	@RequestMapping(value = "/insurancePrices", method = RequestMethod.GET)
259
	@RequestMapping(value = "/insurancePrices", method = RequestMethod.GET)