Skip to content

Commit

Permalink
Added balance status check
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapjansma committed Apr 23, 2024
1 parent 98f0632 commit 79afc8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description":"Isotope Stock.",
"type": "contao-bundle",
"license":"AGPL-3.0-or-later",
"version": "1.0.22",
"version": "1.0.23",
"require": {
"contao/core-bundle": "^4.9",
"isotope/isotope-core": "^2.6",
Expand Down
1 change: 1 addition & 0 deletions src/Cron/CheckBookingEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public function __invoke(): void
if (count($ids)) {
$sql = "DELETE FROM `tl_isotope_stock_booking_event` WHERE `id` IN (" . implode(", ", $ids) . ")";
$db->execute($sql);
BookingHelper::updateBalanceStatusForModifiedBookings();
}
}
}

0 comments on commit 79afc8a

Please sign in to comment.