Document variable for extra cost

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
kyomar
Posts: 43
Joined: Sun Mar 15, 2009 5:04 am

Document variable for extra cost

Post by kyomar »

Hi,

I am trying to build an invoice with all the reservation data/details in it. I have only one problem with showing the number of extra costs which are not considered as an extra bed. E.g. I have the following two extra costs:
Infants 3years and under; $0
Children 4 - 13 years; $30
with the following rules:
Display; not associated to specific days; all the days (modify with reservation); ask by how much multiply.

I am able to display the extra costs in the document by using [r3] [/r3] but I can't get the number from "ask by how much multiply". Which variable do I have to use to get this number?

Thank you,
Markus
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: Document variable for extra cost

Post by marco »

Hello Markus,
there is no variable for that but you could calculate it adding some conditions to divide the price by the number of days and by the base price.

Regards,
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
drjaydevbaroda
Posts: 6
Joined: Fri Sep 16, 2011 4:02 pm

Re: Document variable for extra cost

Post by drjaydevbaroda »

Hi,

Do we have variable for base price of "extra cost"?

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

Re: Document variable for extra cost

Post by marco »

Hello,
in version 2.0.3 there is the variable for the price of extra cost without taxes and another variable for the number by which the extra cost is multiplied (both defined inside extra costs repetitions).

Regards,
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
CutNGlass
Posts: 31
Joined: Sat Aug 24, 2013 10:30 am

Re: Document variable for extra cost

Post by CutNGlass »

Yes, I agree that the two exist. However, there appears to be a rounding error (like the one that used to exist with tax), when calculations are done using the Extra Cost items. The calculations are not using 3 decimal places and/or the rounding rules are not applied correctly.
(scott)
Last edited by CutNGlass on Sat Mar 15, 2014 12:52 pm, edited 1 time in total.
CutNGlass
Posts: 31
Joined: Sat Aug 24, 2013 10:30 am

Re: Document variable for extra cost

Post by CutNGlass »

Additional info - We had mentioned in emails, that the regular TAX variable and the associated field for entering tax %, is not large enough to handle the 11.75% tax here in North Carolina US. So as we mentioned previously, we use an Extra-Cost item called NC-Tax, since it holds the complete 11.75%. But, when all of the calculations are done, using extra-cost items, the result is not rounded correctly.

All items in the hotel industry in US are almost always NOT including tax. So that is not an option.

Thanks

(scott)
Last edited by CutNGlass on Sat Mar 15, 2014 12:51 pm, edited 1 time in total.
CutNGlass
Posts: 31
Joined: Sat Aug 24, 2013 10:30 am

Re: Document variable for extra cost

Post by CutNGlass »

Actually, what we are finding is that the various costs do not already include tax. To make it even more complicated (depending on local tax rules), some items are taxable, and some are not:

At facility we are currently working on:
-- Pet Fees (one-time cleaning fee) -- Non-Taxable.


At a different facility:
-- Pet Charge (additional daily increase in room rate) -- Taxable.


(mary)
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: Document variable for extra cost

Post by marco »

The phrase "the cost value is considered as already including taxes" means that when you insert a percentage for the taxes, the taxes won't be added to the value inserted for the cost, instead they will be subtracted from that value.

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