Passing thru the borrowernumber with the charges data, so can create a link
authorrangi <rangi>
Mon, 15 Mar 2004 23:41:20 +0000 (23:41 +0000)
committerrangi <rangi>
Mon, 15 Mar 2004 23:41:20 +0000 (23:41 +0000)
to the payment window

circ/returns.pl

index 97953c5..c9139d8 100755 (executable)
@@ -323,6 +323,7 @@ if ($borrower) {
         if ( $flag eq 'CHARGES' ) {
             $flaginfo{msg}     = $flag;
             $flaginfo{charges} = 1;
+           $flaginfo{bornum} = $borrower->{borrowernumber};
         }
         elsif ( $flag eq 'WAITING' ) {
             $flaginfo{msg}     = $flag;