Fix data types for tax, voided in dtransactions
This commit is contained in:
parent
67dd9777ba
commit
f217f00a8f
|
@ -120,7 +120,8 @@ class TransactionDetailBase(object):
|
|||
|
||||
reg_price = sa.Column('regPrice', sa.Numeric(precision=10, scale=2), nullable=True)
|
||||
|
||||
tax = sa.Column(sa.Boolean(), nullable=True)
|
||||
tax = sa.Column(sa.SmallInteger(), nullable=True)
|
||||
tax_rate_id = orm.synonym('tax')
|
||||
|
||||
food_stamp = sa.Column('foodstamp', sa.Boolean(), nullable=True)
|
||||
|
||||
|
@ -132,7 +133,7 @@ class TransactionDetailBase(object):
|
|||
|
||||
discount_type = sa.Column('discounttype', sa.Integer(), nullable=True)
|
||||
|
||||
voided = sa.Column(sa.Boolean(), nullable=True)
|
||||
voided = sa.Column(sa.Integer(), nullable=True)
|
||||
|
||||
percent_discount = sa.Column('percentDiscount', sa.Integer(), nullable=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue