EOD and Carryover tickets added
This commit is contained in:
@@ -64,6 +64,10 @@ class Order(Base):
|
||||
source_created_at = Column(DateTime, nullable=True)
|
||||
# When we pulled it into this app
|
||||
imported_at = Column(DateTime, nullable=False, default=dt.datetime.utcnow)
|
||||
# When this ticket first transitioned into a fulfilled status - used
|
||||
# for "fulfilled today" counts and as a rough audit trail. Set once,
|
||||
# on the transition; not touched again while it stays fulfilled.
|
||||
fulfilled_at = Column(DateTime, nullable=True)
|
||||
|
||||
# Downstream pipeline flags - useful once Odoo export is fully wired up
|
||||
fulfilled = Column(Boolean, nullable=False, default=False)
|
||||
|
||||
Reference in New Issue
Block a user