Lines 520-526
sub handle_checkout {
Link Here
|
520 |
$fields = $self->{fields}; |
520 |
$fields = $self->{fields}; |
521 |
|
521 |
|
522 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
522 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
523 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
523 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
524 |
$item_id = $fields->{ (FID_ITEM_ID) }; |
524 |
$item_id = $fields->{ (FID_ITEM_ID) }; |
525 |
my $fee_ack = $fields->{ (FID_FEE_ACK) }; |
525 |
my $fee_ack = $fields->{ (FID_FEE_ACK) }; |
526 |
|
526 |
|
Lines 742-748
sub handle_block_patron {
Link Here
|
742 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
742 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
743 |
$terminal_pwd = $fields->{ (FID_TERMINAL_PWD) }; |
743 |
$terminal_pwd = $fields->{ (FID_TERMINAL_PWD) }; |
744 |
|
744 |
|
745 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
745 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
746 |
|
746 |
|
747 |
# Terminal passwords are different from account login |
747 |
# Terminal passwords are different from account login |
748 |
# passwords, but I have no idea what to do with them. So, |
748 |
# passwords, but I have no idea what to do with them. So, |
Lines 968-974
sub handle_patron_info {
Link Here
|
968 |
$start = $fields->{ (FID_START_ITEM) }; |
968 |
$start = $fields->{ (FID_START_ITEM) }; |
969 |
$end = $fields->{ (FID_END_ITEM) }; |
969 |
$end = $fields->{ (FID_END_ITEM) }; |
970 |
|
970 |
|
971 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
971 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
972 |
|
972 |
|
973 |
$patron = $ils->find_patron($patron_id); |
973 |
$patron = $ils->find_patron($patron_id); |
974 |
|
974 |
|
Lines 1127-1133
sub handle_fee_paid {
Link Here
|
1127 |
$fee_id = $fields->{ (FID_FEE_ID) }; |
1127 |
$fee_id = $fields->{ (FID_FEE_ID) }; |
1128 |
$trans_id = $fields->{ (FID_TRANSACTION_ID) }; |
1128 |
$trans_id = $fields->{ (FID_TRANSACTION_ID) }; |
1129 |
|
1129 |
|
1130 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1130 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
1131 |
|
1131 |
|
1132 |
$ils->check_inst_id( $inst_id, "handle_fee_paid" ); |
1132 |
$ils->check_inst_id( $inst_id, "handle_fee_paid" ); |
1133 |
|
1133 |
|
Lines 1325-1331
sub handle_patron_enable {
Link Here
|
1325 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
1325 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
1326 |
$patron_pwd = $fields->{ (FID_PATRON_PWD) }; |
1326 |
$patron_pwd = $fields->{ (FID_PATRON_PWD) }; |
1327 |
|
1327 |
|
1328 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1328 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
1329 |
|
1329 |
|
1330 |
siplog( "LOG_DEBUG", "handle_patron_enable: patron_id: '%s', patron_pwd: '%s'", $patron_id, $patron_pwd ); |
1330 |
siplog( "LOG_DEBUG", "handle_patron_enable: patron_id: '%s', patron_pwd: '%s'", $patron_id, $patron_pwd ); |
1331 |
|
1331 |
|
Lines 1390-1396
sub handle_hold {
Link Here
|
1390 |
$title_id = $fields->{ (FID_TITLE_ID) } || ''; |
1390 |
$title_id = $fields->{ (FID_TITLE_ID) } || ''; |
1391 |
$fee_ack = $fields->{ (FID_FEE_ACK) } || 'N'; |
1391 |
$fee_ack = $fields->{ (FID_FEE_ACK) } || 'N'; |
1392 |
|
1392 |
|
1393 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1393 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
1394 |
|
1394 |
|
1395 |
if ( $hold_mode eq '+' ) { |
1395 |
if ( $hold_mode eq '+' ) { |
1396 |
$status = $ils->add_hold( $patron_id, $patron_pwd, $item_id, $title_id, $expiry_date, $pickup_locn, $hold_type, $fee_ack ); |
1396 |
$status = $ils->add_hold( $patron_id, $patron_pwd, $item_id, $title_id, $expiry_date, $pickup_locn, $hold_type, $fee_ack ); |
Lines 1457-1463
sub handle_renew {
Link Here
|
1457 |
$item_props = $fields->{ (FID_ITEM_PROPS) }; |
1457 |
$item_props = $fields->{ (FID_ITEM_PROPS) }; |
1458 |
$fee_ack = $fields->{ (FID_FEE_ACK) }; |
1458 |
$fee_ack = $fields->{ (FID_FEE_ACK) }; |
1459 |
|
1459 |
|
1460 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1460 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
1461 |
|
1461 |
|
1462 |
$status = $ils->renew( $patron_id, $patron_pwd, $item_id, $title_id, $no_block, $nb_due_date, $third_party, $item_props, $fee_ack ); |
1462 |
$status = $ils->renew( $patron_id, $patron_pwd, $item_id, $title_id, $no_block, $nb_due_date, $third_party, $item_props, $fee_ack ); |
1463 |
|
1463 |
|
Lines 1540-1546
sub handle_renew_all {
Link Here
|
1540 |
$terminal_pwd = $fields->{ (FID_TERMINAL_PWD) }; |
1540 |
$terminal_pwd = $fields->{ (FID_TERMINAL_PWD) }; |
1541 |
$fee_ack = $fields->{ (FID_FEE_ACK) }; |
1541 |
$fee_ack = $fields->{ (FID_FEE_ACK) }; |
1542 |
|
1542 |
|
1543 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1543 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
1544 |
|
1544 |
|
1545 |
$status = $ils->renew_all( $patron_id, $patron_pwd, $fee_ack ); |
1545 |
$status = $ils->renew_all( $patron_id, $patron_pwd, $fee_ack ); |
1546 |
|
1546 |
|