Subversion Repositories SmartDukaan

Rev

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

Rev 7080 Rev 7084
Line 4512... Line 4512...
4512
        order.customer_pin = pin
4512
        order.customer_pin = pin
4513
        session.commit()
4513
        session.commit()
4514
        return True
4514
        return True
4515
    return False
4515
    return False
4516
 
4516
 
-
 
4517
def get_recharge_transactions(storeId):
-
 
4518
    query = RechargeTransaction.query.filter(RechargeTransaction.storeId == storeId)
-
 
4519
    return query.all()
-
 
4520
 
4517
def create_recharge_transaction(t_recharge):
4521
def create_recharge_transaction(t_recharge):
4518
    rechargeTransaction = RechargeTransaction()
4522
    rechargeTransaction = RechargeTransaction()
4519
    rechargeTransaction.amount = t_recharge.amount
4523
    rechargeTransaction.amount = t_recharge.amount
4520
    ##################################
4524
    ##################################
4521
    #############TODO    rechargeTransaction.circleId = 
4525
    #############TODO    rechargeTransaction.circleId =