This commit is contained in:
2024-05-16 14:36:14 -04:00
parent 2a4804ecb2
commit 2433dbb447
11 changed files with 126 additions and 22 deletions

View File

@@ -25,6 +25,7 @@ class Customer_Customer(db.Model):
customer_home_type = db.Column(db.INTEGER)
customer_apt = db.Column(db.VARCHAR(140))
customer_address = db.Column(db.VARCHAR(1000))
company_id = db.Column(db.INTEGER)
class Customer_Customer_schema(ma.SQLAlchemyAutoSchema):

View File

@@ -55,6 +55,7 @@ class Delivery_Delivery(db.Model):
same_day = db.Column(db.INTEGER)
# cash = 0
# credit = 1
# credit/cash = 2
payment_type = db.Column(db.INTEGER)
payment_card_id = db.Column(db.INTEGER)
cash_recieved = db.Column(db.DECIMAL(50, 2))