mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix refunding payment for archived gateway
This commit is contained in:
parent
92d462d054
commit
60ce0716a9
@ -79,7 +79,7 @@ class Payment extends EntityModel
|
|||||||
*/
|
*/
|
||||||
public function account_gateway()
|
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