[Koha-devel] CVS: koha/circ circulation.pl,1.11,1.12

Chris Cornack rangi at users.sourceforge.net
Wed Feb 14 01:29:19 CET 2001


Update of /cvsroot/koha/koha/circ
In directory usw-pr-cvs1:/tmp/cvs-serv10893/circ

Modified Files:
	circulation.pl 
Log Message:
The Horowhenua libraries wanted less patron and item information displaying at returns
So Added some if statements to not display patron addresses, and to only display the title of the item
These presumably would be changed to suit individual libraries wants


Index: circulation.pl
===================================================================
RCS file: /cvsroot/koha/koha/circ/circulation.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** circulation.pl	2001/02/05 17:24:13	1.11
--- circulation.pl	2001/02/14 00:29:17	1.12
***************
*** 218,224 ****
  <tr><td>
  Title: $iteminformation->{'title'}<br>
  Author: $iteminformation->{'author'}<br>
  Barcode: <a href=/cgi-bin/koha/detail.pl?bib=$iteminformation->{'biblionumber'}&type=intra onClick="openWindow(this, 'Item', 480, 640)">$iteminformation->{'barcode'}</a><br>
! Date Due: $iteminformation->{'date_due'}
  </td></tr>
  </table>
--- 218,226 ----
  <tr><td>
  Title: $iteminformation->{'title'}<br>
+ <!--Hlt decided they dont want these showing, uncoment the html to make it work
+ 
  Author: $iteminformation->{'author'}<br>
  Barcode: <a href=/cgi-bin/koha/detail.pl?bib=$iteminformation->{'biblionumber'}&type=intra onClick="openWindow(this, 'Item', 480, 640)">$iteminformation->{'barcode'}</a><br>
! Date Due: $iteminformation->{'date_due'}-->
  </td></tr>
  </table>
***************
*** 755,759 ****
  		}
  		$itemswaiting.="</table>\n";
! 		$flaginfotext.="<tr><td bgcolor=$color valign=top>$flag</td><td bgcolor=$color>$flags->{$flag}->{'message'}<br>Overdue items can be seen in the Previous Issues table below</td></tr>\n";
  	    } else {
  		$flaginfotext.="<tr><td bgcolor=$color valign=top>$flag</td><td bgcolor=$color>$flags->{$flag}->{'message'}</td></tr>\n";
--- 757,765 ----
  		}
  		$itemswaiting.="</table>\n";
! 		if ($query->param('module') ne 'returns'){
!   		  $flaginfotext.="<tr><td bgcolor=$color valign=top>$flag</td><td bgcolor=$color>$flags->{$flag}->{'message'}<br>Overdue items can be seen in the Previous Issues table below</td></tr>\n";
! 		} else {
!   		  $flaginfotext.="<tr><td bgcolor=$color valign=top>$flag</td><td bgcolor=$color>$flags->{$flag}->{'message'}</td></tr>\n";
! 		}
  	    } else {
  		$flaginfotext.="<tr><td bgcolor=$color valign=top>$flag</td><td bgcolor=$color>$flags->{$flag}->{'message'}</td></tr>\n";
***************
*** 767,772 ****
      <tr><td>
      <a href=/cgi-bin/koha/moremember.pl?bornum=$borrower->{'borrowernumber'} onClick="openWindow(this,'Member', 480, 640)">$borrower->{'cardnumber'}</a> $borrower->{'surname'}, $borrower->{'title'} $borrower->{'firstname'}<br>
!     $borrower->{'streetaddress'} $borrower->{'city'}<br>
!     $borrower->{'categorycode'} $flagtext
      </td></tr>
      </table>
--- 773,783 ----
      <tr><td>
      <a href=/cgi-bin/koha/moremember.pl?bornum=$borrower->{'borrowernumber'} onClick="openWindow(this,'Member', 480, 640)">$borrower->{'cardnumber'}</a> $borrower->{'surname'}, $borrower->{'title'} $borrower->{'firstname'}<br>
! EOF
!     if ($query->param('module') ne 'returns'){ 
!        $patrontable.="$borrower->{'streetaddress'} $borrower->{'city'}<br>
!        $borrower->{'categorycode'} ";
!      }
!     $patrontable.=<< "EOF";
!     $flagtext
      </td></tr>
      </table>





More information about the Koha-devel mailing list