Design changes
This commit is contained in:
@@ -35,13 +35,13 @@
|
||||
<div class="description-list">
|
||||
<dl class="">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Check-in'}</dt>
|
||||
<dd class="col-xs-7">{$rm_v.data_form|date_format:'D'}, {dateFormat date=$rm_v.data_form}</dd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Check-out'}</dt>
|
||||
<dd class="col-xs-7">{$rm_v.data_to|date_format:'D'}, {dateFormat date=$rm_v.data_to}</dd>
|
||||
@@ -50,13 +50,13 @@
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Rooms'}</dt>
|
||||
<dd class="col-xs-7">{$rm_v.num_rm|string_format:'%02d'}</dd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Guests'}</dt>
|
||||
<dd class="col-xs-7">
|
||||
@@ -67,7 +67,7 @@
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Extra Services'}</dt>
|
||||
<dd class="col-xs-7">
|
||||
@@ -85,7 +85,7 @@
|
||||
</dd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Total Price'}</dt>
|
||||
<dd class="col-xs-7">
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
border-radius: 4px;
|
||||
color: #FFF;
|
||||
font-size: 18px;
|
||||
line-height: 27px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
@@ -172,32 +173,41 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.payment-details .table-summary td:first-child {
|
||||
.payment-details .detail-row {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
margin-top: 7px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.payment-details .detail-row .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.payment-details .table-summary .payment-method .icon-pdf {
|
||||
.payment-details .detail-row .payment-method .icon-pdf {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-image: url('../img/icon/pdf.png');
|
||||
}
|
||||
|
||||
.payment-details .table-summary .payment-method a {
|
||||
.payment-details .detail-row .payment-method a {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
position: relative;
|
||||
top: -6px;
|
||||
}
|
||||
|
||||
.payment-details .table-summary .payment-method span {
|
||||
.payment-details .detail-row .payment-method span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.payment-details .table-summary .status {
|
||||
.payment-details .detail-row .status {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.payment-details .table-summary .status span {
|
||||
.payment-details .detail-row .status span {
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
@@ -251,7 +261,7 @@
|
||||
}
|
||||
|
||||
.room-details .booking-room-detail {
|
||||
padding: 20px;
|
||||
padding: 18px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -857,7 +867,7 @@
|
||||
}
|
||||
|
||||
#create-new-refund-popup .tab-content .room-details {
|
||||
padding: 10px 15px;
|
||||
padding: 13px 15px 10px;
|
||||
}
|
||||
|
||||
#create-new-refund-popup .tab-content .room-details.cancelled {
|
||||
|
||||
@@ -92,40 +92,37 @@
|
||||
|
||||
<div class="card payment-details visible-xs visible-sm hidden-md hidden-lg">
|
||||
<div class="card-header">
|
||||
{l s='Payment'}
|
||||
{l s='Payment Details'}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="payment-details-table">
|
||||
<table class="table table-sm table-responsive table-summary">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{l s='Payment Method'}</td>
|
||||
<td class="text-right payment-method">
|
||||
{if $invoice && $invoiceAllowed}
|
||||
<span class="icon-pdf"></span>
|
||||
<a target="_blank" href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key|escape:'html':'UTF-8'}{/if}" title="{l s='Click here to download invoice.'}">
|
||||
<span>{$order->payment|escape:'html':'UTF-8'}</span>
|
||||
</a>
|
||||
{else}
|
||||
{$order->payment|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Status'}</td>
|
||||
<td class="text-right status">
|
||||
<span{if isset($order_history[0].color) && $order_history[0].color} style="background-color:{$order_history[0].color|escape:'html':'UTF-8'}30; border: 1px solid {$order_history[0].color|escape:'html':'UTF-8'};" {/if} class="label">
|
||||
{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}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="detail-row">
|
||||
<div class=" title">{l s='Payment Method'}</div>
|
||||
<div class=" value payment-method">
|
||||
{if $invoice && $invoiceAllowed}
|
||||
<span class="icon-pdf"></span>
|
||||
<a target="_blank" href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key|escape:'html':'UTF-8'}{/if}" title="{l s='Click here to download invoice.'}">
|
||||
<span>{$order->payment|escape:'html':'UTF-8'}</span>
|
||||
</a>
|
||||
{else}
|
||||
{$order->payment|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="detail-row">
|
||||
<div class="pull-left title">{l s='Status'}</div>
|
||||
<div class="pull-right value status">
|
||||
<span{if isset($order_history[0].color) && $order_history[0].color} style="background-color:{$order_history[0].color|escape:'html':'UTF-8'}30; border: 1px solid {$order_history[0].color|escape:'html':'UTF-8'};" {/if} class="label">
|
||||
{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}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{hook h='displayOrderDetailPaymentDetailsRow' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -151,6 +148,8 @@
|
||||
<div class="booking-hotel-map-container"></div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{hook h='displayOrderDetailHotelLocationAfter' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -196,6 +195,7 @@
|
||||
{else}
|
||||
{l s='No rooms found.'}
|
||||
{/if}
|
||||
{hook h='displayOrderDetailRoomDetailsRoomAfter' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -282,9 +282,13 @@
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{hook h='displayOrderDetailPaymentSummaryRow' id_order=$order->id}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{hook h='displayOrderDetailPaymentSummaryAfter' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -341,9 +345,13 @@
|
||||
</tr>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{hook h='displayOrderDetailGuestDetailsRow' id_order=$order->id}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{hook h='displayOrderDetailGuestDetailsAfter' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -407,6 +415,8 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{hook h='displayOrderDetailMessagesBefore' id_order=$order->id}
|
||||
|
||||
{if !$is_guest}
|
||||
<div class="card add-order-message" id="add-order-message">
|
||||
<div class="card-header">
|
||||
@@ -455,40 +465,37 @@
|
||||
|
||||
<div class="card payment-details hidden-xs hidden-sm visible-md">
|
||||
<div class="card-header">
|
||||
{l s='Payment'}
|
||||
{l s='Payment Details'}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="payment-details-table">
|
||||
<table class="table table-sm table-responsive table-summary">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{l s='Payment Method'}</td>
|
||||
<td class="text-right payment-method">
|
||||
{if $invoice && $invoiceAllowed}
|
||||
<span class="icon-pdf"></span>
|
||||
<a target="_blank" href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key|escape:'html':'UTF-8'}{/if}" title="{l s='Click here to download invoice.'}">
|
||||
<span>{$order->payment|escape:'html':'UTF-8'}</span>
|
||||
</a>
|
||||
{else}
|
||||
{$order->payment|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Status'}</td>
|
||||
<td class="text-right status">
|
||||
<span{if isset($order_history[0].color) && $order_history[0].color} style="background-color:{$order_history[0].color|escape:'html':'UTF-8'}30; border: 1px solid {$order_history[0].color|escape:'html':'UTF-8'};" {/if} class="label">
|
||||
{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}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="detail-row">
|
||||
<div class=" title">{l s='Payment Method'}</div>
|
||||
<div class=" value payment-method">
|
||||
{if $invoice && $invoiceAllowed}
|
||||
<span class="icon-pdf"></span>
|
||||
<a target="_blank" href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key|escape:'html':'UTF-8'}{/if}" title="{l s='Click here to download invoice.'}">
|
||||
<span>{$order->payment|escape:'html':'UTF-8'}</span>
|
||||
</a>
|
||||
{else}
|
||||
{$order->payment|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="detail-row">
|
||||
<div class="pull-left title">{l s='Status'}</div>
|
||||
<div class="pull-right value status">
|
||||
<span{if isset($order_history[0].color) && $order_history[0].color} style="background-color:{$order_history[0].color|escape:'html':'UTF-8'}30; border: 1px solid {$order_history[0].color|escape:'html':'UTF-8'};" {/if} class="label">
|
||||
{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}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{hook h='displayOrderDetailPaymentDetailsRow' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -514,6 +521,8 @@
|
||||
<div class="booking-hotel-map-container"></div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{hook h='displayOrderDetailHotelLocationAfter' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -599,9 +608,13 @@
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{hook h='displayOrderDetailPaymentSummaryRow' id_order=$order->id}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{hook h='displayOrderDetailPaymentSummaryAfter' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -658,9 +671,13 @@
|
||||
</tr>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{hook h='displayOrderDetailGuestDetailsRow' id_order=$order->id}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{hook h='displayOrderDetailGuestDetailsAfter' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user