Subversion Repositories SmartDukaan

Rev

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

Rev 36780 Rev 36801
Line 849... Line 849...
849
        // CREDIT_LIMIT/CREDIT_UTILIZED (represented by the Interest Accrued line + opening/closing loan); and the
849
        // CREDIT_LIMIT/CREDIT_UTILIZED (represented by the Interest Accrued line + opening/closing loan); and the
850
        // scheme set CN_WALLET_REFERENCES (shown instead as the month-end MARGINS credit-note line / partial fallback).
850
        // scheme set CN_WALLET_REFERENCES (shown instead as the month-end MARGINS credit-note line / partial fallback).
851
        history = history.stream().filter(x -> !x.getReferenceType().equals(WalletReferenceType.PURCHASE))
851
        history = history.stream().filter(x -> !x.getReferenceType().equals(WalletReferenceType.PURCHASE))
852
                .filter(x -> !x.getReferenceType().equals(WalletReferenceType.CREDIT_LIMIT))
852
                .filter(x -> !x.getReferenceType().equals(WalletReferenceType.CREDIT_LIMIT))
853
                .filter(x -> !x.getReferenceType().equals(WalletReferenceType.CREDIT_UTILIZED))
853
                .filter(x -> !x.getReferenceType().equals(WalletReferenceType.CREDIT_UTILIZED))
-
 
854
                .filter(x -> !x.getReferenceType().equals(WalletReferenceType.LOAN))
-
 
855
                .filter(x -> !x.getReferenceType().equals(WalletReferenceType.LOAN_REPAYMENT))
854
                .filter(x -> !WalletService.CN_WALLET_REFERENCES.contains(x.getReferenceType()))
856
                .filter(x -> !WalletService.CN_WALLET_REFERENCES.contains(x.getReferenceType()))
855
                .sorted(Comparator.comparing(UserWalletHistory::getId)).collect(Collectors.toList());
857
                .sorted(Comparator.comparing(UserWalletHistory::getId)).collect(Collectors.toList());
856
 
858
 
857
        InputStream is = getClass().getClassLoader().getResourceAsStream("account-statement.xlsx");
859
        InputStream is = getClass().getClassLoader().getResourceAsStream("account-statement.xlsx");
858
        CustomRetailer customRetailer = retailerService.getAllFofoRetailers().get(fofoId);
860
        CustomRetailer customRetailer = retailerService.getAllFofoRetailers().get(fofoId);