From 7a6ee96d94a598b5b6a6c32b9c0038e257c678db Mon Sep 17 00:00:00 2001 From: Daniel Rahamim Date: Thu, 25 May 2023 22:23:17 -0700 Subject: [PATCH] fix(checkout): acc field not case insensitive (#54) --- src/invenflask/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invenflask/app.py b/src/invenflask/app.py index ab475f1..5cc89f1 100644 --- a/src/invenflask/app.py +++ b/src/invenflask/app.py @@ -267,7 +267,7 @@ def staff(): def checkout(): if request.method == 'POST': asset_id = request.form['id'].lower() - accessory_id = request.form['accessoryid'] + accessory_id = request.form['accessoryid'].lower() staff_id = request.form['staffid'] if not asset_id: flash('Asset ID is required', 'warning')