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() public function account_gateway()
{ {
return $this->belongsTo('App\Models\AccountGateway'); return $this->belongsTo('App\Models\AccountGateway')->withTrashed();
} }
/** /**