Skip to content

Commit

Permalink
Update _invoice.html.haml: buttons for invoice view and edit
Browse files Browse the repository at this point in the history
  • Loading branch information
mjavurek authored Nov 21, 2024
1 parent ae55dc0 commit 3adab90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/finance/balancing/_invoice.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
%td= t('.refund_adjusted_amount')
%td.curreny= number_to_currency invoice.net_amount
%br/
= link_to t('.edit'), edit_finance_invoice_path(invoice)
= link_to t('.view'), finance_invoice_path(invoice), class: 'btn'
= link_to t('.edit'), edit_finance_invoice_path(invoice), class: 'btn'

- else
= t '.new_body'
Expand Down

0 comments on commit 3adab90

Please sign in to comment.