From a08a2fd5f6b767422f07d1eed1bc0d3f26ac464a Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Wed, 18 Oct 2023 14:17:29 +0100 Subject: [PATCH] [skip ci] add terms of service link to the invoice. --- app/views/spree/admin/orders/invoice4.html.haml | 3 +++ app/webpacker/css/mail/email.scss | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/app/views/spree/admin/orders/invoice4.html.haml b/app/views/spree/admin/orders/invoice4.html.haml index e60c41cc80..e65e7c10b9 100644 --- a/app/views/spree/admin/orders/invoice4.html.haml +++ b/app/views/spree/admin/orders/invoice4.html.haml @@ -98,3 +98,6 @@ - if @order.note.present? = render partial: 'spree/admin/orders/_invoice/order_note' + +%div.text-center + = link_to_platform_terms \ No newline at end of file diff --git a/app/webpacker/css/mail/email.scss b/app/webpacker/css/mail/email.scss index 4ded7967d7..bfb0684f9c 100644 --- a/app/webpacker/css/mail/email.scss +++ b/app/webpacker/css/mail/email.scss @@ -113,6 +113,10 @@ table.order-summary { } } +.text-center { + text-align: center; +} + .text-right { text-align: right; }