mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
Fix refunding payment for archived gateway
This commit is contained in:
parent
db337bd280
commit
128921e512
@ -79,7 +79,7 @@ class Payment extends EntityModel
|
||||
*/
|
||||
public function account_gateway()
|
||||
{
|
||||
return $this->belongsTo('App\Models\AccountGateway');
|
||||
return $this->belongsTo('App\Models\AccountGateway')->withTrashed();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user