Subversion Repositories SmartDukaan

Rev

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

Rev 18803 Rev 18805
Line 2743... Line 2743...
2743
        finally:
2743
        finally:
2744
            close_session()
2744
            close_session()
2745
            
2745
            
2746
    def getLimitedCreditHistoryRecords(self, paymentId, userId, creditorId, limit, offset):
2746
    def getLimitedCreditHistoryRecords(self, paymentId, userId, creditorId, limit, offset):
2747
        try:
2747
        try:
2748
            return to_t_PaginatedCreditHistory(get_credit_history_records_paginated(paymentId, userId, creditorId, None, limit, offset))
2748
            hasMore, totalCount, creditHistoryList = get_credit_history_records_paginated(paymentId, userId, creditorId, None, limit, offset)
-
 
2749
            return to_t_PaginatedCreditHistory(hasMore, totalCount, creditHistoryList)
2749
        finally:
2750
        finally:
2750
            close_session()
2751
            close_session()
2751
    
2752
    
2752
    def getLimitedLoanHistoryRecords(self, paymentId, userId, creditorId, limit, offset):
2753
    def getLimitedLoanHistoryRecords(self, paymentId, userId, creditorId, limit, offset):
2753
        try:
2754
        try:
2754
            return to_t_PaginatedLoanHistory(get_loan_history_records_paginated(paymentId, userId, creditorId, None, limit, offset))
2755
            hasMore, totalCount, loanHistoryList = get_loan_history_records_paginated(paymentId, userId, creditorId, None, limit, offset)
-
 
2756
            return to_t_PaginatedLoanHistory(hasMore, totalCount, loanHistoryList)
2755
        finally:
2757
        finally:
2756
            close_session()
2758
            close_session()
2757
            
2759
            
2758
    def getUserSanctionsDetailsAsPerLimit(self, userId, creditorId, limit, offset):
2760
    def getUserSanctionsDetailsAsPerLimit(self, userId, creditorId, limit, offset):
2759
        try:
2761
        try: