Docs

Restrict Ticket Creation to Business Hours

Stop operators booking deliveries outside your open hours. What the rule checks, what it ignores, and the message an operator sees.

Published

Restrict Ticket Creation stops a new delivery ticket being created with a delivery time that falls outside your business hours. It is the enforcement half of the business hours grid on Settings → Schedule in the dispatch software. Without it, the hours you set only change how the Schedule Manager looks, and nothing stops an operator booking a delivery for 3am.

Turning it on

  1. Go to Settings → Schedule (/app/settings?v=schedule).
  2. Fill in the Open and Close times for each day you work, and switch on Closed All Day for days you do not.
  3. Turn on Restrict Ticket Creation.
  4. Press Save Settings.

It is off by default. Existing accounts are unaffected until somebody deliberately turns it on.

Exactly what is checked

The rule looks at one field: the Deliver Before date and time on the Add New Ticket form. It works out which day of the week that date falls on, reads that day's open and close times, and refuses the ticket if the time is outside them. The ends are inclusive, so an account that closes at 5:00 PM can still book a 5:00 PM drop-off.

A window that wraps past midnight is understood as an overnight shift, not as a mistake. A kitchen open 6:00 PM to 2:00 AM can book a delivery at 1:00 AM.

Exactly what is not checked

This applies to new tickets only. It deliberately does not touch:

  • Editing an existing ticket. An operator must always be able to correct a ticket that is already in the system, whatever time it is.
  • Rescheduling. The reschedule flow is not blocked.
  • Assigning drivers. That is a completely separate feature — see Restrict driver assignment to available hours.
  • The "deliver after" time, if you use the delivery time window field. Only Deliver Before is checked.

Cloning a ticket creates a new ticket, so a clone is checked.

Days that are not restricted

A day with no open time set, no close time set, or an open time equal to its close time is treated as unrestricted — anything can be booked on it. This means turning the switch on without filling the grid in changes nothing at all. A day marked Closed All Day is the opposite: it accepts no new tickets at any hour.

What the operator sees

The ticket is not created and the operator is told why, in one of two messages:

  • Outside hours: "This ticket was not created because the Deliver Before time is outside your business hours. Tuesday hours are 9:00 AM to 5:00 PM. Change the time, or turn off Restrict Ticket Creation under Settings > Schedule."
  • A closed day: "This ticket was not created because your account is closed all day Sunday. Change the delivery date, or turn off Restrict Ticket Creation under Settings > Schedule."

Nothing is saved when a ticket is refused — there is no half-created ticket and no orphan order rows left behind.

If a ticket is refused and you meant to allow it

You have three ways out, in order of how local the fix is: change the delivery time on the ticket, correct that day's hours in the grid, or switch the restriction off. All three take effect immediately.