HEX
Server: Apache
System: Linux srv13.cpanelhost.cl 3.10.0-962.3.2.lve1.5.38.el7.x86_64 #1 SMP Thu Jun 18 05:28:41 EDT 2020 x86_64
User: cca63905 (4205)
PHP: 7.3.20
Disabled: NONE
Upload Files
File: //proc/self/cwd/nueva/modules/roja45quotationsprofree/views/templates/front/request-summary.tpl
{*
* 2016 ROJA45
* All rights reserved.
*
* DISCLAIMER
*
* Changing this file will render any support provided by us null and void.
*
*  @author 			Roja45
*  @copyright  		2016 Roja45
*  @license          /license.txt
*}

{capture name=path}{l s='Your Quotation Request' mod='roja45quotationsprofree'}{/capture}

<div class="block">
    <div class="quotationspro_request_dialog_overlay"></div>
    <form action="{$link->getModuleLink('roja45quotationsprofree','QuotationsProFront',['action'=>'submitRequest'])|escape:'htmlall':'UTF-8'}" method="post" id="quotationspro_request_form">
        <input type="hidden" name="ROJA45QUOTATIONSPRO_FORMDATA"/>
        <h4 id="quote_title" class="title_block">{l s='Request summary' mod='roja45quotationsprofree'} <span id="summary_products_quantity">({$numberProducts|escape:'html':'UTF-8'} {if $numberProducts == 1}{l s='product' mod='roja45quotationsprofree'}{else}{l s='products' mod='roja45quotationsprofree'}{/if})</span></h4>

        {assign var='current_step' value='summary'}
        {include file="$tpl_dir./errors.tpl"}

        {if isset($empty) && $empty}
            <p class="alert alert-warning">{l s='Your request is empty.' mod='roja45quotationsprofree'}</p>
        {else}
            <div id="request-summary-content" class="table_block table-responsive">
                <table id="quote_summary"
                       class="table table-bordered">
                    <thead>
                    <tr>
                        <th class="quote_product first_item">{l s='Product' mod='roja45quotationsprofree'}</th>
                        <th class="quote_description item">{l s='Description' mod='roja45quotationsprofree'}</th>
                        <th class="quote_quantity item text-center">{l s='Quantity' mod='roja45quotationsprofree'}</th>
                    </tr>
                    </thead>

                    <tbody>
                    {assign var='productId' value=$product.id_product|escape:'html':'UTF-8'}
                    {assign var='productAttributeId' value=$product.id_product_attribute|escape:'html':'UTF-8'}
                    {include file="./request-summary-product-line.tpl"}
                    </tbody>
                </table>
            </div>
            <h3 class="page-heading">{l s='Please provide the following information' mod='roja45quotationsprofree'}</h3>

            <div class="quotationspro_request_container">
                {for $col_counter=1 to $columns}
                    <div id="quotationspro_request_column_{$col_counter|escape:'html':'UTF-8'}" data-column="{$col_counter|escape:'html':'UTF-8'}" class="quotationspro_request column col-xs-12 col-md-{$col_width|escape:'html':'UTF-8'}">
                        <div class="quotationspro_request_column_container col-xs-12">
                            {if (isset( $form.$col_counter.settings.column_heading ))}
                                <h3 class="page-subheading">{$form.$col_counter.settings.column_heading|escape:'html':'UTF-8'}</h3>
                            {/if}
                            {foreach $form.$col_counter.fields as $field}
                                {if $field.type=='TEXT'}
                                    {include
                                    file='../hook/front/text_field.tpl'
                                    id=$field.id
                                    name=$field.name
                                    field_label=$field.label
                                    required=$field.required
                                    class=$field.class
                                    validationMethod=$field.validation
                                    customregex=$field.custom_regex
                                    size=$field.size
                                    placeholder=$field.description
                                    suffix=$field.suffix
                                    prefix=$field.prefix
                                    maxlength=$field.maxlength
                                    }
                                {elseif $field.type=='TEXTAREA'}
                                    {include
                                    file='../hook/front/textarea_field.tpl'
                                    id=$field.id
                                    name=$field.name
                                    field_label=$field.label
                                    required=$field.required
                                    class=$field.class
                                    placeholder=$field.description
                                    field_description=$field.description
                                    rows=$field.rows
                                    }
                                {/if}
                            {/foreach}
                        </div>
                    </div>
                {/for}
            </div>
            <div class="quotationspro_request notes col-xs-12">
                <div class="row button-container">
                    <div class="col-xs-6">
                        <div class="row">
                            <span class="required-field-indicator"><sup>&#42</sup>{l s='Required field' mod='roja45quotationsprofree'}</span>
                        </div>
                    </div>
                    <div class="customer-copy-checkbox col-xs-6">
                        <div class="row">
                            <label class="field-label pull-right" for="ROJA45QUOTATIONSPRO_CUSTOMER_COPY"><input type="checkbox" class="form-control" id="ROJA45QUOTATIONSPRO_CUSTOMER_COPY" name="ROJA45QUOTATIONSPRO_CUSTOMER_COPY"/> {l s='Send copy to yourself' mod='roja45quotationsprofree'}</label>
                        </div>
                    </div>
                </div>
            </div>
            <p class="quote_navigation clearfix">
                <button type="submit"
                        id="submitRequest"
                        class="button btn btn-default request-quotation button-medium"
                        title="{l s='Request Quote' mod='roja45quotationsprofree'}">
                <span>{l s='Request Quote' mod='roja45quotationsprofree'}
                    <i class="icon-chevron-right right"></i>
                </span>
                </button>
                <a href="{$smarty.server.HTTP_REFERER|escape:'html':'UTF-8'|secureReferrer}"
                   class="button-exclusive btn btn-default"
                   title="{l s='Continue shopping' mod='roja45quotationsprofree'}">
                    <i class="icon-chevron-left"></i>{l s='Continue shopping' mod='roja45quotationsprofree'}
                </a>
            </p>
            <h5 class="pull-right">{l s='Free quotation module provided by ' mod='roja45quotationsprofree'}<a href="https://www.roja45.com">Roja45</a></h5>
            <div class="clear"></div>
        {/if}
    </form>
</div>