Merge branch 'develop' of gitlab.antadis.net:dev-antadis/bebeboutik into develop

This commit is contained in:
root 2017-07-11 16:21:52 +02:00
commit 98085e4186
3 changed files with 14 additions and 15 deletions

View File

@ -60,7 +60,7 @@
} }
}); });
if(payment_click == 0) { if(payment_click == 0) {
payment_click = payment_click+1; //payment_click = payment_click+1;
if ($input.val()) { if ($input.val()) {
// LOADER POUR PAYBOX // LOADER POUR PAYBOX
if ($input.attr('data-module-name') == "paybox-direct"){ if ($input.attr('data-module-name') == "paybox-direct"){
@ -76,9 +76,9 @@
} else { } else {
if($input.attr('data-module-name') == "paybox"){ if($input.attr('data-module-name') == "paybox"){
if(!$('input#save_info_paybox:checked').length){ if(!$('input#save_info_paybox:checked').length){
$form = $input.parent().children('form#paybox_form'); $form = $input.parent().children('div.hidden').children('form#paybox_form');
} else { } else {
$form = $input.parent().children('form#paybox_form_save'); $form = $input.parent().children('div.hidden').children('form#paybox_form_save');
} }
$name = "paybox"; $name = "paybox";
} else { } else {
@ -142,7 +142,7 @@
{/if} {/if}
<p class="cart_navigation"> <p class="cart_navigation">
<a href="{$link->getPageLink('order.php', true)}?step=2" title="{l s='Previous'}" class="button">{l s='Previous'}</a> <a href="{$link->getPageLink('order.php', true)}?step=2" title="{l s='Previous'}" class="button">{l s='Previous'}</a>
<a class="exclusive submitPayment" title="{l s='Valider ma commande'}" class="button" onclick="submitPayment(payment_click); return ((window.ga && ga.create)? !ga.loaded : true);">{l s='Valider ma commande'}</a> <a class="exclusive submitPayment" title="{l s='Valider ma commande'}" class="button" onclick="submitPayment(payment_click); payment_click++; return ((window.ga && ga.create)? !ga.loaded : true);">{l s='Valider ma commande'}</a>
</p> </p>
{else} {else}
</div> </div>

View File

@ -102,18 +102,17 @@
</p> </p>
{/if}*} {/if}*}
{/if} {/if}
{*if $fileupload == 1} {if $fileupload == 1}
<p class="text"> <p class="text">
<label for="fileUpload">{l s='Attach File'}</label> <label for="fileUpload">{l s='Attach File'}</label>
<input type="hidden" name="MAX_FILE_SIZE" value="2000000" /> <input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
<span id="listFile"> <input type="file" name="fileUpload" id="fileUpload" />
{* <span id="listFile">
<input name="file_0" id="file_0" type="file" /><br /> <input name="file_0" id="file_0" type="file" /><br />
</span> </span> *}
{* <span class="gradient"><input type="button" id="addFile" class="exclusive" value="{l s='Add another file'}" /></span> *}
<span class="gradient"><input type="button" id="addFile" class="exclusive" value="{l s='Add another file'}" /></span>
</p> </p>
{/if*} {/if}
<p class="textarea"> <p class="textarea">
<label for="message">{l s='Message'}</label> <label for="message">{l s='Message'}</label>
<textarea id="message" name="message">{if isset($message)}{$message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea> <textarea id="message" name="message">{if isset($message)}{$message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea>

View File

@ -59,7 +59,7 @@
} }
}); });
if(payment_click == 0) { if(payment_click == 0) {
payment_click = payment_click+1; //payment_click = payment_click+1;
if ($input.val()) { if ($input.val()) {
// LOADER POUR PAYBOX // LOADER POUR PAYBOX
if ($input.attr('data-module-name') == "paybox-direct"){ if ($input.attr('data-module-name') == "paybox-direct"){
@ -75,9 +75,9 @@
} else { } else {
if($input.attr('data-module-name') == "paybox"){ if($input.attr('data-module-name') == "paybox"){
if(!$('input#save_info_paybox:checked').length){ if(!$('input#save_info_paybox:checked').length){
$form = $input.parent().children('form#paybox_form'); $form = $input.parent().children('div.hidden').children('form#paybox_form');
} else { } else {
$form = $input.parent().children('form#paybox_form_save'); $form = $input.parent().children('div.hidden').children('form#paybox_form_save');
} }
$name = "paybox"; $name = "paybox";
} else { } else {
@ -135,7 +135,7 @@
{if !$opc} {if !$opc}
<p class="cart_navigation"> <p class="cart_navigation">
<a href="{$link->getPageLink('order.php', true)}?step=2" title="{l s='Previous'}" class="button">{l s='Previous'}</a> <a href="{$link->getPageLink('order.php', true)}?step=2" title="{l s='Previous'}" class="button">{l s='Previous'}</a>
<a class="exclusive submitPayment" title="{l s='Valider ma commande'}" class="button" onclick="submitPayment(payment_click); return ((window.ga && ga.create)? !ga.loaded : true);">{l s='Valider ma commande'}</a> <a class="exclusive submitPayment" title="{l s='Valider ma commande'}" class="button" onclick="submitPayment(payment_click); payment_click++; return ((window.ga && ga.create)? !ga.loaded : true);">{l s='Valider ma commande'}</a>
</p> </p>
{else} {else}
</div> </div>