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