|
280 | 280 | <table class="table table-responsive"> |
281 | 281 | <tr> |
282 | 282 | <th>{l s='Room No.'}</th> |
| 283 | + <th>{l s='Hotel Name'}</th> |
283 | 284 | <th>{l s='Date From'}</th> |
284 | 285 | <th>{l s='Date To'}</th> |
285 | 286 | <th>{l s='Order Status'}</th> |
|
290 | 291 | <td> |
291 | 292 | {$data['room_num']} |
292 | 293 | </td> |
| 294 | + <td> |
| 295 | + <a href="{$link->getAdminLink('AdminAddHotel')}&id={$data['id_hotel']}&updatehtl_branch_info" target="_blank"> |
| 296 | + <span>{$data['hotel_name']}</span> |
| 297 | + </a> |
| 298 | + </td> |
293 | 299 | <td> |
294 | 300 | {$data['date_from']|date_format:"%d-%m-%Y"} |
295 | 301 | </td> |
|
301 | 307 | <select style="display:inline;width:40%;" name="booking_order_status"> |
302 | 308 | {foreach from=$hotel_order_status item=state} |
303 | 309 | <option value="{$state['id']|intval}" {if isset($data.id_status) && $state.id == $data.id_status} selected="selected" disabled="disabled"{/if}>{$state.status|escape}</option> |
304 | | - {/foreach} |
| 310 | + {/foreach} |
305 | 311 | </select> |
306 | 312 | <input type="hidden" name="date_from" value="{$data['date_from']}" /> |
307 | 313 | <input type="hidden" name="date_to" value="{$data['date_to']}" /> |
|
319 | 325 | <td>{l s='No data found.'}</td> |
320 | 326 | </tr> |
321 | 327 | {/if} |
322 | | - </table> |
| 328 | + </table> |
323 | 329 | </div> |
324 | 330 | </div> |
325 | 331 | </div> |
|
969 | 975 | <th class="text-center"><span class="title_box">{l s='Room No.'}</span></th> |
970 | 976 | <th class="text-center"><span class="title_box">{l s='Room Image'}</th> |
971 | 977 | <th class="text-center"><span class="title_box">{l s='Room Type'}</span></th> |
| 978 | + <th class="text-center"><span class="title_box">{l s='Hotel Name'}</span></th> |
972 | 979 | <th class="text-center"><span class="title_box">{l s='Duration'}</span></th> |
973 | 980 | <th class="text-center"><span class="title_box">{l s='Unit Price'}</span></th> |
974 | 981 | <th class="text-center"><span class="title_box">{l s='Total Price'}</span></th> |
|
1096 | 1103 | {/if} |
1097 | 1104 | </div> |
1098 | 1105 | </div> <!-- by webkul to hide unnessary things in the page--> *} |
1099 | | - |
| 1106 | + |
1100 | 1107 | <!-- For Due amount submit panel (by webkul) --> |
1101 | 1108 | {if isset($order_adv_dtl)} |
1102 | 1109 | <div class="col-xs-6"> |
|
1134 | 1141 | </div> |
1135 | 1142 | </td> |
1136 | 1143 | </tr> |
1137 | | - {/if} |
| 1144 | + {/if} |
1138 | 1145 | </table> |
1139 | 1146 | </div> |
1140 | 1147 | {if ($order_adv_dtl['total_order_amount'] - $order_adv_dtl['total_paid_amount'])|round:2 > 0} |
1141 | 1148 | <button type="submit" class="btn btn-primary" name="payDueAmount" style="margin-top:10px;">{l s="Submit Amount"}</button> |
1142 | | - {/if} |
| 1149 | + {/if} |
1143 | 1150 | </form> |
1144 | 1151 | </div> |
1145 | 1152 | </div> |
1146 | 1153 | {/if} |
1147 | | - |
| 1154 | + |
1148 | 1155 | <div class="col-xs-6 pull-right"> |
1149 | 1156 | <div class="panel panel-vouchers" style="{if !sizeof($discounts)}display:none;{/if}"> |
1150 | 1157 | {if (sizeof($discounts) || $can_edit)} |
|
1281 | 1288 | </td> |
1282 | 1289 | </tr> |
1283 | 1290 | {/if} |
1284 | | - |
| 1291 | + |
1285 | 1292 | {assign var=order_total_price value=$order->total_paid_tax_incl} |
1286 | | - |
| 1293 | + |
1287 | 1294 | <tr id="total_order"> |
1288 | 1295 | <td class="text-right"><strong>{l s='Total'}</strong></td> |
1289 | 1296 | <td class="amount text-right nowrap"> |
|
1643 | 1650 | $(".realloc_avail_rooms_container").empty().text(no_rm_avail_txt); |
1644 | 1651 | } |
1645 | 1652 | }); |
1646 | | - |
| 1653 | +
|
1647 | 1654 | /*For reallocating rooms in the modal*/ |
1648 | 1655 | $("#realloc_allocated_rooms").on('click', function(e){ |
1649 | 1656 | $(".error_text").text(''); |
|
1663 | 1670 | return false; |
1664 | 1671 | } |
1665 | 1672 | }); |
1666 | | - |
| 1673 | +
|
1667 | 1674 | /*END*/ |
1668 | 1675 |
|
1669 | 1676 | $(".textarea-autosize").autosize(); |
|
0 commit comments