Add option to ignore financial transaction when calculating the balance

This commit is contained in:
Patrick Gansterer 2021-02-08 02:40:19 +01:00
parent a30d0d4453
commit 7d5155bef6
6 changed files with 68 additions and 16 deletions

View file

@ -4,6 +4,7 @@
%h3= @financial_transaction_class.new_record? ? t('.title_new') : t('.title_edit')
.modal-body
= f.input :name
= f.input :ignore_for_account_balance
.modal-footer
= link_to t('ui.close'), '#', class: 'btn', data: {dismiss: 'modal'}
= f.submit class: 'btn btn-primary'