diff --git a/themes/hotel-reservation-theme/css/order-detail.css b/themes/hotel-reservation-theme/css/order-detail.css
index f6bab93d9..c84de4477 100644
--- a/themes/hotel-reservation-theme/css/order-detail.css
+++ b/themes/hotel-reservation-theme/css/order-detail.css
@@ -207,6 +207,10 @@
line-height: 16px;
}
+.payment-details .detail-row .status .processing {
+ font-size: 16px;
+}
+
.hotel-location p.hotel-address {
font-size: 16px;
line-height: 24px;
diff --git a/themes/hotel-reservation-theme/order-detail.tpl b/themes/hotel-reservation-theme/order-detail.tpl
index bab06edb7..e0000be46 100644
--- a/themes/hotel-reservation-theme/order-detail.tpl
+++ b/themes/hotel-reservation-theme/order-detail.tpl
@@ -116,13 +116,17 @@
{l s='Status'}
-
- {if $order_history[0].id_order_state|in_array:$overbooking_order_states}
- {l s='Order Not Confirmed'}
- {else}
- {$order_history[0].ostate_name|escape:'html':'UTF-8'}
- {/if}
-
+ {if isset($order_history[0]) && $order_history[0]}
+
+ {if $order_history[0].id_order_state|in_array:$overbooking_order_states}
+ {l s='Order Not Confirmed'}
+ {else}
+ {$order_history[0].ostate_name|escape:'html':'UTF-8'}
+ {/if}
+
+ {else}
+ {l s='Processing'}
+ {/if}
@@ -499,13 +503,17 @@
{l s='Status'}
-
- {if $order_history[0].id_order_state|in_array:$overbooking_order_states}
- {l s='Order Not Confirmed'}
- {else}
- {$order_history[0].ostate_name|escape:'html':'UTF-8'}
- {/if}
-
+ {if isset($order_history[0]) && $order_history[0]}
+
+ {if $order_history[0].id_order_state|in_array:$overbooking_order_states}
+ {l s='Order Not Confirmed'}
+ {else}
+ {$order_history[0].ostate_name|escape:'html':'UTF-8'}
+ {/if}
+
+ {else}
+ {l s='Processing'}
+ {/if}