{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@buy-addons.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author    Buy-addons    <contact@buy-addons.com>
* @copyright 2007-2020 Buy-addons
* @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
    <div class="alert alert-success show_message" >
        {l s='Delete' mod='askforaquotemodul'}<strong>{l s='Success!' mod='askforaquotemodul'}</strong>.
      </div>
<form method="POST" action="" >
<div class = "form-horizontal clearfix bootstrap panel" style = "z-index:1">
    <div class = "panel-heading">
         <i class = "icon-envelope"></i> <label>{l s='Templates' mod='askforaquotemodul'}</label>
    </div>
    
    <div class = "dp_info" style = "margin-left:0%;">
        <label class="control-label col-lg-3">
            <span class="label-tooltip" data-toggle="tooltip" title="" data-original-title="">
                {l s='Email New Quote :' mod='askforaquotemodul'}
            </span>
        </label>
        <span class="col-lg-7">
            <div class="lang_new {$iso_default_language|escape:'htmlall':'UTF-8'}" data-iso-default="{$iso_default_language|escape:'htmlall':'UTF-8'}">        
            {foreach from=$arr_language key =key_lang item=language}    
                <div class = "form_message_adm language_new_{$language.iso_code|escape:'htmlall':'UTF-8'} iso_code" data-iso="{$language.iso_code|escape:'htmlall':'UTF-8'}" style="{if $id_default_language|escape:'htmlall':'UTF-8' == $language.id_lang|escape:'htmlall':'UTF-8'}display:block;{/if} {if $id_default_language|escape:'htmlall':'UTF-8' != $language.id_lang|escape:'htmlall':'UTF-8'}display:none;{/if}" >
                    <textarea name="content_new_{$language.iso_code|escape:'htmlall':'UTF-8'}" class = "editor_pdf rte content_form_mail">
                        {$display_contenteditor_new.$key_lang|escape:'htmlall':'UTF-8'}
                    </textarea>
                </div>
            {/foreach}
			<span style="float: left;height: 34px;">
                <p class="help-block" style="margin-top: 10px;">{l s='Also you can use some another tokens' mod='askforaquotemodul'}: [company_name], [company_address]</p>
            </span>			
            </div>                                    
        </span>
        <div id="dropdownlanguage" class="col-lg-1">
            <button type="button" class="btn btn-default dropdown-toggle language_new_view" data-toggle="dropdown" tabindex="-1" data-iso-choose="{$iso_default_language|escape:'htmlall':'UTF-8'}">
                {$iso_default_language|escape:'htmlall':'UTF-8'}
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
                {foreach $arr_language key =key_lang item=language}
                    <li>
                        <a  href="javascript:void(0);" onclick="change_language_new('{$language.iso_code|escape:'htmlall':'UTF-8'}')">{$language.iso_code|escape:'htmlall':'UTF-8'}</a>
                    </li>
                {/foreach}
            </ul>
        </div>
    </div>
    <div class = "dp_info" style = "margin-left:0%;">
        <label class="control-label col-lg-3">
            <span class="label-tooltip">
                {l s='Email Quote Notes :' mod='askforaquotemodul'}
            </span>
        </label>
        <span class="col-lg-7">        
            <div class="lang_notice {$iso_default_language|escape:'htmlall':'UTF-8'}" data-iso-default="{$iso_default_language|escape:'htmlall':'UTF-8'}">    
            {foreach from=$arr_language key =key_lang item=language}        
                <div class = "form_message_adm language_notice_{$language.iso_code|escape:'htmlall':'UTF-8'} iso_code" data-iso="{$language.iso_code|escape:'htmlall':'UTF-8'}" style="{if $id_default_language|escape:'htmlall':'UTF-8' == $language.id_lang|escape:'htmlall':'UTF-8'}display:block;{/if} {if $id_default_language|escape:'htmlall':'UTF-8' != $language.id_lang|escape:'htmlall':'UTF-8'}display:none;{/if}">
                     <textarea class="editor_pdf rte content_form_mail" name="content_notice_{$language.iso_code|escape:'htmlall':'UTF-8'}">
                        {$display_contenteditor_notice.$key_lang|escape:'htmlall':'UTF-8'}
                       </textarea>
                </div>
            {/foreach}
			<span class="infor_shipping" style="float: left;height: 34px;">
                <p class="help-block" style="margin-top: 10px;">{l s='Also you can use some another tokens' mod='askforaquotemodul'}: [company_name], [company_address], [shipping_cost], [tax_cost], [phone], [email], [quote_name], [quote_url]</p>
            </span>
            </div>                                    
        </span>
        <div id="dropdownlanguage" class="col-lg-1">
            <button type="button" class="btn btn-default dropdown-toggle language_notice_view" data-toggle="dropdown" tabindex="-1" data-iso-choose="{$iso_default_language|escape:'htmlall':'UTF-8'}">
                {$iso_default_language|escape:'htmlall':'UTF-8'}
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
                {foreach $arr_language key =key_lang item=language}
                    <li>
                        <a  href="javascript:void(0);" onclick="change_language_notice('{$language.iso_code|escape:'htmlall':'UTF-8'}')">{$language.iso_code|escape:'htmlall':'UTF-8'}</a>
                    </li>
                {/foreach}
            </ul>
        </div>
    </div>
    <div class = "dp_info" style = "margin-left:0%;">
        <label class="control-label col-lg-3">
            <span class="label-tooltip">
                {l s='Email Price Update :' mod='askforaquotemodul'}
            </span>
        </label>
        <span class="col-lg-7">        
            <div class="lang_price {$iso_default_language|escape:'htmlall':'UTF-8'}" data-iso-default="{$iso_default_language|escape:'htmlall':'UTF-8'}">    
            {foreach from=$arr_language key =key_lang item=language}        
                <div class = "form_message_adm language_price_{$language.iso_code|escape:'htmlall':'UTF-8'} iso_code" data-iso="{$language.iso_code|escape:'htmlall':'UTF-8'}" style="{if $id_default_language|escape:'htmlall':'UTF-8' == $language.id_lang|escape:'htmlall':'UTF-8'}display:block;{/if} {if $id_default_language|escape:'htmlall':'UTF-8' != $language.id_lang|escape:'htmlall':'UTF-8'}display:none;{/if}">
                     <textarea class="editor_pdf rte content_form_mail" name="content_price_{$language.iso_code|escape:'htmlall':'UTF-8'}" id="content_price_{$language.iso_code|escape:'htmlall':'UTF-8'}">
                        {$display_contenteditor_price.$key_lang|escape:'htmlall':'UTF-8'}
                       </textarea>
                </div>
            {/foreach}
            </div>
            <span class="infor_shipping" style="float: left;height: 34px;">
                <p class="help-block" style="margin-top: 10px;">{l s='Also you can use some another tokens' mod='askforaquotemodul'}: [company_name], [company_address], [shipping_cost], [tax_cost], [quote_url]</p>
            </span>
        </span>
        <div id="dropdownlanguage" class="col-lg-1">
            <button type="button" class="btn btn-default dropdown-toggle language_price_view" data-toggle="dropdown" tabindex="-1" data-iso-choose="{$iso_default_language|escape:'htmlall':'UTF-8'}">
                {$iso_default_language|escape:'htmlall':'UTF-8'}
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
                {foreach $arr_language key =key_lang item=language}
                    <li>
                        <a  href="javascript:void(0);" onclick="change_language_price('{$language.iso_code|escape:'htmlall':'UTF-8'}')">{$language.iso_code|escape:'htmlall':'UTF-8'}</a>
                    </li>
                {/foreach}
            </ul>
        </div>
        
        
    </div>
    
    <div class = "dp_info" style = "margin-left:0%;">
        <label class="control-label col-lg-3">
            <span class="label-tooltip">
                {l s='PDF Templates :' mod='askforaquotemodul'}
            </span>
        </label>
        <span class="col-lg-7">        
            <div class="lang_pdf {$iso_default_language|escape:'htmlall':'UTF-8'}" data-iso-default="{$iso_default_language|escape:'htmlall':'UTF-8'}">    
            {foreach from=$arr_language key =key_lang item=language}        
                <div class = "form_message_adm language_pdf_{$language.iso_code|escape:'htmlall':'UTF-8'} iso_code" data-iso="{$language.iso_code|escape:'htmlall':'UTF-8'}" style="{if $id_default_language|escape:'htmlall':'UTF-8' == $language.id_lang|escape:'htmlall':'UTF-8'}display:block;{/if} {if $id_default_language|escape:'htmlall':'UTF-8' != $language.id_lang|escape:'htmlall':'UTF-8'}display:none;{/if}">
                     <textarea class="editor_pdf rte content_form_mail" name="content_pdf_{$language.iso_code|escape:'htmlall':'UTF-8'}">
                        {$display_contenteditor_pdf.$key_lang|escape:'htmlall':'UTF-8'}
                       </textarea>
                </div> 
            {/foreach}
			<span class="infor_shipping" style="float: left;height: 34px;">
				<p class="help-block" style="margin-top: 10px;">{l s='Also you can use some another tokens' mod='askforaquotemodul'}: [shipping_cost], [tax_cost], [quote_url], [company_address]</p>
			</span>
            </div>                                    
        </span>
        <div id="dropdownlanguage" class="col-lg-1">
            <button type="button" class="btn btn-default dropdown-toggle language_pdf_view" data-toggle="dropdown" tabindex="-1" data-iso-choose="{$iso_default_language|escape:'htmlall':'UTF-8'}">
                {$iso_default_language|escape:'htmlall':'UTF-8'}
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
                {foreach $arr_language key =key_lang item=language}
                    <li>
                        <a  href="javascript:void(0);" onclick="change_language_pdf('{$language.iso_code|escape:'htmlall':'UTF-8'}')">{$language.iso_code|escape:'htmlall':'UTF-8'}</a>
                    </li>
                {/foreach}
            </ul>
        </div>
    </div>
    
    <div class="panel-footer">
        <a href="{$bamodul|escape:'htmlall':'UTF-8'}&token={$token_adm|escape:'htmlall':'UTF-8'}&configure=askforaquotemodul&tab_module=shipping_logistics&module_name=askforaquotemodul" class="btn btn-default"><i class="process-icon-cancel"></i> {l s='Cancel' mod='askforaquotemodul'}</a>
        <a onclick="return save_templates()">
            <button type="submit" name="save_form" class="btn btn-default pull-right"><i class="process-icon-save"></i> {l s='Save' mod='askforaquotemodul'}</button>
        </a>
    </div>
        
    
</div>    
</form>
                                    