Subversion Repositories SmartDukaan

Rev

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

Rev 31084 Rev 31085
Line 319... Line 319...
319
			noGST = item.getHsnCode().equals("NOGST");
319
			noGST = item.getHsnCode().equals("NOGST");
320
			if (item.getType().equals(ItemType.SERIALIZED)) {
320
			if (item.getType().equals(ItemType.SERIALIZED)) {
321
				for (SerialNumberDetail serialNumberDetail : customFofoOrderItem.getSerialNumberDetails()) {
321
				for (SerialNumberDetail serialNumberDetail : customFofoOrderItem.getSerialNumberDetails()) {
322
					serialNumbers.add(serialNumberDetail.getSerialNumber());
322
					serialNumbers.add(serialNumberDetail.getSerialNumber());
323
					if (serialNumberDetail.getAmount() > 0) {
323
					if (serialNumberDetail.getAmount() > 0) {
324
						if (customCustomer.getEmailId() == null || customCustomer.equals("")) {
324
						if (customCustomer.getEmailId() == null || customCustomer.getEmailId().equals("")) {
325
							throw new ProfitMandiBusinessException("Email Id is required for insurance", "Email Id is required for insurance",
325
							throw new ProfitMandiBusinessException("Email Id is required for insurance", "Email Id is required for insurance",
326
									"Email Id is required for insurance");
326
									"Email Id is required for insurance");
327
						}
327
						}
328
						InsuranceModel im = new InsuranceModel();
328
						InsuranceModel im = new InsuranceModel();
329
						im.setBrand(item.getBrand());
329
						im.setBrand(item.getBrand());