Guest name empty on Room/Extra info [Solved]

More
6 years 7 months ago - 6 years 7 months ago #10409 by gmonamour
Hi,
I have the Guest name empty on Room/Extra info and the same issue is on the pdf voucher and on the confirmation email that the Solidres system send to the guest .
Please, see my screenshot also.
Could you help me to fix that, please?
Thanks a lot, best regards

My site with Solidres www.gmonamour.it/
Attachments:
Last edit: 6 years 7 months ago by gmonamour.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #10417 by solidres
Replied by solidres on topic Guest name empty on Room/Extra info [Solved]
Hi,

In room type, make sure that you disable option "Guest name is optional" so that your guest must fill this field.

Regards,

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #10419 by gmonamour
Replied by gmonamour on topic Guest name empty on Room/Extra info [Solved]
Hi,
thanks for your replay.
But I don't want that the guest have to fill the guest name field.
So, if you replay me that, I suppose that there is not the control of that condition before show the "Guest name" label.
Could you fix that, please? I mean that if i chose that the guest has not to fill that field and so the field is empty, the label "Guest name" have to be not showed.
Best regards

My site with Solidres www.gmonamour.it/
Last edit: 6 years 7 months ago by gmonamour.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #10421 by solidres
Replied by solidres on topic Guest name empty on Room/Extra info [Solved]
Hi,

We will consider it for upcoming release, in the mean time you can edit this file:

/administrator/components/com_solidres/views/reservation/tmpl/edit.php

Line 475, then add a simple IF statement to hide this field if it has no value.

Regards,

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #10423 by gmonamour
Replied by gmonamour on topic Guest name empty on Room/Extra info [Solved]
Hi,
Thanks.
So, if someone need it here you are
<?php If (!isset ($room->guest_fullname)){?>
									<li><label><?php echo JText::_("SR_GUEST_FULLNAME") ?></label> <?php echo $room->guest_fullname ?></li>
								<?php }?>

My site with Solidres www.gmonamour.it/
Last edit: 6 years 7 months ago by gmonamour.

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?