koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/bull statecollection.pl [rel_2_2]


From: paul poulain
Subject: [Koha-cvs] koha/bull statecollection.pl [rel_2_2]
Date: Mon, 27 Feb 2006 15:52:16 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     paul poulain <address@hidden>   06/02/27 15:52:16

Modified files:
        bull           : statecollection.pl 

Log message:
        bugfix : don't create an item if a subscription has expired

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/bull/statecollection.pl.diff?only_with_tag=rel_2_2&tr1=1.3.2.13&tr2=1.3.2.14&r1=text&r2=text

Patches:
Index: koha/bull/statecollection.pl
diff -u koha/bull/statecollection.pl:1.3.2.13 
koha/bull/statecollection.pl:1.3.2.14
--- koha/bull/statecollection.pl:1.3.2.13       Wed Feb  8 09:20:11 2006
+++ koha/bull/statecollection.pl        Mon Feb 27 15:52:16 2006
@@ -64,7 +64,7 @@
                        if ($serialseqs[$i]) {
                                
newissue($serialseqs[$i],$subscriptionid,$subscription->{biblionumber},$status[$i],
 format_date_in_iso($planneddates[$i]));
                        }
-                       if (($status[$i]==2) && 
C4::Context->preference("serialsadditems")){
+                       if (($status[$i]==2) && 
C4::Context->preference("serialsadditems") && 
!hassubscriptionexpired($subscriptionid)){
                                my %info;
                                $info{branch}=$homebranches[$i];
                                $info{barcode}=$barcodes[$i];




reply via email to

[Prev in Thread] Current Thread [Next in Thread]