diff --git a/admin/themes/default/template/controllers/orders/_product_line.tpl b/admin/themes/default/template/controllers/orders/_product_line.tpl index 453398fd0..c697a8b6f 100644 --- a/admin/themes/default/template/controllers/orders/_product_line.tpl +++ b/admin/themes/default/template/controllers/orders/_product_line.tpl @@ -124,7 +124,7 @@
{$room_v['name']|escape:'htmlall':'UTF-8'}
- {if !isset($restricted_country_mode) && !$PS_CATALOG_MODE && !$order_date_restrict} -$warning_num} style="display:none"{/if}> - {l s='Hurry!'} {$room_v['room_left']|escape:'htmlall':'UTF-8'} {l s='rooms left'} -
- {/if} + {if $room_v['data']['available']|count} +
- {foreach from=$room_v['feature'] key=feat_k item=feat_v}
-
- {/foreach}
-
{$room_v['max_guests']|escape:'htmlall':'UTF-8'} {l s='Max guests:'} {$room_v['max_adults']|escape:'htmlall':'UTF-8'} {l s='Adults'}, {$room_v['max_children']|escape:'htmlall':'UTF-8'} {if $room_v['children'] > 1}{l s='Children'}{else}{l s='Child'}{/if}
-- {if $room_v['feature_price_diff'] >= 0} - - {displayPrice price = $room_v['price_without_reduction_with_auto_add']|round:2|floatVal} - - {/if} - {if $room_v['feature_price_diff']} - - {displayPrice price = $room_v['feature_price']|round:2|floatVal} - - {/if} - /{l s='Per Night'} -
- {/if} -{$room_v['name']|escape:'htmlall':'UTF-8'}
+ {if !isset($restricted_country_mode) && !$PS_CATALOG_MODE && !$order_date_restrict} +$warning_num} style="display:none"{/if}> + {l s='Hurry!'} {$room_v['room_left']|escape:'htmlall':'UTF-8'} {l s='rooms left'} +
+ {/if}
+ {foreach from=$room_v['feature'] key=feat_k item=feat_v}
+
+ {/foreach}
+
{$room_v['max_guests']|escape:'htmlall':'UTF-8'} {l s='Max guests:'} {$room_v['max_adults']|escape:'htmlall':'UTF-8'} {l s='Adults'}, {$room_v['max_children']|escape:'htmlall':'UTF-8'} {if $room_v['children'] > 1}{l s='Children'}{else}{l s='Child'}{/if}
++ {if $room_v['feature_price_diff'] >= 0} + + {displayPrice price = $room_v['price_without_reduction']|round:2|floatVal} + + {/if} + {if $room_v['feature_price_diff']} + + {displayPrice price = $room_v['feature_price']|round:2|floatVal} + + {/if} + /{l s='Per Night'} +
+ {/if} +