Add BankAccount to SupplierCategory

This commit is contained in:
Patrick Gansterer 2021-03-05 11:43:03 +01:00
parent 06b035f2ea
commit 7e60ce6ce2
3 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,6 @@
class SupplierCategory < ActiveRecord::Base
belongs_to :financial_transaction_class
belongs_to :bank_account, optional: true
has_many :suppliers
normalize_attributes :name, :description