supergeorg / Grocy-SwiftUI

A client for Grocy for macOS and iOS, written with SwiftUI
GNU General Public License v3.0
177 stars 17 forks source link

Bug: master data due days of -1 results in due date of yesterday instead of never when scanning. #157

Closed Hoffelhas closed 3 months ago

Hoffelhas commented 1 year ago

Setting the 'default due days' of an item to '-1' in the master data of a product is intended to signify that the item will never be overdue. However, after scanning the product the due date is instead automatically put on 'yesterday', instead of triggering the never overdue toggle.

Important note: this only happens if you scan a purchase, not if you manually add a purchase.

supergeorg commented 1 year ago

The form missed handling for the never overdue value. Should be fixed with the next update.