Search found 12 matches

by MarcAstr0
Sat Nov 15, 2008 12:56 am
Forum: Suggestions and new features requests
Topic: Is there any way to do this?
Replies: 3
Views: 7175

In other words, which is the variable that gets passed as the end date and ends up inserted in the reservations table on the DB? My idea, is to get the default end date (one day later than the start date) and after getting the number of nights on the form change the end date with the desired number ...
by MarcAstr0
Fri Nov 14, 2008 11:15 pm
Forum: Suggestions and new features requests
Topic: Is there any way to do this?
Replies: 3
Views: 7175

Is there any way to do this?

Hello I've found that at the hostel I'm working at it is much easier for our receptionists to enter reservation dates as 'start date' and 'number of nights'. For example, by default, in the reservation form php-residence has: From <select date> to <select date> How can I modify prenota.php to have t...
by MarcAstr0
Thu Jul 17, 2008 4:11 pm
Forum: Bugs and errors
Topic: Start and End dates Drop Down menu
Replies: 9
Views: 17259

Update:

Now I get the bug with IE7, specifically 7.0.6001.18000. The last time the drop down menu and the calendar worked ok was on another computer using IE7 version 7.0.5730.11. The problem persists on Firefox 3.
by MarcAstr0
Mon Jun 30, 2008 6:58 pm
Forum: Bugs and errors
Topic: Start and End dates Drop Down menu
Replies: 9
Views: 17259

The drop down menu and the calendar script work ok with IE7. I've encountered the problem on IE6 and Firefox 2 (Firefox on both Windows and Linux). I haven't tested in Firefox 3.
by MarcAstr0
Sun Jun 08, 2008 3:57 pm
Forum: Bugs and errors
Topic: Start and End dates Drop Down menu
Replies: 9
Views: 17259

I have the same problem, but the date that repeats itself is Oct. 11. I've looked at /dati/selperiodimenu2008.1.php and all the dates are there. Also, when I use the calendar to select the date, the script hangs when it reaches October, most likely due to having that same date repeat itself. Any way...
by MarcAstr0
Fri May 23, 2008 9:25 pm
Forum: Configuration and usage
Topic: PHP code in Documents.
Replies: 3
Views: 5358

Oh, and another thing I need to do is the following: I have a 10% discount as an extra cost, and I need to substract that discount from the rate cost, that does not include extra costs. For example, the bill has to look something like this: Rate: rate1($33,00) Number of nights: 2 Subtotal: $66,00 10...
by MarcAstr0
Thu May 22, 2008 4:45 pm
Forum: Configuration and usage
Topic: Money format
Replies: 1
Views: 3363

Money format

I was wondering if there is a way, to always display the decimals when displaying money, for example, a rate of $50.00 is displayed as $50 but I want to display it as $50.00 even if there are no cents.
by MarcAstr0
Tue May 20, 2008 8:39 pm
Forum: Configuration and usage
Topic: PHP code in Documents.
Replies: 3
Views: 5358

PHP code in Documents.

Is there a way to include PHP code in the Documents? What I want to do is print a bill, with a subtotal excluding the extra costs, so I want to multiply the rate by the number of nights and print that.
by MarcAstr0
Tue May 20, 2008 5:31 pm
Forum: Configuration and usage
Topic: Discounts as percentages
Replies: 1
Views: 3291

Discounts as percentages

Is there a way to have discounts as percentages of the rate? For example, if a guest books a $40 room for 2 nights through a hostel booking website, it is our hostel's policy to give him a 10% discount, that is, he would have to pay 40*2 - 40*2*0.1 = $72. As far as I can see in Php-Residence one has...
by MarcAstr0
Thu May 15, 2008 4:57 am
Forum: Hoteldruid discusión general
Topic: ¿Como se editan los documentos?
Replies: 1
Views: 12677

¿Como se editan los documentos?

Deseo editar los documentos, para imprimir la cuenta a facturar de un pasajero. ¿Como se genera el documento html usando las distintas variables?
by MarcAstr0
Wed Apr 23, 2008 11:13 pm
Forum: Hoteldruid discusión general
Topic: Precios en distintas divisas.
Replies: 3
Views: 14695

Marco, ¿es posible obtener el modelo de datos que usa php-residence? Para ver como podría hacer los cambios pertinentes en la base de datos para ver si yo puedo implementar el uso de más de una divisa.

¡saludos!
by MarcAstr0
Wed Apr 16, 2008 7:04 pm
Forum: Hoteldruid discusión general
Topic: Precios en distintas divisas.
Replies: 3
Views: 14695

Precios en distintas divisas.

Hola, primero que nada felicitaciones por esta excelente solución, ¡me ha salvado la vida bastante!. Ahora me encuentro implementandola en un hostal aca en Santiago de Chile y tenía la siguiente duda: ¿hay alguna forma posible de usar más de una divisa? Lo que pasa es que en nuestro hostal, manejamo...