CraigT543 / EasyBlue

Modifications for Easy!Appointments
21 stars 23 forks source link

How can I set services available for a certain date only #8

Open yfarooq opened 7 years ago

yfarooq commented 7 years ago

I would like my services to have a start and end date so that users can only book a service within that dates.

Can you please help me with this?

Thanks

CraigT543 commented 7 years ago

That is a nice feature. It would involve adding several components:

In the database services table you would need start and end fields added

The combo box on the front end for services would need to have a condition to filter out services that are not within the date range of availability. That would be done in assets/js/frontend_book.js under the comment "// Select a service of this provider in order to make the provider available in the select box. "

You would have to do something similar in the back end appointment box

In the back end you would also need to add fields for start and end dates in the services tab.

I think that would do it. It would take a bit of work to get done. It would be a nice feature.

Craig

On 4/13/2017 10:05 AM, Yama G.Farooq wrote:

I would like my services to have a start and end date so that users can only book a service within that dates.

Can you please help me with this?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CraigT543/EasyBlue/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AKyI7IagxnrwWZ3Ou45UqkTPp9ryXz2Jks5rvlXKgaJpZM4M89jS.

--

Thank you,

Craig

Craig Tucker, LCSW Logo

•LCS 20312•craigtuckerlcsw@verizon.net mailto:craigtuckerlcsw@verizon.net•www.craigtuckerlcsw.com http://www.craigtuckerlcsw.com/

•333 East Stuart Ave, Suite F, Redlands, CA 92374•Phone (909) 389-2414 • Fax (909) 353-4982•

CONFIDENTIALITY NOTICE: This email transmission, including any attachments that accompany it, may contain confidential information belonging to the sender that is protected by law and is for the exclusive use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of information in this transmission, or the taking of any action in reliance on the contents of this transmission, is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please notify the sender by reply email right away and then destroy all copies of this transmission.