diff --git a/rattail/trainwreck/db/model.py b/rattail/trainwreck/db/model.py index 9a539ce4..b60a303d 100644 --- a/rattail/trainwreck/db/model.py +++ b/rattail/trainwreck/db/model.py @@ -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. """)