1
0
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:
= 2021-09-10 22:56:23 +10:00
parent 8cfbf1085c
commit da9aebd642

View File

@ -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) {