mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for editing an archived gateway
This commit is contained in:
parent
b35cb2be35
commit
c0d781daa6
@ -413,8 +413,9 @@ class CompanyGateway extends BaseModel
|
||||
|
||||
public function resolveRouteBinding($value, $field = null)
|
||||
{
|
||||
|
||||
return $this
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
->where('id', $this->decodePrimaryKey($value))->withTrashed()->firstOrFail();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user