mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Minor fixes for queries
This commit is contained in:
parent
8cfbf1085c
commit
da9aebd642
@ -400,7 +400,7 @@ class BaseController extends Controller
|
|||||||
|
|
||||||
},
|
},
|
||||||
'company.tax_rates'=> function ($query) use ($created_at, $user) {
|
'company.tax_rates'=> function ($query) use ($created_at, $user) {
|
||||||
$query->where('created_at', '>=', $created_at);
|
$query->whereNotNull('created_at');
|
||||||
|
|
||||||
},
|
},
|
||||||
'company.activities'=> function ($query) use($user) {
|
'company.activities'=> function ($query) use($user) {
|
||||||
|
Loading…
Reference in New Issue
Block a user