Skip to content

Commit

Permalink
Update DefaultWarrantManager.php
Browse files Browse the repository at this point in the history
fixing the warrant period lookup bug

Signed-off-by: Josh <[email protected]>
  • Loading branch information
jhandel authored Feb 12, 2025
1 parent 67ca29d commit 907aefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Services/WarrantManager/DefaultWarrantManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public function getWarrantPeriod(DateTime $startOn, DateTime $endOn): ?WarrantPe
$warrantPeriodTable = TableRegistry::getTableLocator()->get('WarrantPeriods');
$warrantPeriod = $warrantPeriodTable->find()
->where([
'start_date <=' => $startOn,
'start_date <=' => $today,
'end_date >=' => $startOn,
'end_date >' => $today
])
Expand Down

0 comments on commit 907aefd

Please sign in to comment.