X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=offline_circ%2Fservice.pl;h=771d4594f8fe6b0d1d4e0a72998d76ec1fdd2739;hb=19131a9d8ee85dd28033856d02f8573625ce74f8;hp=2dcc64063f79cc24fd345484bd82e81f6e4e862e;hpb=44d0ad451fe744b7aef11b3e176b2bf8a7f6d35b;p=koha_fer diff --git a/offline_circ/service.pl b/offline_circ/service.pl index 2dcc64063f..771d4594f8 100755 --- a/offline_circ/service.pl +++ b/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 } ); }