...
|
...
|
@@ -19,7 +19,7 @@ var repayment = new Repayment({ |
|
|
index: li.index(),
|
|
|
orderCode: li.data('billNo'),
|
|
|
termNo: li.data('currterm'),
|
|
|
amount: parseFloat(li.data('currnofeeamt')),
|
|
|
amount: parseFloat(li.data('curramt')),
|
|
|
fee: parseFloat(li.data('currfee')) + 0
|
|
|
};
|
|
|
|
...
|
...
|
@@ -49,10 +49,10 @@ $(CHECKBOX_SELECTOR + ':checkbox').click(function() { |
|
|
billNo = $(self).parent().data('billNo'),
|
|
|
li = $('li[data-bill-no=' + billNo + ']'),
|
|
|
selection = li.find('input:checked'),
|
|
|
lastIndex = li.eq(0).index();
|
|
|
lastIndex = li.eq(0).data('currterm');
|
|
|
|
|
|
selection.parent().each(function(index, sel) {
|
|
|
var key = $(sel).index();
|
|
|
var key = $(sel).data('currterm');
|
|
|
|
|
|
if ((key + 1) - lastIndex > 1) {
|
|
|
isSkipped = true;
|
...
|
...
|
|