Page 1 of 1

Use of documents

Posted: Mon Mar 03, 2008 8:33 pm
by jwilmes
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

Who is specialist? :wink:

Posted: Thu Mar 13, 2008 10:15 am
by marco
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:

http://www.digitaldruid.net/php-residen ... racts.html

Marco

Posted: Thu Mar 13, 2008 1:14 pm
by skEtcher
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?

In short, how do you use/send the HTML document?

Posted: Sat May 03, 2008 8:43 pm
by gonesouth
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.

Posted: Sun May 04, 2008 11:22 am
by marco
You can send to the enquirer a copy of the request email that arrives to you.

Marco

Posted: Sun May 04, 2008 11:33 am
by gonesouth
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.