mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 05:26:17 +02:00
fixed status handlers
This commit is contained in:
parent
1b377dadcd
commit
36d629fe2b
3 changed files with 34 additions and 15 deletions
|
@ -33,8 +33,6 @@ module Invoice::Cancellable
|
|||
end
|
||||
|
||||
def cancel_manualy
|
||||
return unless cancellable?
|
||||
|
||||
account_activity = AccountActivity.find_by(invoice_id: id)
|
||||
account_activity_dup = account_activity.dup
|
||||
account_activity_dup.sum = -account_activity.sum.to_i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue