mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fix for company not returning on refresh route
This commit is contained in:
parent
fcb3e32530
commit
d2cc1e4d65
@ -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…
Reference in New Issue
Block a user