Move code from localize_input gem into Foodsoft
This commit is contained in:
parent
c59715381e
commit
6a3636d8cb
9 changed files with 33 additions and 8 deletions
|
|
@ -1,6 +1,8 @@
|
|||
# financial transactions are the foodcoop internal financial transactions
|
||||
# only ordergroups have an account balance and are happy to transfer money
|
||||
class FinancialTransaction < ApplicationRecord
|
||||
include LocalizeInput
|
||||
|
||||
belongs_to :ordergroup, optional: true
|
||||
belongs_to :user
|
||||
belongs_to :financial_link, optional: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue