From 9ac4591de91dd21878fc94b644d74182f9a6db84 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 16 Dec 2013 09:48:39 +0100 Subject: [PATCH] Bug 9016: (follow-up) fix tab characters and POD. Signed-off-by: Marcel de Rooy Signed-off-by: Galen Charlton --- C4/Letters.pm | 12 ++++++------ C4/Overdues.pm | 1 + .../intranet-tmpl/prog/en/modules/tools/letter.tt | 10 +++++----- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 8dbe3eda2f..bbefa444bc 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -38,13 +38,13 @@ use Carp; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { - require Exporter; - # set the version for version checking + require Exporter; + # set the version for version checking $VERSION = 3.07.00.049; - @ISA = qw(Exporter); - @EXPORT = qw( - &GetLetters &GetPreparedLetter &GetWrappedLetter &addalert &getalert &delalert &findrelatedto &SendAlerts &GetPrintMessages &GetMessageTransportTypes - ); + @ISA = qw(Exporter); + @EXPORT = qw( + &GetLetters &GetPreparedLetter &GetWrappedLetter &addalert &getalert &delalert &findrelatedto &SendAlerts &GetPrintMessages &GetMessageTransportTypes + ); } =head1 NAME diff --git a/C4/Overdues.pm b/C4/Overdues.pm index 66cb1084a1..1e1a207e23 100644 --- a/C4/Overdues.pm +++ b/C4/Overdues.pm @@ -914,6 +914,7 @@ sub RemoveNotifyLine { return a arrayref with all message_transport_type for given branchcode, categorycode and letternumber(1,2 or 3) =cut + sub GetOverdueMessageTransportTypes { my ( $branchcode, $categorycode, $letternumber ) = @_; return unless $categorycode and $letternumber; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index 03a6e5a1dd..7d2dbac627 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -210,7 +210,7 @@ $(document).ready(function() { [% IF ( add_form ) %]

[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]

-
+ [% IF ( modify ) %] @@ -327,12 +327,12 @@ $(document).ready(function() { [% IF code.search('DGST') %] Warning, this is a template for a Digest, as such, any references to branch data ( e.g. branches.branchname ) will refer to the borrower's home branch. [% END %] - -
Cancel
+ +
Cancel
-
+ [% END %] - + [% IF ( add_validate ) %] Data recorded
-- 2.39.5