diff --git a/App/Waybill/__init__.py b/App/Waybill/__init__.py index d3abfd5..55276bc 100644 --- a/App/Waybill/__init__.py +++ b/App/Waybill/__init__.py @@ -42,7 +42,6 @@ def save_order(): result = transaction_order_model(user_id, current_date) if result.status: print("Order success") - return "OK" - # return render_template("order_finish.html", order_id = result.result[0]) + return render_template("order_finish.html", order_id = result.result[0]) else: return render_template("error.html", error_message=result.error_message) \ No newline at end of file diff --git a/App/Waybill/templates/order_finish.html b/App/Waybill/templates/order_finish.html new file mode 100644 index 0000000..dd7b64f --- /dev/null +++ b/App/Waybill/templates/order_finish.html @@ -0,0 +1,20 @@ + + + + + Накладная оформлена + + + + +
+
+

Накладная оформлена

+

Номер вашей накладной: {{ order_id }}

+ +
+
+ +