Subversion Repositories SmartDukaan

Rev

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

Rev 19485 Rev 19493
Line 2414... Line 2414...
2414
class DetailsBatchId():
2414
class DetailsBatchId():
2415
    def on_get(self,req,resp):
2415
    def on_get(self,req,resp):
2416
        batchId = req.get_param('batchId')
2416
        batchId = req.get_param('batchId')
2417
        userRefundDetails = Mongo.fetchCrmRefundByBatchId(batchId)        
2417
        userRefundDetails = Mongo.fetchCrmRefundByBatchId(batchId)        
2418
        if userRefundDetails is not None:
2418
        if userRefundDetails is not None:
2419
            resp.body = dumps(userRefundDetails)
2419
            resp.body = dumps(list(userRefundDetails))
2420
        else:
2420
        else:
2421
            resp.body ="{}"
2421
            resp.body ="{}"
2422
                        
2422
                        
2423
def main():
2423
def main():
2424
    a = RetailerDetail()
2424
    a = RetailerDetail()