Fix: Kots had the wrong time.
This commit is contained in:
parent
c3df28eb64
commit
4c867138e2
@ -19,7 +19,7 @@ from ..models.voucher import Voucher
|
||||
|
||||
|
||||
def design_kot(voucher: Voucher, kot: Kot, items: List[Inventory], copy_number: int, db: Session) -> str:
|
||||
date_ = voucher.date + timedelta(minutes=settings.NEW_DAY_OFFSET_MINUTES)
|
||||
date_ = voucher.date + timedelta(minutes=settings.TIMEZONE_OFFSET_MINUTES)
|
||||
product_date = (
|
||||
voucher.date + timedelta(minutes=settings.TIMEZONE_OFFSET_MINUTES - settings.NEW_DAY_OFFSET_MINUTES)
|
||||
).date()
|
||||
|
Loading…
Reference in New Issue
Block a user