[Patches] [PATCH] BUG 5607 : Adds parsing of issues fields in overdue letters

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Wed Dec 21 03:12:47 NZDT 2011


From: Sophie Meynieux <sophie.meynieux at biblibre.com>
Date: Mon, 19 Dec 2011 12:31:21 +0100
Subject: [PATCH] BUG 5607 : Adds parsing of issues fields in overdue letters

---
 misc/cronjobs/overdue_notices.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl
index 6e723b2..744e39d 100755
--- a/misc/cronjobs/overdue_notices.pl
+++ b/misc/cronjobs/overdue_notices.pl
@@ -685,6 +685,7 @@ sub parse_letter { # FIXME: this code should probably be moved to C4::Letters:pa
             $params->{'letter'} = C4::Letters::parseletter( $params->{'letter'}, 'biblio',      $item->{'biblionumber'} );
             $params->{'letter'} = C4::Letters::parseletter( $params->{'letter'}, 'biblioitems', $item->{'biblionumber'} );
             $params->{'letter'} = C4::Letters::parseletter( $params->{'letter'}, 'items', $item->{'itemnumber'} );
+            $params->{'letter'} = C4::Letters::parseletter( $params->{'letter'}, 'issues', $item->{'itemnumber'} );
             $params->{'letter'}->{'content'} =~ s/(<item>.*<\/item>)/$1\n$item_format/ if scalar(@{$params->{'items'}} > 0);
 
         }
-- 
1.7.5.4


More information about the Patches mailing list