Customizing The Reservation Number

More
8 years 8 months ago #6179 by wildweststudios
Customizing The Reservation Number was created by wildweststudios
Hi,

right now when we go through the reservation process, we get a number code like "40200d19".

How can we adjust this number to something we might use already?

I already saw this thread:

www.solidres.com/forum/questions/4157-re...cimal-instead-of-hex

although it did not exactly answer my question. Thanks much.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #6181 by vietvh
Replied by vietvh on topic Customizing The Reservation Number
Hi,

As you can see from that topic, the reservation code is created from this file:

/libraries/solidres/reservation/reservation.php, method getCode($srcString)

You need to change that method logic to produce the format that you want, what is your desired format?

Regards,
The following user(s) said Thank You: Renato

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #7833 by Renato
Replied by Renato on topic Customizing The Reservation Number
Sorry to revive such an old post, but I'm very interested in the answer.
What would have to be written to have some correlative number? Nothing complex. Maybe related to reservation date.
Thanks in advance
Regards,

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #7871 by vietvh
Replied by vietvh on topic Customizing The Reservation Number
Hi,

We are going to release a new plugin to customize reservation code, please stay tuned.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?