35 lines
953 B
HTML
35 lines
953 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>New DO Entry</title>
|
|
</head>
|
|
<body>
|
|
<h1>Enter a New Delivery Order</h1>
|
|
|
|
<form method="POST">
|
|
<label>DO Number:</label><br>
|
|
<input type="text" name="do_number" required><br>
|
|
|
|
<label>Delivery Number:</label><br>
|
|
<input type="text" name="delivery_number" required><br>
|
|
|
|
<label>Final Destination:</label><br>
|
|
<select name="final_location">
|
|
{% for store in stores %}
|
|
<option value="{{ store.id }}">{{ store.name }} ({{ store.id }})</option>
|
|
{% endfor %}
|
|
</select><br><br>
|
|
|
|
<button type="submit">Create DO</button>
|
|
</form>
|
|
|
|
<p><a href="/store">Back to Dashboard</a></p>
|
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% for category, message in messages %}
|
|
<p style="color:red;">{{ message }}</p>
|
|
{% endfor %}
|
|
{% endwith %}
|
|
</body>
|
|
</html>
|