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 %>