Booking Statuses

mail@pastecode.io avatar
unknown
plain_text
3 years ago
1.0 kB
2
Indexable
Never

# Appointment Status

COMPLETE = 'completed'
CANCEL = 'cancelled'
UPCOMING = 'upcoming'
RESCHEDULED = 'rescheduled'
SUBMITTED = 'submitted'
IN_PROGRESS = 'in-progress'
ENQUIRY = 'enquiry'
NEW = 'new'
NO_SHOW = 'no-show'

APPOINTMENT_STATUS = (
    (COMPLETE, _(COMPLETE.title())),
    (RESCHEDULED, _(RESCHEDULED.title())),
    (CANCEL, _(CANCEL.title())),
    (UPCOMING, _(UPCOMING.title())),
    (IN_PROGRESS, _(IN_PROGRESS.title())),
    (ENQUIRY, _(ENQUIRY.title())),
    (NEW, _(NEW.title())),
    (NO_SHOW, _(NO_SHOW.title().replace('-', ' '))),
)

# Statuses for appointments
BOOKING_STATUSES = (
    (COMPLETE, _(COMPLETE.title())),
    (RESCHEDULED, _(RESCHEDULED.title())),
    (CANCEL, _(CANCEL.title())),
    (UPCOMING, _(UPCOMING.title())),
    (NO_SHOW, _(NO_SHOW.title().replace('-', ' '))),
)

# Statuses for second opinion service
SO_STATUSES = (
    (COMPLETE, _(COMPLETE.title())),
    (NEW, _(NEW.title())),
    (IN_PROGRESS, _(IN_PROGRESS.title())),
    (CANCEL, _(CANCEL.title())),
)