def Get_date_close_credit(id_acc): acc = Account.get(Account.ID_account == id_acc) return acc.date_close
def Get_offer_name(id_acc): return Offer.get(Offer.ID_offer == (Account.get( Account.ID_account == id_acc)).ID_offer).name
def Get_sum(id_acc): acc = Account.get(Account.ID_account == id_acc) return acc.sum