Add shipping, supplies, dist.status_text for exportable invoices

This commit is contained in:
Lance Edgar 2022-12-21 20:07:18 -06:00
parent 9ca0637be5
commit 5acd888a51
2 changed files with 57 additions and 0 deletions

View file

@ -106,6 +106,14 @@ class QuickbooksExportableInvoice(model.Base):
Total amount for the invoice, per source data.
""")
shipping_amount = sa.Column(sa.Numeric(precision=8, scale=2), nullable=True, doc="""
Amount of the invoice total, which is deemed a "shipping" cost.
""")
supplies_amount = sa.Column(sa.Numeric(precision=8, scale=2), nullable=True, doc="""
Amount of the invoice total, which is deemed a "supplies" cost.
""")
##################################################
# columns whose values come from data refresh
##################################################
@ -290,6 +298,10 @@ class QuickbooksExportableInvoiceDistribution(model.Base):
exportable etc.
""")
status_text = sa.Column(sa.String(length=255), nullable=True, doc="""
Extra text relating to the distribution, if applicable.
""")
class QuickbooksInvoiceExport(model.ExportMixin, model.Base):
"""