Fixes to the updates for the invpoice processing, Fix is a duplication error for admin_mark_invoice_paid
Release Inventarsystem / release-docker (push) Successful in 2m16s
Release Inventarsystem / release-docker (push) Successful in 2m16s
This commit is contained in:
+1
-1
@@ -8919,7 +8919,7 @@ def admin_pay_invoice_extended(borrow_id): # <--- HIER GEÄNDERT (Eindeutiger F
|
|||||||
client.close()
|
client.close()
|
||||||
|
|
||||||
@app.route('/admin/items/<item_id>/repair', methods=['POST'])
|
@app.route('/admin/items/<item_id>/repair', methods=['POST'])
|
||||||
def mark_damage_repaired(item_id):
|
def resolve_repaired_item(item_id):
|
||||||
"""Mark item as repaired and make it available again."""
|
"""Mark item as repaired and make it available again."""
|
||||||
if 'username' not in session:
|
if 'username' not in session:
|
||||||
return redirect(url_for('login'))
|
return redirect(url_for('login'))
|
||||||
|
|||||||
Reference in New Issue
Block a user