Problem with invoice

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

Moderator: marco

Post Reply
frank_did
Posts: 55
Joined: Tue Jul 26, 2011 10:02 pm

Problem with invoice

Post by frank_did » Wed Jan 04, 2017 8:08 am

Hello,

Hoteldruid creates an invoice after the checkout of a guest. The invoices are html-files. In the invoice I use

[apartment]

to define the occupied room. It is all right if I create the invoice manually. But in the invoices created automatic by hoteldruid the room-number is missing and only some underscores are shown.

I also tried

[occupied_unit]

but this doesn't work too.



Best regards
Frank

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

Re: Problem with invoice

Post by marco » Mon Feb 13, 2017 3:47 pm

Hello Frank,
this is now fixed on hoteldruid hosting and will be fixed in next hoteldruid version (should be 2.2.1). The fix is in file "modifica_prenota.php", you had to replace this line:

Code: Select all

${"appartamento_".$num_ripeti} = risul_query($dati_prenota,0,'idappartamenti');
with this other one:

Code: Select all

${"appartamento_".$num_ripeti} = risul_query($dati_prenota,0,'idappartamenti');
Regards,
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php

Post Reply