mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Route model binding fixes
This commit is contained in:
parent
cfc4a49651
commit
b45a4d8133
@ -145,7 +145,7 @@ class VendorContact extends Authenticatable implements HasLocalePreference
|
|||||||
{
|
{
|
||||||
return $this
|
return $this
|
||||||
->withTrashed()
|
->withTrashed()
|
||||||
->company()
|
// ->company()
|
||||||
->where('id', $this->decodePrimaryKey($value))
|
->where('id', $this->decodePrimaryKey($value))
|
||||||
->firstOrFail();
|
->firstOrFail();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user