Fixed : remark optional , text changes and hide room status which are not allowed
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<th><span class="title_box">{l s='Total Tax'}</span></th>
|
||||
<th><span class="title_box">{l s='Total Price (Tax incl.)'}</span></th>
|
||||
{if isset($refundReqProducts) && $refundReqProducts}
|
||||
<th><span class="title_box">{l s='No. of Refunds'}</span></th>
|
||||
<th><span class="title_box"><div>{l s='Refund'}</div><div>{l s='Refund requests'}</div></span></th>
|
||||
{/if}
|
||||
{if ($can_edit && !$order->hasBeenDelivered())}
|
||||
<th class="fixed-width-md center"><span class="title_box">{l s='Actions'}</span></th>
|
||||
@@ -74,17 +74,13 @@
|
||||
</td>
|
||||
{if (isset($refundReqProducts) && $refundReqProducts)}
|
||||
<td>
|
||||
<p>
|
||||
{if $product.refund_count}
|
||||
<a href="{$link->getAdminLink('AdminOrderRefundRequests')|escape:'html':'UTF-8'}&id_order={$order->id|intval}&id_service_product_order_detail={$product.id_service_product_order_detail|intval}">{$product.refund_count}</a>
|
||||
{else}
|
||||
<span>--</span>
|
||||
{if $product.refund_count}
|
||||
{if $product.refund_amount}
|
||||
<p class="refunded_amount">
|
||||
{convertPriceWithCurrency price=$product.refund_amount currency=$currency->id}
|
||||
</p>
|
||||
{/if}
|
||||
</p>
|
||||
{if $product.refund_amount}
|
||||
<p class="badge badge-success refunded_amount">
|
||||
{convertPriceWithCurrency price=$product.refund_amount currency=$currency->id}
|
||||
</p>
|
||||
<a href="{$link->getAdminLink('AdminOrderRefundRequests')|escape:'html':'UTF-8'}&id_order={$order->id|intval}&id_service_product_order_detail={$product.id_service_product_order_detail|intval}" class="badge badge-danger">{$product.refund_count}</a>
|
||||
{else}
|
||||
<p>--</p>
|
||||
{/if}
|
||||
|
||||
@@ -116,20 +116,16 @@
|
||||
</td>
|
||||
{if (isset($refundReqBookings) && $refundReqBookings)}
|
||||
<td class="center">
|
||||
<p>
|
||||
{if $data.refund_count}
|
||||
<a href="{$link->getAdminLink('AdminOrderRefundRequests')|escape:'html':'UTF-8'}&id_order={$order->id|intval}&id_htl_booking={$data.id|intval}" target="_blank">{$data.refund_count}</a>
|
||||
{else}
|
||||
<span>--</span>
|
||||
{/if}
|
||||
</p>
|
||||
{if $data.refund_count}
|
||||
{if $data.refund_amount}
|
||||
<p class="badge badge-success refunded_amount">
|
||||
<p class="refunded_amount">
|
||||
{convertPriceWithCurrency price=$data.refund_amount currency=$currency->id}
|
||||
</p>
|
||||
{else}
|
||||
<p>--</p>
|
||||
{/if}
|
||||
<a href="{$link->getAdminLink('AdminOrderRefundRequests')|escape:'html':'UTF-8'}&id_order={$order->id|intval}&id_htl_booking={$data.id|intval}" target="_blank" class="badge badge-danger">{$data.refund_count}</a>
|
||||
{else}
|
||||
<p>--</p>
|
||||
{/if}
|
||||
</td>
|
||||
{/if}
|
||||
{if ($can_edit && !$order->hasBeenDelivered())}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<th class="center"><span class="title_box help-tooltip" data-toggle="tooltip" title="" data-original-title="{l s='Total price of the room including extra services/fees, tax included'}"><div>{l s='Total Price'}</div><div>{l s='(Tax incl.)'}</div></span></th>
|
||||
<th><span class="title_box">{l s='Room status'}</span></th>
|
||||
{if (isset($refundReqBookings) && $refundReqBookings)}
|
||||
<th class="center"><span class="title_box help-tooltip" data-toggle="tooltip" title="" data-original-title="{l s='Refund or cancellation status and refunded amount for this room booking'}">{l s='No. of Refunds'}</span></th>
|
||||
<th class="center"><span class="title_box help-tooltip" data-toggle="tooltip" title="" data-original-title="{l s='Refund or cancellation status and refunded amount for this room booking'}"><div>{l s='Refund'}</div><div>{l s='Refund requests'}</div></span></th>
|
||||
{/if}
|
||||
{if ($can_edit && !$order->hasBeenDelivered())}
|
||||
<th class="fixed-width-md center"><span >{l s='Actions'}</span></th>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<th><span class="title_box">{l s='Total Tax'}</span></th>
|
||||
<th><span class="title_box">{l s='Total Price (Tax incl.)'}</span></th>
|
||||
{if isset($refundReqProducts) && $refundReqProducts}
|
||||
<th><span class="title_box">{l s='No. of Refunds'}</span></th>
|
||||
<th><span class="title_box"><div>{l s='Refund'}</div><div>{l s='Refund requests'}</div></span></th>
|
||||
{/if}
|
||||
{if ($can_edit && !$order->hasBeenDelivered())}
|
||||
<th class="fixed-width-md center"><span class="title_box">{l s='Actions'}</span></th>
|
||||
@@ -74,17 +74,14 @@
|
||||
</td>
|
||||
{if (isset($refundReqProducts) && $refundReqProducts)}
|
||||
<td>
|
||||
<p>
|
||||
{if $product.refund_count}
|
||||
<a href="{$link->getAdminLink('AdminOrderRefundRequests')|escape:'html':'UTF-8'}&id_order={$order->id|intval}&id_service_product_order_detail={$product.id_service_product_order_detail|intval}" target="_blank">{$product.refund_count}</a>
|
||||
{else}
|
||||
<span>--</span>
|
||||
{if $product.refund_count}
|
||||
{if $product.refund_amount}
|
||||
<p class="refunded_amount">
|
||||
{convertPriceWithCurrency price=$product.refund_amount currency=$currency->id}
|
||||
</p>
|
||||
{/if}
|
||||
</p>
|
||||
{if $product.refund_amount}
|
||||
<p class="badge badge-success refunded_amount">
|
||||
{convertPriceWithCurrency price=$product.refund_amount currency=$currency->id}
|
||||
</p>
|
||||
<p>
|
||||
<a href="{$link->getAdminLink('AdminOrderRefundRequests')|escape:'html':'UTF-8'}&id_order={$order->id|intval}&id_service_product_order_detail={$product.id_service_product_order_detail|intval}" target="_blank" class="badge badge-danger">{$product.refund_count}</a>
|
||||
{else}
|
||||
<p>--</p>
|
||||
{/if}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<label class="control-label">{l s='Status'}</label>
|
||||
<select name="booking_order_status" class="form-control booking_order_status margin-bottom-5">
|
||||
{foreach from=$hotel_order_status item=state}
|
||||
<option value="{$state['id_status']|intval}">{$state.name|escape}</option>
|
||||
<option value="{$state['id_status']|intval}" {if $state['id_status'] != $current_room_status && !($state['id_status']|in_array:$allowed_room_status_transitions)}disabled="disabled"{/if}>{$state.name|escape}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
@@ -47,8 +47,8 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label">{l s='Note'}</label>
|
||||
<textarea name="status_remark" class="form-control" rows="2" required="required"></textarea>
|
||||
<label class="control-label">{l s='Remark'}</label>
|
||||
<textarea name="status_remark" class="form-control" rows="2"></textarea>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-primary" type="submit" name="submitbookingOrderStatus" style="display:none" id="submitbookingOrderStatus"></button>
|
||||
|
||||
Reference in New Issue
Block a user