mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 21:54:48 +02:00
added activity type
This commit is contained in:
parent
ee442beb2e
commit
b425a14f39
3 changed files with 4 additions and 2 deletions
|
@ -30,7 +30,7 @@ module Admin
|
|||
sum: @sum,
|
||||
currency: @account.currency,
|
||||
description: params[:description],
|
||||
activity_type: AccountActivity::ADD_CREDIT)
|
||||
activity_type: AccountActivity::UPDATE_CREDIT)
|
||||
|
||||
if activity.save
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue