Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add delivery_date column in the backend Azure SQL Database #1

Open
SophiaKaterinis opened this issue Dec 16, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@SophiaKaterinis
Copy link
Owner

New feature that allows the addition of a new field in the delivery tracking software.
Addition of a delivery_date column in the backend Azure SQL Database

@SophiaKaterinis SophiaKaterinis added the enhancement New feature or request label Dec 16, 2023
@SophiaKaterinis SophiaKaterinis self-assigned this Dec 16, 2023
@SophiaKaterinis
Copy link
Owner Author

Feature was added but then reverted.

If feature is requested again, follow these instructions:

  1. In app.py modify the following:
    1.a. Order class to include delivery_date = Column('Delivery Date', DateTime)
    1.b. @app.route add_order function to include delivery_date = request.form['delivery_date']
    1.c. new_order object to include delivery_date=delivery_date
  2. In order.html modify the following:
    2.a. <th> elements to include <th>Delivery Date</th>
    2.b. <td> elements to include <td>{{ order.delivery_date }}</td>
    2.c. <form> element to include <label for="delivery_date">Delivery Date:</label>
    and <input type="date" id="delivery_date" name="delivery_date"><br><br>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant