Some other statistics

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

Moderator: marco

Post Reply
Verdillé
Posts: 6
Joined: Tue Apr 04, 2017 2:12 pm

Some other statistics

Post 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
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: Some other statistics

Post 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
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Post Reply