Fixes for editing an archived gateway

This commit is contained in:
David Bomba 2022-08-12 09:38:48 +10:00
parent b35cb2be35
commit c0d781daa6
1 changed files with 2 additions and 1 deletions

View File

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