[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/serials subscription-renew.pl
From: |
Robert Lyon |
Subject: |
[Koha-cvs] koha/serials subscription-renew.pl |
Date: |
Thu, 20 Jul 2006 03:19:28 +0000 |
CVSROOT: /sources/koha
Module name: koha
Changes by: Robert Lyon <bob_lyon> 06/07/20 03:19:28
Modified files:
serials : subscription-renew.pl
Log message:
Merging in katipo changes for serials
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/serials/subscription-renew.pl?cvsroot=koha&r1=1.1&r2=1.2
Patches:
Index: subscription-renew.pl
===================================================================
RCS file: /sources/koha/koha/serials/subscription-renew.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- subscription-renew.pl 12 Jul 2006 16:41:06 -0000 1.1
+++ subscription-renew.pl 20 Jul 2006 03:19:28 -0000 1.2
@@ -18,7 +18,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
-# $Id: subscription-renew.pl,v 1.1 2006/07/12 16:41:06 toins Exp $
+# $Id: subscription-renew.pl,v 1.2 2006/07/20 03:19:28 bob_lyon Exp $
=head1 NAME
@@ -65,7 +65,7 @@
my $op = $query->param('op');
my $subscriptionid = $query->param('subscriptionid');
-
+my $done = 0; # for after form has been submitted
my ($template, $loggedinuser, $cookie)
= get_template_and_user({template_name =>
"serials/subscription-renew.tmpl",
query => $query,
@@ -76,6 +76,7 @@
});
if ($op eq "renew") {
ReNewSubscription($subscriptionid,$loggedinuser,$query->param('startdate'),$query->param('numberlength'),$query->param('weeklength'),$query->param('monthlength'),$query->param('note'));
+ $done = 1;
}
my $subscription= GetSubscription($subscriptionid);
@@ -87,6 +88,7 @@
subscriptionid => $subscriptionid,
bibliotitle => $subscription->{bibliotitle},
$op => 1,
+ done => $done,
intranetcolorstylesheet =>
C4::Context->preference("intranetcolorstylesheet"),
intranetstylesheet =>
C4::Context->preference("intranetstylesheet"),
IntranetNav => C4::Context->preference("IntranetNav"),