-
- }
- if ( $reserve->{'ResFound'} eq "Reserved" ) {
- if ( C4::Context->userenv->{'branch'} eq $reserve->{'branchcode'} ) {
- $template->param( intransit => 0 );
- }
- else {
- $template->param( intransit => 1 );
- }
-
- $template->param(
- found => 1,
- currentbranch => $branches->{C4::Context->userenv->{'branch'}}->{'branchname'},
- destbranchname =>
- $branches->{ $reserve->{'branchcode'} }->{'branchname'},
- destbranch => $reserve->{'branchcode'},
- transfertodo => ( C4::Context->userenv->{'branch'} eq $reserve->{'branchcode'} ? 0 : 1 ),
- reserved => 1,
- resbarcode => $barcode,
- # today => $todaysdate,
- itemnumber => $reserve->{'itemnumber'},
- borsurname => $borr->{'surname'},
- bortitle => $borr->{'title'},
- borfirstname => $borr->{'firstname'},
- borrowernumber => $reserve->{'borrowernumber'},
- borcnum => $borr->{'cardnumber'},
- borphone => $borr->{'phone'},
- boraddress => $borr->{'address'},
- boraddress2 => $borr->{'address2'},
- borsub => $borr->{'suburb'},
- borcity => $borr->{'city'},
- borzip => $borr->{'zipcode'},
- boremail => $borr->{'email'},
- debarred => $borr->{'debarred'},
- gonenoaddress => $borr->{'gonenoaddress'},
- barcode => $barcode
- );
- }