Skip to content

Commit

Permalink
return previous usage of the partioal for invoice custom sections
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Jan 7, 2025
1 parent 7f00e79 commit 7beee55
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions app/views/templates/invoices/v4/one_off.slim
Original file line number Diff line number Diff line change
Expand Up @@ -314,15 +314,6 @@ html
padding-bottom: 24px;
}

.invoice-custom-section {
margin-top: 24px;
border-bottom: 1px solid #D9DEE7;
}

.invoice-custom-section p.section-name {
margin-bottom: 8px;
}

.powered-by {
width: 100%;
text-align: right;
Expand Down Expand Up @@ -475,12 +466,7 @@ html
== SlimHelper.render('templates/invoices/v4/_eu_tax_management', self)

- if applied_invoice_custom_sections.present?
.invoice-custom-sections.body-3.mb-24
- applied_invoice_custom_sections.each do |section|
.invoice-custom-section
p.body-1.section-name = section.display_name
p.body-3.mb-24 = LineBreakHelper.break_lines(section.details)

== SlimHelper.render('templates/invoices/v4/_custom_sections', self)

p.body-3.mb-24 = LineBreakHelper.break_lines(organization.invoice_footer)
.powered-by
Expand Down

0 comments on commit 7beee55

Please sign in to comment.