Skip to content

Commit

Permalink
💄 adds missing css to invoices show template
Browse files Browse the repository at this point in the history
  • Loading branch information
josemigallas committed Oct 7, 2024
1 parent d93cd47 commit 9c2ec28
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/javascript/packs/invoices_show.scss
Original file line number Diff line number Diff line change
@@ -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';
5 changes: 4 additions & 1 deletion app/views/buyers/invoices/show.html.erb
Original file line number Diff line number Diff line change
@@ -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 %>
Expand All @@ -10,4 +14,3 @@
<%= render :partial => '/finance/provider/shared/payment_transactions' %>
<%= render :partial => '/finance/provider/invoices/actions' %>
</div>

4 changes: 4 additions & 0 deletions app/views/finance/provider/invoices/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<% content_for :javascripts do %>
<%= javascript_packs_with_chunks_tag 'invoices_show' %>
<% end %>

<%= render '/finance/provider/shared/invoice_title', invoice: @invoice %>

<div class="pf-l-grid pf-m-gutter">
Expand Down
4 changes: 4 additions & 0 deletions app/views/provider/admin/account/invoices/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<% content_for :javascripts do %>
<%= javascript_packs_with_chunks_tag 'invoices_show' %>
<% end %>

<%= render '/finance/provider/shared/invoice_title', invoice: @invoice %>

<div class="pf-l-grid pf-m-gutter">
Expand Down

0 comments on commit 9c2ec28

Please sign in to comment.