// Fix function name
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14508 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -659,8 +659,8 @@
|
||||
<input type="checkbox" id="reinjectQuantities" name="reinjectQuantities" class="button" /> <label for="reinjectQuantities" style="float:none; font-weight:normal;">{l s='Re-stock products'}</label><br />
|
||||
{/if}
|
||||
{if ((!$order->hasBeenDelivered() && $order->hasBeenPaid()) || ($order->hasBeenDelivered() && Configuration::get('PS_ORDER_RETURN')))}
|
||||
<input type="checkbox" id="generateCreditSlip" name="generateCreditSlip" class="button" onclick="toogleShippingCost(this)" /> <label for="generateCreditSlip" style="float:none; font-weight:normal;">{l s='Generate a credit slip'}</label><br />
|
||||
<input type="checkbox" id="generateDiscount" name="generateDiscount" class="button" onclick="toogleShippingCost(this)" /> <label for="generateDiscount" style="float:none; font-weight:normal;">{l s='Generate a voucher'}</label><br />
|
||||
<input type="checkbox" id="generateCreditSlip" name="generateCreditSlip" class="button" onclick="toggleShippingCost(this)" /> <label for="generateCreditSlip" style="float:none; font-weight:normal;">{l s='Generate a credit slip'}</label><br />
|
||||
<input type="checkbox" id="generateDiscount" name="generateDiscount" class="button" onclick="toggleShippingCost(this)" /> <label for="generateDiscount" style="float:none; font-weight:normal;">{l s='Generate a voucher'}</label><br />
|
||||
<span id="spanShippingBack" style="display:none;"><input type="checkbox" id="shippingBack" name="shippingBack" class="button" /> <label for="shippingBack" style="float:none; font-weight:normal;">{l s='Repay shipping costs'}</label><br /></span>
|
||||
{/if}
|
||||
{if (!$order->hasBeenDelivered() || ($order->hasBeenDelivered() && Configuration::get('PS_ORDER_RETURN')))}
|
||||
|
||||
+1
-1
@@ -517,7 +517,7 @@ function selectCheckbox(obj)
|
||||
$(obj).parent().parent().find('td.cancelCheck input[type=checkbox]').attr("checked", true);
|
||||
}
|
||||
|
||||
function toogleShippingCost(obj)
|
||||
function toggleShippingCost(obj)
|
||||
{
|
||||
generateDiscount = $(obj).parent().find('#generateDiscount').attr("checked");
|
||||
generateCreditSlip = $(obj).parent().find('#generateCreditSlip').attr("checked");
|
||||
|
||||
Reference in New Issue
Block a user