Bug 41705: (follow-up) Fix for new kohaTable requirements
This bug sat in the queue too long and thus there's coding standard changes to resolve. Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
This commit is contained in:
parent
3ed47b65e8
commit
2dc91dcd38
|
|
@ -518,17 +518,17 @@
|
|||
.appendTo("#payForm");
|
||||
});
|
||||
|
||||
[% IF Koha.Preference('FinePaymentAutoPopup') %]
|
||||
// Form submits to new tab; reset this page for the next transaction
|
||||
setTimeout(function() {
|
||||
sale_kohaTable.api().clear().draw();
|
||||
$('#tendered').val('');
|
||||
$('#paid').val(zero_formatted);
|
||||
$('#change').html(zero_formatted);
|
||||
$(':input[name="change"]').val(zero_formatted);
|
||||
checked = false;
|
||||
}, 0);
|
||||
[% END %]
|
||||
if (Koha.prefs.FinePaymentAutoPopup) {
|
||||
// Form submits to new tab; reset this page for the next transaction
|
||||
setTimeout(function () {
|
||||
sale_kohaTable.api().clear().draw();
|
||||
$("#tendered").val("");
|
||||
$("#paid").val(zero_formatted);
|
||||
$("#change").html(zero_formatted);
|
||||
$(':input[name="change"]').val(zero_formatted);
|
||||
checked = false;
|
||||
}, 0);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue