updating budget cat for vendors
This commit is contained in:
parent
e80740dd2c
commit
f885c7f2cb
2 changed files with 10 additions and 1 deletions
|
|
@ -153,5 +153,9 @@ def get_month_line_items(month:str, year:str):
|
|||
line_item_list.append(line_item_data)
|
||||
return jsonify(line_item_list)
|
||||
|
||||
@app.route('/update_vendors_budget_category/<vendor_id>/<updated_budget_name>', methods=['POST'])
|
||||
def update_vendors_budget_category(vendor_id, updated_budget_name):
|
||||
db.session.execute(update(Vendor).values().where(id=vendor_id))
|
||||
return {"status":'success'}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue