Okay
  Public Ticket #2847689
Is it possible to set amelia manager to see only specific lcation?
Closed

Comments

  • Howard started the conversation

    HI,

    My client is asking is it possible to set viewing permission to only one location to one Amelia manager? 

    They have 3 branches in different city and each city has one manager. Each manager should not see appointments calendar of other locations. 

  • [deleted] replied

    Hi, Howard,

    Thank you for choosing Amelia.

    I'm afraid, at the moment it's not possible with the current built-in features in Amelia.

    You can suggest that as a feature request here, or check if this request was already submitted and vote for it. 

    Please let us know if you have any other questions.

    Best Regards.

  • Howard replied

    Is there JavaScript hooks like this for backend usage

    window.afterSelectCatalogCategory(object_category)
    window.beforeCatalogCategoryLoaded(object_category)
    window.beforeCatalogServiceLoaded(object_category, object_service)
    window.afterSearchActivateService(object_appointment, object_serviceActive)
    window.afterSearchGoToSecondStep(object_appointment, object_serviceActive)
    window.afterBookingSelectDateAndTime(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.afterBookingSelectService(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.beforeConfirmBookingLoaded(object_appointment, object_service, object_provider, object_location)
    window.afterConfirmBooking(object_appointment, object_service, object_provider, object_location)

    So I could remove some locations in javascript when window is loaded ?

  • [deleted] replied

    Howard,

    Unfortunately, it's not that easy.

    One of our users wanted to limit Manager's access to Categories, and that's what one of our partners responded to him: 

    "After gathering all the information we estimate this project would take a minimum of 2 weeks which is 80 hours of our developers' work, including the work of our Quality Assurance Specialist. This project requires modification of the core files of the WP Amelia plugin."

    Therefore, I'm afraid, hooks won't help to achieve that.

    Best Regards.