Skip to content

Commit

Permalink
EDIT report min_max
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimskay1988 committed Jun 15, 2023
1 parent afed57c commit 7efd071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Inventory/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def process_item_status(data):
data_item = Items.objects.filter(id=item_data['itemId']).values('current_stock_level', 'low_stock_level',
'status', 'multi_row')
min_item = data_item[0]['low_stock_level']
image_path = item_data['image']
image_path = item_data['image_item']
level_previous_status = data_item[0]['status']
item = Items.objects.filter(id=item_data['itemId']).first()
if data_item[0]['multi_row']:
Expand Down

0 comments on commit 7efd071

Please sign in to comment.