Discount when using Total price

Post here if you think you have found a bug in hoteldruid or error in its documentation.

Moderator: marco

Post Reply
Raboo
Posts: 20
Joined: Wed Mar 25, 2009 1:48 am
Location: Sweden

Discount when using Total price

Post by Raboo »

I have the solution of not using the rates but to manually enter a total price instead.
So I created a rate called "no price" with 1 Kr as costs cause 0 Kr didn't work.

Code: Select all

Reservation 1 from 11-06-2009 to 23-07-2009 (42 days) for Mr/Ms Surname for 1 people in apartment 110 (mobile in 110, 203):

42 Kr       rate "no price"
0 Kr       Daily cost "Breakfast"
11.958 Kr       Discount
12.000 Kr       TOTAL

Confirmed.

Comment: Test comment.

Reservation 1 inserted!
So is this an error that the discount is 11.958 Kr? While in fact it's not discounted, it's added 11.958 Kr.
Perhpas it's better to not display "Discount" when using the "Total Price" option.
http://www.letit.se - Webhotell, Online Backup Hosted Exchange, Dedicated servers and Virtual Servers

marco
Posts: 1298
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: Discount when using Total price

Post by marco »

Hello,
the "discount" value con be either negative or positive, in that case it was positive (added to the rate), in fact the total is correct.

Regards,
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php

Raboo
Posts: 20
Joined: Wed Mar 25, 2009 1:48 am
Location: Sweden

Re: Discount when using Total price

Post by Raboo »

Isn't it possible to have a rate without a price?
I tried with 0 but that didn't work.
http://www.letit.se - Webhotell, Online Backup Hosted Exchange, Dedicated servers and Virtual Servers

Post Reply