[*] BO : Improvement invoices management

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11291 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
jBreux
2011-12-16 09:14:11 +00:00
parent b14b35d67f
commit 8a73986a76
12 changed files with 189 additions and 46 deletions
+11
View File
@@ -478,6 +478,17 @@ $(document).ready(function() {
});
return false;
});
$('.js-set-payment').click(function() {
var amount = $(this).attr('data-amount');
$('input[name=payment_amount]').val(amount);
var id_invoice = $(this).attr('data-id-invoice');
$('select[name=payment_invoice] option[value='+id_invoice+']').attr('selected', true);
$.scrollTo('#formAddPayment', 1000);
return false;
})
});
function addProductRefreshTotal()