Subversion Repositories SmartDukaan

Rev

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

Rev 37171 Rev 37539
Line 855... Line 855...
855
            int retailerId = walletRetailerMap.get(walletId);
855
            int retailerId = walletRetailerMap.get(walletId);
856
 
856
 
857
            float wallet = closingWalletEntry.getValue() == null ? 0f : closingWalletEntry.getValue();
857
            float wallet = closingWalletEntry.getValue() == null ? 0f : closingWalletEntry.getValue();
858
            float pendingIndent = peindingIndentMap.getOrDefault(retailerId, 0f);
858
            float pendingIndent = peindingIndentMap.getOrDefault(retailerId, 0f);
859
            float loanOutstanding = loanOutstandingMap.getOrDefault(retailerId, 0f);
859
            float loanOutstanding = loanOutstandingMap.getOrDefault(retailerId, 0f);
860
            float accountClosing = wallet + pendingIndent - loanOutstanding;
860
            float accountClosing = wallet + pendingIndent;
861
 
861
 
862
            CustomRetailer cr = customRetailerMap.get(retailerId);
862
            CustomRetailer cr = customRetailerMap.get(retailerId);
863
 
863
 
864
            rows.add(Arrays.asList(retailerId, cr.getBusinessName(), cr.getAddress().getCity(), cr.getAddress().getState(), accountClosing, wallet, pendingIndent, loanOutstanding));
864
            rows.add(Arrays.asList(retailerId, cr.getBusinessName(), cr.getAddress().getCity(), cr.getAddress().getState(), accountClosing, wallet, pendingIndent, loanOutstanding));
865
        }
865
        }