From b8878309882134af4d8f24e3d194da1b8463ec0d Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Mon, 1 Sep 2025 08:53:51 +0000 Subject: [PATCH] Added additional Debugging --- .../WarehouseShippingNoteController.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/WarehouseShippingNote/WarehouseShippingNoteController.php b/application/WarehouseShippingNote/WarehouseShippingNoteController.php index 30dbe3d2a..559379fc3 100644 --- a/application/WarehouseShippingNote/WarehouseShippingNoteController.php +++ b/application/WarehouseShippingNote/WarehouseShippingNoteController.php @@ -697,6 +697,11 @@ class WarehouseShippingNoteController extends TTCrud { } $eventsJson = CalendarModel::getCalendarEvents($this->user, 0, 0, true); + + if (isset($_GET['die_calendar'])) { + die($eventsJson); + } + $allEvents = json_decode($eventsJson, true)['data'] ?? []; if (!is_array($allEvents)) {