Skip to content

Commit

Permalink
Fixed oversight in getting data for date span
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppekroghitk committed Jan 16, 2025
1 parent 7bc35ed commit b3a9458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Repositories/TimeTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function getUniqueTicketIds(CarbonInterface $dateFrom, CarbonInterface $d
$sql = 'SELECT DISTINCT
timesheet.ticketId
FROM zp_timesheets AS timesheet
WHERE timesheet.userId = :userId AND timesheet.workDate >= :dateFrom AND timesheet.workDate < :dateTo';
WHERE timesheet.userId = :userId AND timesheet.workDate >= :dateFrom AND timesheet.workDate <= :dateTo';
$stmn = $this->db->database->prepare($sql);

$userId = session('userdata.id');
Expand Down

0 comments on commit b3a9458

Please sign in to comment.