Skip to content

Commit

Permalink
fix(checkout): acc field not case insensitive (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
drahamim authored May 26, 2023
1 parent 761e39c commit 7a6ee96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/invenflask/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 7a6ee96

Please sign in to comment.