[Koha-cvs] koha negotiate.pl koha-tmpl/intranet-tmpl/ccfls... [dev_week]

Kyle Hall kyle.m.hall at gmail.com
Fri Apr 27 15:30:36 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Kyle Hall <kylemhall>	07/04/27 13:30:36

Modified files:
	.              : negotiate.pl 
	koha-tmpl/intranet-tmpl/ccfls/en/members: pay.tmpl 

Log message:
	Readded negotiate fines stuff.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/negotiate.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1&r2=1.1.2.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/ccfls/en/members/pay.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1.2.3&r2=1.1.2.1.2.4

Patches:
Index: negotiate.pl
===================================================================
RCS file: /sources/koha/koha/Attic/negotiate.pl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- negotiate.pl	16 Mar 2007 16:42:16 -0000	1.1.2.1
+++ negotiate.pl	27 Apr 2007 13:30:35 -0000	1.1.2.2
@@ -1,14 +1,8 @@
 #!/usr/bin/perl
-# WARNING: Not enough context to figure out the correct tabstop size
-# WARNING: Assume that this file uses 4-character tabs
-
-# $Id: negotiate.pl,v 1.1.2.1 2007/03/16 16:42:16 kylemhall Exp $
 
 #written 11/1/2000 by chris at katipo.oc.nz
 #part of the koha library system, script to facilitate paying off fines
 
-# Copyright 2000-2002 Katipo Communications
-#
 # This file is part of Koha.
 #
 # Koha is free software; you can redistribute it and/or modify it under the

Index: koha-tmpl/intranet-tmpl/ccfls/en/members/pay.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/ccfls/en/members/Attic/pay.tmpl,v
retrieving revision 1.1.2.1.2.3
retrieving revision 1.1.2.1.2.4
diff -u -b -r1.1.2.1.2.3 -r1.1.2.1.2.4
--- koha-tmpl/intranet-tmpl/ccfls/en/members/pay.tmpl	27 Apr 2007 13:15:52 -0000	1.1.2.1.2.3
+++ koha-tmpl/intranet-tmpl/ccfls/en/members/pay.tmpl	27 Apr 2007 13:30:35 -0000	1.1.2.1.2.4
@@ -25,7 +25,7 @@
 <dd class="bodyPane">
 
 <div id="main">
-	<form class="inline" action="/cgi-bin/koha/pay.pl" method="post"><input type="hidden" name="bornum" value="<!-- TMPL_VAR name="bornum" -->" />
+<form class="inline" action="/cgi-bin/koha/pay.pl" method="post"><input type="hidden" name="bornum" value="<!-- TMPL_VAR name="bornum" -->" />
 <div class="table"><table>
 <caption>Pay Fines for <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --></caption>
 <tr>
@@ -89,6 +89,39 @@
 </div>
 
 
+<div id="main">
+<form class="inline" action="/cgi-bin/koha/negotiate.pl" method="post">
+<input type="hidden" name="bornum" value="<!-- TMPL_VAR name="bornum" -->" />
+<div class="table"><table>
+<caption>Negoiate Fines for <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --></caption>
+<tr>
+	<th>New Amount</th>
+	<th>Description</th>
+	<th>Account Type</th>
+	<th>Amount</th>
+	<th>Amount Outstanding</th>
+</tr>
+	
+<!-- TMPL_LOOP name="loop_pay" -->
+<tr>
+	<td>
+        <input type="text" name="negotiateFine<!-- TMPL_VAR name="i" -->" />
+	<input type="hidden" name="itemnumber<!-- TMPL_VAR name="i" -->" value="<!-- TMPL_VAR name="itemnumber" -->" />
+	<input type="hidden" name="accounttype<!-- TMPL_VAR name="i" -->" value="<!-- TMPL_VAR name="accounttype" -->" />
+	<input type="hidden" name="amount<!-- TMPL_VAR name="i" -->" value="<!-- TMPL_VAR name="amount" -->" />
+	<input type="hidden" name="out<!-- TMPL_VAR name="i" -->" value="<!-- TMPL_VAR name="amountoutstanding" -->" />
+	<input type="hidden" name="bornum<!-- TMPL_VAR name="i" -->" value="<!-- TMPL_VAR name="bornum" -->" />
+	<input type="hidden" name="accountno<!-- TMPL_VAR name="i" -->" value="<!-- TMPL_VAR name="accountno" -->" />
+	</td>
+	<td><!-- TMPL_VAR name="description" --><!-- TMPL_VAR name="title" --></td>
+	<td><!-- TMPL_VAR name="accounttype" --></td>
+	<td class="debit"><!-- TMPL_VAR name="amount" --></td>
+	<td class="debit"><!-- TMPL_VAR name="amountoutstanding" --></td>
+</tr>
+<!-- /TMPL_LOOP -->
+</table></div>
+<input type="submit" name="submit"  value="Negotiate Fines" class="submit" /></form>
+</div>
 
 </dd>
 </dl>





More information about the Koha-cvs mailing list