Move code from localize_input gem into Foodsoft

This commit is contained in:
Patrick Gansterer 2022-02-03 08:37:38 +01:00
parent c59715381e
commit 6a3636d8cb
9 changed files with 33 additions and 8 deletions

View file

@ -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