@@ -, +, @@ fields have the wrong infomation in them (i.e. they have been swapped) --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt @@ -257,7 +257,7 @@ function loadPatron(barcode) { $('#oldissuest tbody').empty(); issuesidx.each(function (item) { $('#oldissues').show(); - $('#oldissuest tbody').append("" + item.value.date_due + "" + item.value.barcode + "" + item.value.title + "" + item.value.itype + "" + item.value.issuedate + "" + item.value.issuebranch + "" + item.value.callnumber + "" + "" + ""); + $('#oldissuest tbody').append("" + item.value.date_due + "" + item.value.title + "" + item.value.barcode + "" + item.value.itype + "" + item.value.issuedate + "" + item.value.issuebranch + "" + item.value.callnumber + "" + "" + ""); $('.checkout-count').text(parseInt($('.checkout-count').text()) + 1); }, barcode); }); @@ -311,7 +311,7 @@ function recordFine(amount) { kohadb.recordTransaction(trans, function () { $('#session-payments').show(); $('#session-payments tbody').prepend('' + amount + '' + $.datepicker.formatDate(dateformat, timestamp) + timestamp.toTimeString() + ''); - $('.fine-amount').text(parseInt($('.fine-amount').text) - amount); + $('.fine-amount').text(parseInt($('.fine-amount').text()) - amount); }); } --