Subversion Repositories SmartDukaan

Rev

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

Rev 34173 Rev 34174
Line 520... Line 520...
520
 
520
 
521
    //Only in and activation margins are allowed to be rolled out more than twice
521
    //Only in and activation margins are allowed to be rolled out more than twice
522
    private float createSchemeInOut(List<SchemeSummaryModel> schemeSummaryModels, InventoryItem inventoryItem) throws ProfitMandiBusinessException {
522
    private float createSchemeInOut(List<SchemeSummaryModel> schemeSummaryModels, InventoryItem inventoryItem) throws ProfitMandiBusinessException {
523
        LOGGER.info("schemeSummaryModels - {}", schemeSummaryModels);
523
        LOGGER.info("schemeSummaryModels - {}", schemeSummaryModels);
524
        InventoryPayoutModel inventoryPayoutModel = priceCircularService.getPayouts(inventoryItem);
524
        InventoryPayoutModel inventoryPayoutModel = priceCircularService.getPayouts(inventoryItem);
-
 
525
 
-
 
526
        LOGGER.info("inventoryPayoutModel - {}", inventoryPayoutModel);
-
 
527
 
525
        //Get all schemes
528
        //Get all schemes
526
        List<SchemeSummaryModel> inventoryPayoutModelToProcess = schemeSummaryModels.stream().filter(x -> x.isProcess()).collect(Collectors.toList());
529
        List<SchemeSummaryModel> inventoryPayoutModelToProcess = schemeSummaryModels.stream().filter(x -> x.isProcess()).collect(Collectors.toList());
527
 
530
 
528
        List<SchemeInOut> paidSios = inventoryPayoutModel.getPaidSios();
531
        List<SchemeInOut> paidSios = inventoryPayoutModel.getPaidSios();
529
        List<SchemeInOut> pendingSios = inventoryPayoutModel.getPendingSios();
532
        List<SchemeInOut> pendingSios = inventoryPayoutModel.getPendingSios();