diff --git a/admin/themes/default/template/controllers/guest_registration/dynamic_tables.tpl b/admin/themes/default/template/controllers/guest_registration/dynamic_tables.tpl index 2b3d7f7ba..2477460e9 100644 --- a/admin/themes/default/template/controllers/guest_registration/dynamic_tables.tpl +++ b/admin/themes/default/template/controllers/guest_registration/dynamic_tables.tpl @@ -25,6 +25,9 @@
| - + |
{foreach from=$languages item=language}
-
+
{if $languages|count > 1}
@@ -63,7 +66,7 @@
{/foreach}
|
- + @@ -119,13 +122,16 @@ |
| - + |
{foreach from=$languages item=language}
-
+
{if $languages|count > 1}
@@ -164,7 +170,7 @@
{/foreach}
|
- + @@ -220,13 +226,16 @@ |
| - + |
{foreach from=$languages item=language}
-
+
{if $languages|count > 1}
@@ -265,7 +274,7 @@
{/foreach}
|
- + @@ -321,7 +330,7 @@ |
| {l s='Payment Method:' pdf='true'} | -{if $payment_method_options|@count}{foreach from=$payment_method_options item=item name=paymentMethod}{if !$smarty.foreach.paymentMethod.first} {/if}□ {$item.name|escape:'html':'UTF-8'|replace:' ':' '}{/foreach}{else}________________________________{/if} | +{if $payment_method_options|@count}{foreach from=$payment_method_options item=item name=paymentMethod}{if !$smarty.foreach.paymentMethod.first} {/if}□ {$item.name|escape:'html':'UTF-8'|replace:' ':' '}{/foreach}{else}________________________________{/if} |
| {l s='Credit Card Number:' pdf='true'} | @@ -403,17 +403,17 @@||
| {l s='Check-in Time:' pdf='true'} - {if $hotel_check_in_time}{$hotel_check_in_time|escape:'html':'UTF-8'}{else}__________{/if} + {if $hotel && $hotel->check_in && $hotel->check_in != '00:00:00'}{$hotel->check_in|escape:'html':'UTF-8'}{else}__________{/if} {l s='Check-out Time:' pdf='true'} - {if $hotel_check_out_time}{$hotel_check_out_time|escape:'html':'UTF-8'}{else}__________{/if} + {if $hotel && $hotel->check_out && $hotel->check_out != '00:00:00'}{$hotel->check_out|escape:'html':'UTF-8'}{else}__________{/if} | ||
|
{l s='Hotel Policies:' pdf='true'}
- {if $hotel_policies}
- {$hotel_policies}
+ {if $hotel && $hotel->policies && !($hotel->policies|@is_array)}
+ {$hotel->policies}
{else}
______________________________ ______________________________ |