Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2548 from ekylibre/debug/change-deductible_vat-fi…
…lter-in-tax-form

Put correct filter for unroll in tax form (deductible_asset_vat)
  • Loading branch information
Nyxelio committed May 23, 2019
2 parents e119e91 + 77f82e1 commit 0ca3e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/backend/taxes/_form.html.haml
Expand Up @@ -7,7 +7,7 @@
= f.referenced_association :collect_account, source: { scope: :collected_vat}, new: { number: Account.find_or_import_from_nomenclature(:collected_vat).number }
= f.referenced_association :deduction_account, source: { scope: :deductible_vat }, new: { number: Account.find_or_import_from_nomenclature(:deductible_vat).number }
= f.referenced_association :fixed_asset_collect_account, source: { scope: { of_usage: :collected_vat }}, new: { number: Account.find_or_import_from_nomenclature(:collected_vat).number }
= f.referenced_association :fixed_asset_deduction_account, source: { scope: { of_usage: :deductible_vat }}, new: { number: Account.find_or_import_from_nomenclature(:deductible_vat).number }
= f.referenced_association :fixed_asset_deduction_account, source: { scope: { of_usage: :deductible_asset_vat }}, new: { number: Account.find_or_import_from_nomenclature(:deductible_asset_vat).number }

= f.input :intracommunity
= f.referenced_association :intracommunity_payable_account, source: { scope: { of_usage: :vat }}, new: { number: Account.find_or_import_from_nomenclature(:vat).number }

0 comments on commit 0ca3e8a

Please sign in to comment.