forked from Qloapps/QloApps
-
Notifications
You must be signed in to change notification settings - Fork 0
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 Qloapps#218 from shreesh-webkul/gli-515
Added : hotel name column in order confirmation mail and invoice.
- Loading branch information
Showing
12 changed files
with
113 additions
and
93 deletions.
There are no files selected for viewing
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 was deleted.
Oops, something went wrong.
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,30 @@ | ||
{if isset($list)} | ||
{l s='Extra Demands Details'} | ||
{l s='Room Type'} | ||
{l s='Extra demand name'} | ||
{l s='Total'} {l s='(Tax excl.)'} | ||
|
||
{foreach from=$list key=data_k item=data_v} | ||
{foreach from=$data_v['date_diff'] key=rm_k item=rm_v} | ||
{if isset($rm_v['extra_demands']) && $rm_v['extra_demands']} | ||
{assign var=roomCount value=1} | ||
{foreach $rm_v['extra_demands'] as $roomDemand} | ||
{foreach name=demandRow from=$roomDemand['extra_demands'] item=demand} | ||
|
||
{if $smarty.foreach.demandRow.first} | ||
{$data_v['name']} | ||
{$rm_v['data_form']|date_format:"%d-%m-%Y"} {l s='to'} {$rm_v['data_to']|date_format:"%d-%m-%Y"} | ||
{l s='Room'} - {$roomCount} | ||
{/if} | ||
|
||
{$demand['name']} | ||
|
||
{convertPrice price=$demand['total_price_tax_excl']} | ||
|
||
{/foreach} | ||
{assign var=roomCount value=$roomCount+1} | ||
{/foreach} | ||
{/if} | ||
{/foreach} | ||
{/foreach} | ||
{/if} |
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,26 @@ | ||
{if isset($list)} | ||
{foreach from=$list key=data_k item=data_v} | ||
{foreach from=$data_v['date_diff'] key=rm_k item=rm_v} | ||
<img src="{$data_v['cover_img']}" class="img-responsive" /> | ||
|
||
{$data_v['name']} | ||
|
||
{$data_v['hotel_name']} | ||
|
||
{$data_v['adult']} {l s='Adults'}, {$data_v['children']} {l s='Children'} | ||
|
||
{convertPrice price=$data_v['unit_price']} | ||
|
||
{$rm_v['num_rm']} | ||
|
||
{$rm_v['data_form']|date_format:"%d-%b-%G"} | ||
|
||
{$rm_v['data_to']|date_format:"%d-%b-%G"} | ||
|
||
{$rm_v['amount']} | ||
|
||
|
||
{/foreach} | ||
{/foreach} | ||
{/if} | ||
|
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.