Okay
  Public Ticket #2619170
Automatically pick first available employee
Closed

Comments

  •  5
    Patrick McCormick started the conversation

    I am scheduling appointments in one location.  There is only one service that can be performed by either of 2 employees.  How do I configure the calendar to automatically pick any available employee without forcing the customer to make that choice?  I want to just display available time slots if there is ANY employee and I want to schedule new appointments using ANY available employee until both employees are booked.  How do I configure the calendar for this?

  •  2,507
    Aleksandar replied

    Hello Patrick

    Unfortunately, there are no settings which would allow this to be configured, but here's what you can do.

    You can hide the employee drop-down, which will make "Any Employee" be the default option:

    div.am-select-service > form > div.el-form-item.am-select-employee-option {
    display: none !important;
    }

    Then, to display the calendar right away, add this CSS also:

    .amelia-app-booking #am-step-booking .am-select-service, .amelia-app-booking .am-step-booking-catalog .am-select-service {
    transform: translateX(0%) !important;
    }
    .amelia-app-booking #am-step-booking .am-select-date, .amelia-app-booking .am-step-booking-catalog .am-select-date {
    transform: translateX(0%) !important;
    }

    I hope that helps.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables