Add gross and net sales to Trainwreck items

This commit is contained in:
Lance Edgar 2017-07-01 18:17:31 -05:00
parent 6613006d96
commit 1e8d938868

View file

@ -222,6 +222,14 @@ class TransactionItemBase(object):
Subtotal for the line item, i.e. quantity times unit price.
""")
gross_sales = sa.Column(sa.Numeric(precision=9, scale=2), nullable=True, doc="""
Gross sales amount for the line item. Meaning of this may vary slightly?
""")
net_sales = sa.Column(sa.Numeric(precision=9, scale=2), nullable=True, doc="""
Net sales amount for the line item. Meaning of this may vary slightly?
""")
tax = sa.Column(sa.Numeric(precision=8, scale=2), nullable=True, doc="""
Tax total (for all tax levels) for the line item.
""")