Subversion Repositories SmartDukaan

Rev

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

Rev 34589 Rev 34642
Line 2267... Line 2267...
2267
 
2267
 
2268
        double purchasedFtd = secondaryToday.getOrDefault(fofoId, 0.0);
2268
        double purchasedFtd = secondaryToday.getOrDefault(fofoId, 0.0);
2269
 
2269
 
2270
        MonthlyTarget monthlyTarget = monthlyTargetRepository.selectByDateAndFofoId(YearMonth.now(), fofoId);
2270
        MonthlyTarget monthlyTarget = monthlyTargetRepository.selectByDateAndFofoId(YearMonth.now(), fofoId);
2271
 
2271
 
2272
        double purchaseTargetFtd = rbmTargetService.calculateFofoIdTodayTarget(fofoId, purchaseMtd);
2272
        double purchaseTargetFtd = rbmTargetService.calculateFofoIdTodayTarget(fofoId, purchaseMtd, LocalDate.now());
2273
 
2273
 
2274
        double saleMtd = (Double) fofoUser.getSales(fofoId).get("mtdSale");
2274
        double saleMtd = (Double) fofoUser.getSales(fofoId).get("mtdSale");
2275
 
2275
 
2276
        double recoverableAmount = saleMtd - purchaseMtd;
2276
        double recoverableAmount = saleMtd - purchaseMtd;
2277
 
2277