Page 1 of 1
no one mail for each room booked.
Posted: Wed Sep 20, 2006 10:55 pm
by noel
Hello Marco and thank you for this thery interesting script.
When somebody booked 3 rooms, I would like to know if it is possible
to have these 3 rooms just in one mail when you confirm and not in three mails.
Thank you
Noël
messagio di Corsica

Posted: Sun Sep 24, 2006 8:43 am
by marco
Hello Noël,
you should make a contract/email with at least one repetition block ([r][\r], even empty will work), then go to the reservations table, select the 3 reservations, click on "calculate subtotal" and finally select the contract/email and view it.
In the contract/email you can insert variables with the sum of the prices of all selected reservations (the ones ending with _sum).
Marco
Posted: Sun Sep 24, 2006 8:20 pm
by noel
The problem is when somebody ask for a reservation and when I go in "message" to answer him. I would like that just one mail is sent to him and not 3 ?
Thank You
Noël
Posted: Mon Sep 25, 2006 4:57 pm
by marco
To answer directly from the messages page is even easier, set up the contract like I have explained in my previous post (with [r][/r]) and then select that contract, you don't need to select the reservations.
Marco
Posted: Mon Sep 25, 2006 8:30 pm
by noel
Hello Marco and thank you for your answer, I did the changes but I have a problem now
Here my changes :
[r] [rate_name], pour la période du [starting_date] au [ending_date] soit [periods_num] nuits, (départ le [ending_date] au matin) au prix de [rate_price] Euros par nuit et par chambre.
[/r]
1°) When I put [r] [/r] all the variables put first this , doesn't work any more , ex:[today] [name] etc.... But the same variables after [r] [/r] work very well.
2°) When a personn book me :
2 rooms for 2 personns
2 rooms for 3 personns
With [r][/r] here is the result :
rooms for 2 personns
rooms for 2 personns
rooms for 3 personns
rooms for 3 personns
Is ist possible to have in the answer :
(2) rooms for 2 personns
(2) rooms for 3 personns
(I didn't find the variable to have the number total for each category of room )
Thank You
Noël
Posted: Mon Oct 02, 2006 8:45 am
by marco
Hello Noël,
noel wrote:1°) When I put [r] [/r] all the variables put first this , doesn't work any more , ex:[today] [name] etc.... But the same variables after [r] [/r] work very well.
You can put an empty [r][/r] at the beginning.
noel wrote:Is ist possible to have in the answer :
(2) rooms for 2 personns
(2) rooms for 3 personns
It's not possible grouping in contracts, reservations can be displayed only separately.
Marco
Posted: Tue Oct 03, 2006 12:02 am
by noel
Hello Marco , all is OK now
Thank you
Noël