[visualizza_tabelle] additional info

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

Moderator: marco

Post Reply
cioop
Posts: 14
Joined: Sat Jan 06, 2007 1:26 pm

[visualizza_tabelle] additional info

Post by cioop »

Hi everyone, I have a question concerning how to add more data to visualizza_tabelle.php file.
I've been wondering whether it is at all possible for me to make the "Table with all the reservations" display more information entered through the "Modify data of client" form. So as to make the name, id, 2nd surname, phones and fax visible at the first glance. Is there also any chance to make it display the date of last payment, that is added through the "Modify or delete reservation" form?
I know that the "Configure and customize" menu enables some columns to be added to the "Table with all the reservations" but it does not include the above mentioned details. And I lack rudimentary Italian to handcode it.
Would anyone be so kind to help me and tell me where to add and what code lines, please.
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

Hello,
you can create a contract with all the data you need and then press the contract button below the table, this way you can create any kind of table.

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
cioop
Posts: 14
Joined: Sat Jan 06, 2007 1:26 pm

Post by cioop »

Thank you for your reply Marco.
However it's not exactly what I was asking. I have five dormitories with at about 12000 students and rendering a contract template would require ticking all the checkboxes in the table. If the data is in the database, I wonder, it could be inserted in the table so that viewing the data would be more accessible. Do you think it is at all possible?
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

You don't need to check the checkboxes, the contract is generated with all the reservations that are currently displayed (if you have "all reservations" with many pages even not displayed reservations are considered). If you want a contract with only checked reservations select them, press "calculate subtotal" and then press the contract button.

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
cioop
Posts: 14
Joined: Sat Jan 06, 2007 1:26 pm

Post by cioop »

Please, could you tell me if it's possible to apply a heading information that could be displayed above the list of generated documents in a way that you suggest?
As you suggested, I want to generate a table, but I don't want the table <th> headings to be displayed each time for each client. Only one heading above the generated table would be perfect.
cioop
Posts: 14
Joined: Sat Jan 06, 2007 1:26 pm

Post by cioop »

ok I've found it out myself :-)
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

Yes, I think you've found the [r][/r] tags, just enclose the rows of the table with them.

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
cioop
Posts: 14
Joined: Sat Jan 06, 2007 1:26 pm

Post by cioop »

Yes I've found it myself. Thanx anyway
Post Reply