diff --git a/backend/app/templates/email/order_confirmation.html b/backend/app/templates/email/order_confirmation.html index 51f712b..f71ba67 100644 --- a/backend/app/templates/email/order_confirmation.html +++ b/backend/app/templates/email/order_confirmation.html @@ -2,30 +2,114 @@
-

Order Confirmation

+

Order confirmation

Thank you for your order!

+
+
-

Order Number: {{ order.payment_intent_id }}

-

Date: {{ order.created_at.strftime('%Y-%m-%d %H:%M:%S') }}

-

Customer: {{ user.username }}

-

Email: {{ user.email }}

+

Order number: {{ order.payment_intent_id }}

+

Date: {{ order.created_at.strftime('%Y-%m-%d %H:%M') }}

@@ -40,12 +124,7 @@

Order Confirmation

{% for item in items %} - + @@ -55,11 +134,16 @@

Order Confirmation

-
- {{ item.product.name }} - {{ item.product.name }} -
-
{{ item.product.name }} {{ item.quantity }} ${{ "%.2f"|format(item.unit_price) }} ${{ "%.2f"|format(item.total) }}
-

Total Amount: ${{ "%.2f"|format(order.amount) }}

+ Total amount: ${{ "%.2f"|format(order.amount) }} +
+ + +
+ If you have any questions about your order, please contact us at pharmacy.app.wut@gmail.com
diff --git a/backend/app/templates/email/verify_email.html b/backend/app/templates/email/verify_email.html index bfbe217..15fae8a 100644 --- a/backend/app/templates/email/verify_email.html +++ b/backend/app/templates/email/verify_email.html @@ -1,43 +1,132 @@ - + -
-
-

Verify Your Email

-
- +
+
+

Verify your email

+
+

Hello {{ username }},

-

Thank you for registering. Please click the button below to verify your email address:

+

Thank you for creating an account at Your Pharmacy. To ensure the security of your information, please verify your email address by clicking the button below:

Verify Email
-

Or copy and paste this link in your browser:

-

{{ verification_url }}

+

Alternatively, you can copy this verification link:

+ + +
+ For your security, this verification link will expire in 24 hours. +
-

This link will expire in 24 hours.

+
+ Need help? Contact our support team at pharmacy.app.wut@gmail.com +
+
\ No newline at end of file