From 9c2ec2810b9b8cfca6353a73dfb61abb5e551a93 Mon Sep 17 00:00:00 2001 From: josemigallas Date: Mon, 7 Oct 2024 14:27:05 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20adds=20missing=20css=20to=20invo?= =?UTF-8?q?ices=20show=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/packs/invoices_show.scss | 3 +++ app/views/buyers/invoices/show.html.erb | 5 ++++- app/views/finance/provider/invoices/show.html.erb | 4 ++++ app/views/provider/admin/account/invoices/show.html.erb | 4 ++++ 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 app/javascript/packs/invoices_show.scss diff --git a/app/javascript/packs/invoices_show.scss b/app/javascript/packs/invoices_show.scss new file mode 100644 index 0000000000..bd8d4480cf --- /dev/null +++ b/app/javascript/packs/invoices_show.scss @@ -0,0 +1,3 @@ +@import '~@patternfly/patternfly/layouts/Grid/grid.css'; +@import '~@patternfly/patternfly/components/DescriptionList/description-list.css'; +@import '~@patternfly/patternfly/components/Table/table.css'; diff --git a/app/views/buyers/invoices/show.html.erb b/app/views/buyers/invoices/show.html.erb index 48d5651a4a..dcfa8dc5ac 100644 --- a/app/views/buyers/invoices/show.html.erb +++ b/app/views/buyers/invoices/show.html.erb @@ -1,3 +1,7 @@ +<% content_for :javascripts do %> + <%= javascript_packs_with_chunks_tag 'invoices_show' %> +<% end %> + <%= render '/finance/provider/shared/invoice_title', invoice: @invoice %> <% content_for :menu do %> @@ -10,4 +14,3 @@ <%= render :partial => '/finance/provider/shared/payment_transactions' %> <%= render :partial => '/finance/provider/invoices/actions' %> - diff --git a/app/views/finance/provider/invoices/show.html.erb b/app/views/finance/provider/invoices/show.html.erb index 2d8622d050..60badd9b01 100644 --- a/app/views/finance/provider/invoices/show.html.erb +++ b/app/views/finance/provider/invoices/show.html.erb @@ -1,3 +1,7 @@ +<% content_for :javascripts do %> + <%= javascript_packs_with_chunks_tag 'invoices_show' %> +<% end %> + <%= render '/finance/provider/shared/invoice_title', invoice: @invoice %>
diff --git a/app/views/provider/admin/account/invoices/show.html.erb b/app/views/provider/admin/account/invoices/show.html.erb index 04316d029f..cc454b9a1f 100644 --- a/app/views/provider/admin/account/invoices/show.html.erb +++ b/app/views/provider/admin/account/invoices/show.html.erb @@ -1,3 +1,7 @@ +<% content_for :javascripts do %> + <%= javascript_packs_with_chunks_tag 'invoices_show' %> +<% end %> + <%= render '/finance/provider/shared/invoice_title', invoice: @invoice %>