1
0
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:
Hillel Coren 2016-08-02 13:06:44 +03:00
parent db337bd280
commit 128921e512

View File

@ -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();
}
/**