@@ -, +, @@
---
.../intranet-tmpl/prog/en/modules/circ/offline.tt | 2 ++
offline_circ/service.pl | 3 +++
2 files changed, 5 insertions(+)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt
@@ -172,6 +172,7 @@ function uploadTransaction(transaction) {
"action" : transaction.value.action,
"barcode" : transaction.value.barcode,
"cardnumber" : transaction.value.cardnumber,
+ "amount" : transaction.value.amount,
"pending" : true,
},
});
@@ -441,6 +442,7 @@ window.addEventListener('load', function(e) {
$(document).ready(function () {
kohadb.initialize();
+ $('#header_search #circ_search .tip').text(_("Enter patron card number:"));
$('ul[aria-labelledby="drop3"]').html('
You cannot change your branch or logout while using offline circulation');
--- a/offline_circ/service.pl
+++ a/offline_circ/service.pl
@@ -40,6 +40,7 @@ if ($status eq 'ok') { # if authentication is ok
my $timestamp = $cgi->param('timestamp') || '';
my $action = $cgi->param('action') || '';
my $barcode = $cgi->param('barcode') || '';
+ my $amount = $cgi->param('amount') || 0;
$barcode =~ s/^\s+//;
$barcode =~ s/\s+$//;
my $cardnumber = $cgi->param('cardnumber') || '';
@@ -54,6 +55,7 @@ if ($status eq 'ok') { # if authentication is ok
$action,
$barcode,
$cardnumber,
+ $amount
);
} else {
$result = ProcessOfflineOperation(
@@ -64,6 +66,7 @@ if ($status eq 'ok') { # if authentication is ok
'action' => $action,
'barcode' => $barcode,
'cardnumber' => $cardnumber,
+ 'amount' => $amount
}
);
}
--