예제 #1
0
def mDeleteData():
    mBindData()
    savobjbal = SavingAccounts(beobj.mGetAccno(), beobj.mGetAccname(),
                               beobj.mGetAcctype(), beobj.mGetAmount())
    mydata = savobjbal.mDeleteDataBal(beobj.mGetAccno())
예제 #2
0
def delete():
    accno = request.form.get("Acc_no")
    savobj = SavingAccounts()
    savobj.mDeleteDataBal(accno=accno)
    accdetails = savobj.mSearchDataAllBal()
    return render_template('ShowAllData.html', accdetails=accdetails)