Page 1 of 1

Problem with invoice

Posted: Wed Jan 04, 2017 8:08 am
by frank_did
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

Re: Problem with invoice

Posted: Mon Feb 13, 2017 3:47 pm
by marco
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