def creditC() : nom = request.form['nom'] prenom = request.form['prenom'] credit = request.form['credit'] numCarte = request.form['numCarte'] rep = modeleResanet.crediterCarte( numCarte , credit ) personnels = modeleResanet.getPersonnelsAvecCarte() return render_template( 'gererCarte.html' , personnels = personnels , credit = True , nom = nom , prenom = prenom )
def crediterCarte(): somme = request.form['somme'] numeroCarte = request.form['numeroCarte'] CrediterCompte = modeleResanet.crediterCarte(numeroCarte, somme) return redirect('/gestionnaire/avecCarte/lister')
def crediterCarte(): numCarte = request.form['numeroCarte'] montant = request.form['montant'] crediterCarte = modeleResanet.crediterCarte(numCarte, montant) return redirect("/gestionnaire/personnels/avec/carte")
def credit(numero, n, p): solde = request.form['solde'] modeleResanet.crediterCarte(numero, solde) return redirect('/gestionnaire/liste/avecCarte')
def montantCredite() : noCarte = request.form['numeroCarte'] montant = request.form['credit'] modeleResanet.crediterCarte(noCarte,montant) return redirect("/gestionnaire/avecCarte")