-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #632 from abhishek-webkul/fix-disable-dates
Update disable dates selection for a room at back office
- Loading branch information
Showing
4 changed files
with
207 additions
and
40 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
admin/themes/default/template/controllers/products/booked_room_date_ranges_list.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{** | ||
* 2010-2023 Webkul. | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* All right is reserved, | ||
* Please go through LICENSE.txt file inside our module | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this module to newer | ||
* versions in the future. If you wish to customize this module for your | ||
* needs please refer to CustomizationPolicy.txt file inside our module for more information. | ||
* | ||
* @author Webkul IN | ||
* @copyright 2010-2023 Webkul IN | ||
* @license LICENSE.txt | ||
*} | ||
|
||
{l s='This room already has bookings for highlighted date range(s):'} | ||
|
||
<table width="70%"> | ||
<tr> | ||
<th class="text-center">{l s='Order ID'}</th> | ||
<th class="text-center">{l s='Date From'}</th> | ||
<th class="text-center">{l s='Date To'}</th> | ||
</tr> | ||
{foreach from=$booked_rows_list item=booked_row} | ||
<tr> | ||
<td class="text-center"> | ||
<a href="{$link->getAdminLink('AdminOrders')}&id_order={$booked_row->id_order}&vieworder" target="_blank"><strong>#{$booked_row->id_order|intval}</strong></a> | ||
</td> | ||
<td class="text-center">{dateFormat date=$booked_row->date_from}</td> | ||
<td class="text-center">{dateFormat date=$booked_row->date_to}</td> | ||
</tr> | ||
{/foreach} | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters