Fix link for creation of financial link on bank transaction page

This commit is contained in:
Patrick Gansterer 2019-10-30 12:44:29 +01:00
parent d89254c42b
commit 7875eeff2c

View file

@ -30,7 +30,7 @@
- if @bank_transaction.financial_link
= link_to t('ui.show'), finance_link_path(@bank_transaction.financial_link)
- else
= link_to t('.add_financial_link'), '/'
= link_to t('.add_financial_link'), finance_links_path(bank_transaction: @bank_transaction.id), method: :post
- unless @bank_transaction.receipt.blank?
%pre= preserve @bank_transaction.receipt