I am about to release PHP for our appartment rental. I am not sure how to handle DOCUMENTS. I have created a confirmation document with all rental details but I do not know how to use it.
-Does anyone know how to use the documents
-Can you send documents automatically to the customer
You can create a document in email format (you set the format in the page where you edit the contract), then you can send it (if your server supports php mail() function) after viewing it. Also try reading this:
Sorry to jump in on this discussion, but I'm still not sure how the HTML document can be used, even after reading through the documentation. Is there a way for the HTML document, I've created, to show after the person submits their reservation information online?
I can't see any way for the software to automatically reply. That is, without software changes. I don't think Marco has built in a possibility for you to add an attachment with the initial booking document.
OTOH, when you insert a reservation, you can send an email which uses 'mail merge' type functionality with variables from the database, or an attached generic document.
There is a way to modify the response to the enquirer's email. If you go to configure Templates, just above the buttons for the individual templates if you check the box "Modify Default Phrases" and then open the availability template, then scroll down to the bottom of the page, there is a list of phrases.
"We have received your reservation request and will answer as soon as possible: " is the opening phrase of the email response that goes to anyone who fills out the online booking form . I have replaced it on mine with
"Thank you for booking online at the Balmoral Motel. We will phone you shortly to make sure we have reserved the room you want and to allow you to guarantee it for late arrival if you wish."
It works fine but I haven't tried the variables yet, though I would think they would work. A friend has a reference to it about the ressie not being confirmed yet on his.
On EDIT: just tried the variables and it didn't work. I suppose the process is that the email gets assembled and the variables triggered, and then the phrases are added before its sent to PHP mail. Oh. well. you can still use the document feature to manually send an email during inserting the reservation.