| 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());
|