Fix for tests

This commit is contained in:
Hillel Coren 2018-11-07 10:19:19 +02:00
parent 07e98da626
commit a3df7e7558

View file

@ -226,8 +226,7 @@
@if ($payment)
$('#saveButton').attr('disabled', true);
submitAjax();
return false;
return true;
@else
// warn if amount is more than balance/credit will be created
var invoiceId = $('input[name=invoice]').val();