|
Lines 522-528
sub handle_checkout {
Link Here
|
| 522 |
$fields = $self->{fields}; |
522 |
$fields = $self->{fields}; |
| 523 |
|
523 |
|
| 524 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
524 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
| 525 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
525 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
| 526 |
$item_id = $fields->{ (FID_ITEM_ID) }; |
526 |
$item_id = $fields->{ (FID_ITEM_ID) }; |
| 527 |
my $fee_ack = $fields->{ (FID_FEE_ACK) }; |
527 |
my $fee_ack = $fields->{ (FID_FEE_ACK) }; |
| 528 |
|
528 |
|
|
Lines 750-756
sub handle_block_patron {
Link Here
|
| 750 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
750 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
| 751 |
$terminal_pwd = $fields->{ (FID_TERMINAL_PWD) }; |
751 |
$terminal_pwd = $fields->{ (FID_TERMINAL_PWD) }; |
| 752 |
|
752 |
|
| 753 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
753 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
| 754 |
|
754 |
|
| 755 |
# Terminal passwords are different from account login |
755 |
# Terminal passwords are different from account login |
| 756 |
# passwords, but I have no idea what to do with them. So, |
756 |
# passwords, but I have no idea what to do with them. So, |
|
Lines 976-982
sub handle_patron_info {
Link Here
|
| 976 |
$start = $fields->{ (FID_START_ITEM) }; |
976 |
$start = $fields->{ (FID_START_ITEM) }; |
| 977 |
$end = $fields->{ (FID_END_ITEM) }; |
977 |
$end = $fields->{ (FID_END_ITEM) }; |
| 978 |
|
978 |
|
| 979 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
979 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
| 980 |
|
980 |
|
| 981 |
$patron = $ils->find_patron($patron_id); |
981 |
$patron = $ils->find_patron($patron_id); |
| 982 |
|
982 |
|
|
Lines 1135-1141
sub handle_fee_paid {
Link Here
|
| 1135 |
$fee_id = $fields->{ (FID_FEE_ID) }; |
1135 |
$fee_id = $fields->{ (FID_FEE_ID) }; |
| 1136 |
$trans_id = $fields->{ (FID_TRANSACTION_ID) }; |
1136 |
$trans_id = $fields->{ (FID_TRANSACTION_ID) }; |
| 1137 |
|
1137 |
|
| 1138 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1138 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
| 1139 |
|
1139 |
|
| 1140 |
$ils->check_inst_id( $inst_id, "handle_fee_paid" ); |
1140 |
$ils->check_inst_id( $inst_id, "handle_fee_paid" ); |
| 1141 |
|
1141 |
|
|
Lines 1339-1345
sub handle_patron_enable {
Link Here
|
| 1339 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
1339 |
$patron_id = $fields->{ (FID_PATRON_ID) }; |
| 1340 |
$patron_pwd = $fields->{ (FID_PATRON_PWD) }; |
1340 |
$patron_pwd = $fields->{ (FID_PATRON_PWD) }; |
| 1341 |
|
1341 |
|
| 1342 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1342 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
| 1343 |
|
1343 |
|
| 1344 |
siplog( "LOG_DEBUG", "handle_patron_enable: patron_id: '%s', patron_pwd: '%s'", $patron_id, $patron_pwd ); |
1344 |
siplog( "LOG_DEBUG", "handle_patron_enable: patron_id: '%s', patron_pwd: '%s'", $patron_id, $patron_pwd ); |
| 1345 |
|
1345 |
|
|
Lines 1404-1410
sub handle_hold {
Link Here
|
| 1404 |
$title_id = $fields->{ (FID_TITLE_ID) } || ''; |
1404 |
$title_id = $fields->{ (FID_TITLE_ID) } || ''; |
| 1405 |
$fee_ack = $fields->{ (FID_FEE_ACK) } || 'N'; |
1405 |
$fee_ack = $fields->{ (FID_FEE_ACK) } || 'N'; |
| 1406 |
|
1406 |
|
| 1407 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1407 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
| 1408 |
|
1408 |
|
| 1409 |
if ( $hold_mode eq '+' ) { |
1409 |
if ( $hold_mode eq '+' ) { |
| 1410 |
$status = $ils->add_hold( $patron_id, $patron_pwd, $item_id, $title_id, $expiry_date, $pickup_locn, $hold_type, $fee_ack ); |
1410 |
$status = $ils->add_hold( $patron_id, $patron_pwd, $item_id, $title_id, $expiry_date, $pickup_locn, $hold_type, $fee_ack ); |
|
Lines 1471-1477
sub handle_renew {
Link Here
|
| 1471 |
$item_props = $fields->{ (FID_ITEM_PROPS) }; |
1471 |
$item_props = $fields->{ (FID_ITEM_PROPS) }; |
| 1472 |
$fee_ack = $fields->{ (FID_FEE_ACK) }; |
1472 |
$fee_ack = $fields->{ (FID_FEE_ACK) }; |
| 1473 |
|
1473 |
|
| 1474 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1474 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
| 1475 |
|
1475 |
|
| 1476 |
$status = $ils->renew( $patron_id, $patron_pwd, $item_id, $title_id, $no_block, $nb_due_date, $third_party, $item_props, $fee_ack ); |
1476 |
$status = $ils->renew( $patron_id, $patron_pwd, $item_id, $title_id, $no_block, $nb_due_date, $third_party, $item_props, $fee_ack ); |
| 1477 |
|
1477 |
|
|
Lines 1554-1560
sub handle_renew_all {
Link Here
|
| 1554 |
$terminal_pwd = $fields->{ (FID_TERMINAL_PWD) }; |
1554 |
$terminal_pwd = $fields->{ (FID_TERMINAL_PWD) }; |
| 1555 |
$fee_ack = $fields->{ (FID_FEE_ACK) }; |
1555 |
$fee_ack = $fields->{ (FID_FEE_ACK) }; |
| 1556 |
|
1556 |
|
| 1557 |
($patron_id) = Koha::Plugins->call_recursive('patron_barcode_transform', $patron_id ); |
1557 |
Koha::Plugins->call('patron_barcode_transform', \$patron_id ); |
| 1558 |
|
1558 |
|
| 1559 |
$status = $ils->renew_all( $patron_id, $patron_pwd, $fee_ack ); |
1559 |
$status = $ils->renew_all( $patron_id, $patron_pwd, $fee_ack ); |
| 1560 |
|
1560 |
|