1
0
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:
Hillel Coren 2016-08-02 13:06:04 +03:00
parent 92d462d054
commit 60ce0716a9

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