Add UI to show and create financial transactions for the foodcoop

This commit is contained in:
Patrick Gansterer 2019-11-01 17:25:20 +01:00
parent 1a49bee42d
commit 602f663245
12 changed files with 66 additions and 29 deletions

View file

@ -47,7 +47,7 @@ class FinancialTransaction < ApplicationRecord
rt.reverts = self
rt.user = user
rt.save!
ordergroup.update_balance!
ordergroup.update_balance! if ordergroup
end
end