EMailed label return generation (alpha)

This commit is contained in:
2026-09-02 09:30:19 -05:00
parent 6655b02f4a
commit 826a70bdf6
13 changed files with 603 additions and 5 deletions
+7
View File
@@ -15,6 +15,7 @@ from sqlalchemy import (
Column,
Integer,
String,
Text,
DateTime,
Boolean,
JSON,
@@ -65,6 +66,12 @@ class Order(Base):
# Display name of whoever created the JIRA ticket.
creator = Column(String(200), nullable=True)
# Plain-text version of the JIRA ticket's Description field (parsed
# from Atlassian Document Format - see app/adf.py). Mainly useful for
# the emailed-return-label workflow, where staff write the box
# requirements here rather than in a structured field.
description = Column(Text, nullable=True)
# Tracking numbers pulled from ShipStation and merged onto this
# ticket - e.g. [{"number": "782758401696", "carrier": "ups",
# "is_return": false}]. Populated by the "Pull Tracking Numbers"