I want disable the '+ New Appointment' button which displays under the '<div class="am-cabinet-filter el-row">' section show at the Employee Panel at frontend.
The reason of this request is because our Employees are allow to view/make booking with Customers whom assigned/servicing by them. But, the Customers lists pulldown selection are displaying all Customers registered with Ameliabooking. Hence, we have to disable this feature from frontend.
Employees can only see customers who already booked appointments with them. If your employees can see all customers, you either linked the employee to your Admin account (which is not advisable), or you manually added customers which are not linked to any employee yet.
Thanks for your reply. The CSS provided able to hide out the "New Appointment" button on appointment panel.
Yeah, you're right. I did a customisation to manually added customers onto Ameliabooking during user registration (tabname: wp_amelia_users). So that the Customer auto sign-up with Ameliabooking during registration and can only make booking to predefined Employee.
Can you let me know which table(s) is/are used to store the records that linked between customers and employee? I will try a workaround to link them from the backend for our solution.
If I'm not mistaken, the customers' IDs are added in wp_amelia_customer_bookings table; then their ID is linked to the appointment's ID. Then, the appointment ID is linked to the provider (employee) ID in the wp_amelia_appointments table.
I'm not sure about that, so I've reached out to one of our developers about this, but I'm pretty sure that's how it works
I'll get back to you as soon as I hear back from him.
After consulting with our developer, I can only confirm what I told you on Saturday.
Since you imported customers, they are seen by all employees because they don't have any appointments saved, so they're visible to everyone. You would need to create at least one appointment per customer, which will link that customer to the employee.
The Customer(s) pulldown selection option in the "New Appointment Form" doesn't seems bounded by the records ID linkage between wp_amelia_customer_bookings <==> wp_amelia_appointments table.
I ran a test with this scenario: Deleted all the existing Customers records in Amelia. Then, used the [ameliabooking] shortcode to create new Customer and Appointment for two distinctiveCustomers. Each Customer is booked with different Employee. If i understand correctly and i would expect, only the Customer that booked with the Employee will showing on the Customer(s) pulldown list in the "New Appointment Form".
But, all Customer(s) were showing in the pulldown option. please refer to the screen shot. Did i miss out anything? Please advise.
Hi,
I want disable the '+ New Appointment' button which displays under the '<div class="am-cabinet-filter el-row">' section show at the Employee Panel at frontend.
The reason of this request is because our Employees are allow to view/make booking with Customers whom assigned/servicing by them. But, the Customers lists pulldown selection are displaying all Customers registered with Ameliabooking. Hence, we have to disable this feature from frontend.
Kindly advise the workaround. Thanks.
//KM
Hello KM
Employees can only see customers who already booked appointments with them. If your employees can see all customers, you either linked the employee to your Admin account (which is not advisable), or you manually added customers which are not linked to any employee yet.
You can probably hide it with this CSS, though:
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello Alek,
Thanks for your reply. The CSS provided able to hide out the "New Appointment" button on appointment panel.
Yeah, you're right. I did a customisation to manually added customers onto Ameliabooking during user registration (tabname: wp_amelia_users). So that the Customer auto sign-up with Ameliabooking during registration and can only make booking to predefined Employee.
Can you let me know which table(s) is/are used to store the records that linked between customers and employee? I will try a workaround to link them from the backend for our solution.
Thanks. //KM
I believe that's a complicated relation, KM
If I'm not mistaken, the customers' IDs are added in wp_amelia_customer_bookings table; then their ID is linked to the appointment's ID. Then, the appointment ID is linked to the provider (employee) ID in the wp_amelia_appointments table.
I'm not sure about that, so I've reached out to one of our developers about this, but I'm pretty sure that's how it works
I'll get back to you as soon as I hear back from him.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hi again KM
After consulting with our developer, I can only confirm what I told you on Saturday.
Since you imported customers, they are seen by all employees because they don't have any appointments saved, so they're visible to everyone. You would need to create at least one appointment per customer, which will link that customer to the employee.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
The Customer(s) pulldown selection option in the "New Appointment Form" doesn't seems bounded by the records ID linkage between wp_amelia_customer_bookings <==> wp_amelia_appointments table.
I ran a test with this scenario: Deleted all the existing Customers records in Amelia. Then, used the [ameliabooking] shortcode to create new Customer and Appointment for two distinctiveCustomers. Each Customer is booked with different Employee. If i understand correctly and i would expect, only the Customer that booked with the Employee will showing on the Customer(s) pulldown list in the "New Appointment Form".
But, all Customer(s) were showing in the pulldown option. please refer to the screen shot. Did i miss out anything? Please advise.
Thanks //KM
Are you logged in as an administrator in the employee panel?
You need to log out of WordPress, and log in only into the Employee Panel in order to see the data correctly.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
You're welcome, KM!
Glad I could be of service.
Merry Christmas and a Happy New Year to you as well!
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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