Merge branch '403-resq-refactor-setting-of-each-day-in-auto-assign-advance-order-jo' into 'master'
Add debug information on next slot #403 Closes #403 See merge request jankstudio/resq!462
This commit is contained in:
commit
072f84a2a4
1 changed files with 1 additions and 0 deletions
|
|
@ -3079,6 +3079,7 @@ class APIController extends Controller implements LoggedController
|
|||
if ($mins > 10)
|
||||
{
|
||||
$next_slot_id = sprintf('%02d_$02d', $hour + 1, $hour + 2);
|
||||
error_log("NEXT SLOT - $date_string - $slot_id");
|
||||
// decrement rider slot
|
||||
if (isset($hub_rider_slots[$date_string][$next_slot_id]))
|
||||
$hub_rider_slots[$date_string][$next_slot_id]--;
|
||||
|
|
|
|||
Loading…
Reference in a new issue