Skip to content

Commit 0ca3e8a

Browse files
authored
Merge pull request #2548 from ekylibre/debug/change-deductible_vat-filter-in-tax-form
Put correct filter for unroll in tax form (deductible_asset_vat)
2 parents e119e91 + 77f82e1 commit 0ca3e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/backend/taxes/_form.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
= f.referenced_association :collect_account, source: { scope: :collected_vat}, new: { number: Account.find_or_import_from_nomenclature(:collected_vat).number }
88
= f.referenced_association :deduction_account, source: { scope: :deductible_vat }, new: { number: Account.find_or_import_from_nomenclature(:deductible_vat).number }
99
= f.referenced_association :fixed_asset_collect_account, source: { scope: { of_usage: :collected_vat }}, new: { number: Account.find_or_import_from_nomenclature(:collected_vat).number }
10-
= f.referenced_association :fixed_asset_deduction_account, source: { scope: { of_usage: :deductible_vat }}, new: { number: Account.find_or_import_from_nomenclature(:deductible_vat).number }
10+
= 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 }
1111

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

0 commit comments

Comments
 (0)