Subversion Repositories SmartDukaan

Rev

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

Rev 31109 Rev 31172
Line 504... Line 504...
504
		for (FofoOrderItem fofoItem : fofoItems) {
504
		for (FofoOrderItem fofoItem : fofoItems) {
505
			Item orderItem = itemRepository.selectById(fofoItem.getItemId());
505
			Item orderItem = itemRepository.selectById(fofoItem.getItemId());
506
			if (orderItem.isSmartPhone()) {
506
			if (orderItem.isSmartPhone()) {
507
				smartPhone = true;
507
				smartPhone = true;
508
			}
508
			}
-
 
509
 
-
 
510
		}
-
 
511
 
509
			if (orderItem.getCategoryId() == ProfitMandiConstants.MOBILE_CATEGORY_ID) {
512
		if (smartPhone) {
510
				this.createAndGetHygieneData(fofoOrder.getId(), fofoOrder.getFofoId());
513
			this.createAndGetHygieneData(fofoOrder.getId(), fofoOrder.getFofoId());
511
			}
-
 
512
		}
514
		}
513
		// insurance calculation is insurance flag is enabled
515
		// insurance calculation is insurance flag is enabled
514
		//
516
		//
515
		if (insuredModels.size() > 0) {
517
		if (insuredModels.size() > 0) {
516
			LOGGER.info("Processing insurane for serialNumbers");
518
			LOGGER.info("Processing insurane for serialNumbers");