fix: Do not append row if item is sold within days since last order
This commit is contained in:
parent
73706f85aa
commit
4dcba49b5f
@ -96,6 +96,8 @@ def get_data(filters):
|
||||
"qty": item_obj.qty,
|
||||
"days_since_last_order": item_obj.days_since_last_order
|
||||
})
|
||||
else:
|
||||
continue
|
||||
|
||||
data.append(row)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user