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)) {