Page 1 of 1

Some other statistics

Posted: Wed Apr 12, 2017 11:55 am
by Verdillé
Hello,
Is ther a way to edit some other statistics such as :
- how many extra-cost of each category every day between one begining date and one ending date ?
- statistics about all payments for one period shared in some categories ?
this may help my accountant each month ?
Many thanks for your help.

Perhaps could anyone help me with solutions found yet in the board.
Pierre-Yves

Re: Some other statistics

Posted: Thu Jul 27, 2017 10:11 pm
by marco
Hello Pierre-Yves,
there is not this kind of statistics but you could create a custom hoteldruid document to calculate them. Unfortunately currently there is not a variable for the extra cost category (I've added this to the "to-do" list), so you'll have to specify each extra cost name in the "if" part of the document condition. For example put this text in the document:

[r][r3] [/r3][/r] Number of extra costs: [total_sum]

then go to the variables and conditions of this document, add a custom variable [total_sum] and add a condition like:

-if [extra_cost_name] is equal to "xxxxx" or if [extra_cost_name] is equal to "yyyyyyy" or... then put [total_sum] equal to [total_sum] + 1

then you can select your dates from the table with all the reservations and select this document from below the table.

Regards,
Marco