re-annotate
This commit is contained in:
parent
87c2994cf0
commit
95f4c54780
4 changed files with 7 additions and 4 deletions
|
@ -11,7 +11,7 @@ class TransactionsController < ApplicationController
|
||||||
|
|
||||||
def create
|
def create
|
||||||
@transaction = current_user.outgoing_transactions.build(
|
@transaction = current_user.outgoing_transactions.build(
|
||||||
transaction_params.merge(origin: I18n.t('origin.created_by_user'))
|
transaction_params.merge(origin: I18n.t('origin.created_by_user')))
|
||||||
|
|
||||||
if @transaction.save
|
if @transaction.save
|
||||||
redirect_to current_user
|
redirect_to current_user
|
||||||
|
|
|
@ -5,8 +5,9 @@
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# debtor_id :integer not null
|
# debtor_id :integer not null
|
||||||
# creditor_id :integer not null
|
# creditor_id :integer not null
|
||||||
|
# issuer_id :integer not null
|
||||||
|
# issuer_type :string not null
|
||||||
# amount :integer default(0), not null
|
# amount :integer default(0), not null
|
||||||
# origin :string not null
|
|
||||||
# message :string
|
# message :string
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
|
|
@ -5,8 +5,9 @@
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# debtor_id :integer not null
|
# debtor_id :integer not null
|
||||||
# creditor_id :integer not null
|
# creditor_id :integer not null
|
||||||
|
# issuer_id :integer not null
|
||||||
|
# issuer_type :string not null
|
||||||
# amount :integer default(0), not null
|
# amount :integer default(0), not null
|
||||||
# origin :string not null
|
|
||||||
# message :string
|
# message :string
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
|
|
@ -5,8 +5,9 @@
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# debtor_id :integer not null
|
# debtor_id :integer not null
|
||||||
# creditor_id :integer not null
|
# creditor_id :integer not null
|
||||||
|
# issuer_id :integer not null
|
||||||
|
# issuer_type :string not null
|
||||||
# amount :integer default(0), not null
|
# amount :integer default(0), not null
|
||||||
# origin :string not null
|
|
||||||
# message :string
|
# message :string
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
|
Loading…
Reference in a new issue