working auto

This commit is contained in:
2025-09-26 20:30:51 -04:00
parent e873e73d6c
commit 671c40adca
3 changed files with 116 additions and 23 deletions

View File

@@ -59,11 +59,12 @@ class Auto_Delivery(Base):
tank_size = Column(VARCHAR(25))
house_factor = Column(DECIMAL(5, 2))
auto_status = Column(INTEGER())
open_ticket_id = Column(Integer, nullable=True)
class Tickets_Auto_Delivery(Base):
__tablename__ = 'auto_tickets'
id = Column(Integer,
primary_key=True,
autoincrement=True,
@@ -76,7 +77,6 @@ class Tickets_Auto_Delivery(Base):
customer_address = Column(VARCHAR(1000))
customer_zip = Column(VARCHAR(25))
customer_full_name = Column(VARCHAR(250))
customer_zip = Column(VARCHAR(25))
oil_prices_id = Column(INTEGER())
fill_date = Column(DATE())
@@ -84,3 +84,7 @@ class Tickets_Auto_Delivery(Base):
price_per_gallon = Column(DECIMAL(6, 2))
total_amount_customer = Column(DECIMAL(6, 2))
payment_type = Column(Integer, nullable=True)
payment_card_id = Column(Integer, nullable=True)
payment_status = Column(Integer, nullable=True)