예제 #1
0
 def Get_date_close_credit(id_acc):
     acc = Account.get(Account.ID_account == id_acc)
     return acc.date_close
예제 #2
0
 def Get_offer_name(id_acc):
     return Offer.get(Offer.ID_offer == (Account.get(
         Account.ID_account == id_acc)).ID_offer).name
예제 #3
0
 def Get_sum(id_acc):
     acc = Account.get(Account.ID_account == id_acc)
     return acc.sum