# TODO - LeadContactDataTable rows empty

- [x] Step 1: Edit `app/DataTables/LeadContactDataTable.php` to replace `having(DATE(...))` with `whereDate()` for created_at/updated_at filtering.
- [x] Step 2: Remove/replace `groupBy('leads.id')` to prevent empty results due to strict SQL mode.

- [ ] Step 3: Identify and inspect the controller route that returns the DataTable AJAX JSON.
- [ ] Step 4: Verify DataTables column `data` keys match server response; adjust if needed.
- [ ] Step 5: Run page refresh and verify rows populate; check `storage/logs/laravel-*.log` if still empty.

