Fix for company not returning on refresh route
This commit is contained in:
parent
fcb3e32530
commit
d2cc1e4d65
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ class BaseController extends Controller
|
|||
|
||||
$query->with(
|
||||
[
|
||||
'company' => function ($query) use($updated_at){$query->where('updated_at', '>=', $updated_at);},
|
||||
'company' => function ($query) use($updated_at){$query->where('updated_at', '>=', 0);},
|
||||
'company.activities' => function ($query) use($updated_at){$query->where('updated_at', '>=', $updated_at);},
|
||||
'company.clients' =>function ($query) use($updated_at){$query->where('updated_at', '>', $updated_at);},
|
||||
'company.tax_rates'=>function ($query) use($updated_at){$query->where('updated_at', '>', $updated_at);},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue