Added logic to show only in time records in visiotr entries #763

Merged
jothi merged 1 commits from ranjith-dev into master 2026-06-17 12:04:17 +00:00
Showing only changes of commit a5f1432bfd - Show all commits

View File

@@ -450,7 +450,9 @@ class VisitorEntryResource extends Resource
|| !empty($data['created_to']);
if (!$hasAnyFilter) {
$query->whereDate('created_at', today());
// $query->whereDate('created_at', today());
$query->whereDate('visitor_entries.created_at', today())
->whereNull('out_time');
return;
}