diff --git a/services/nginx/app/cron/Cron.php b/services/nginx/app/cron/Cron.php index 6c5250f5..de662ae8 100644 --- a/services/nginx/app/cron/Cron.php +++ b/services/nginx/app/cron/Cron.php @@ -21,19 +21,19 @@ $response_cron = []; // Define the cron tasks $cron_tasks = [ - 'CheckUnfulfilledBookings' => [ - 'interval' => 86400, // 24 hours - 'last_run' => 0, - 'next_run' => 0, - 'time' => '15:00', - 'function' => 'checkUnfulfilledBookings', - ], - 'SyncBookings' => [ - 'interval' => 60, // 1 minute - 'last_run' => 0, - 'next_run' => 0, - 'function' => 'syncBookings', - ], +// 'CheckUnfulfilledBookings' => [ +// 'interval' => 86400, // 24 hours +// 'last_run' => 0, +// 'next_run' => 0, +// 'time' => '15:00', +// 'function' => 'checkUnfulfilledBookings', +// ], +// 'SyncBookings' => [ +// 'interval' => 60, // 1 minute +// 'last_run' => 0, +// 'next_run' => 0, +// 'function' => 'syncBookings', +// ], 'SyncLogs' => [ 'interval' => 300, // 5 minutes 'last_run' => 0, diff --git a/services/nginx/app/modules/forms/objects/book_wash_f.php b/services/nginx/app/modules/forms/objects/book_wash_f.php index 06ac4fba..01b956f8 100644 --- a/services/nginx/app/modules/forms/objects/book_wash_f.php +++ b/services/nginx/app/modules/forms/objects/book_wash_f.php @@ -58,9 +58,6 @@ class book_wash_f extends form_helper_c $department = (new departments_o())->selectId(self::getSanitizedData('department_id')); // Get the bookings_new object $bookings = new bookings_o(); - print_r( - self::getSanitizedData('wash_type') - ); // Check if the wash type contains the interior wash $wants_wash_certificate = (bool)self::getSanitizedData('wants_wash_certificate'); if (in_array(3, self::getSanitizedData('wash_type'))) {