From b4852fe6a6012822409762b3c1f8d78a9fd09b0f Mon Sep 17 00:00:00 2001 From: Dean-Foulds Date: Tue, 23 Jan 2024 20:05:44 +0000 Subject: [PATCH 1/3] adding name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 08407749..b1ddcdda 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Web-App-DevOps-Project +# Web-App-DevOps-Project - Dean Foulds Welcome to the Web App DevOps Project repo! This application allows you to efficiently manage and track orders for a potential business. It provides an intuitive user interface for viewing existing orders and adding new ones. From fecea2cf708d4a6b7da63378510cea31431014c0 Mon Sep 17 00:00:00 2001 From: Dean-Foulds Date: Tue, 23 Jan 2024 20:11:02 +0000 Subject: [PATCH 2/3] delivery_date column added to form --- app.py | 2 ++ templates/orders.html | 1 + 2 files changed, 3 insertions(+) diff --git a/app.py b/app.py index 50f4e29d..0b2ed459 100644 --- a/app.py +++ b/app.py @@ -46,6 +46,8 @@ class Order(Base): product_quantity = Column('Product Quantity', Integer) order_date = Column('Order Date', DateTime) shipping_date = Column('Shipping Date', DateTime) + delivery_date = Column('Delivery Date', DateTime) + # define routes # route to display orders diff --git a/templates/orders.html b/templates/orders.html index 9372e2d0..84b27325 100644 --- a/templates/orders.html +++ b/templates/orders.html @@ -27,6 +27,7 @@

Order List

Product Quantity Order Date Shipping Date + Delivery Date From d23195a834c1ecfcd744529209566ea8ce888d7e Mon Sep 17 00:00:00 2001 From: Dean-Foulds Date: Tue, 23 Jan 2024 20:43:10 +0000 Subject: [PATCH 3/3] delivery_date field added to form and column to database --- app.py | 2 +- templates/orders.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 50f4e29d..22d93721 100644 --- a/app.py +++ b/app.py @@ -46,7 +46,7 @@ class Order(Base): product_quantity = Column('Product Quantity', Integer) order_date = Column('Order Date', DateTime) shipping_date = Column('Shipping Date', DateTime) - + delivery_date = Column('Delivery Date', DateTime) # define routes # route to display orders @app.route('/') diff --git a/templates/orders.html b/templates/orders.html index 9372e2d0..84b27325 100644 --- a/templates/orders.html +++ b/templates/orders.html @@ -27,6 +27,7 @@

Order List

Product Quantity Order Date Shipping Date + Delivery Date