Bugzilla – Attachment 10584 Details for
Bug 8231
Warning on Check in if borrower is restricted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8231 : Follow to fix date formatting
Bug-8231--Follow-to-fix-date-formatting.patch (text/plain), 2.16 KB, created by
Chris Cormack
on 2012-07-01 02:36:45 UTC
(
hide
)
Description:
Bug 8231 : Follow to fix date formatting
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-07-01 02:36:45 UTC
Size:
2.16 KB
patch
obsolete
>From 2f6c72d36aa97807def837d1399cd69d6719c0dd Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chris@bigballofwax.co.nz> >Date: Sun, 1 Jul 2012 14:36:06 +1200 >Subject: [PATCH] Bug 8231 : Follow to fix date formatting > >--- > circ/returns.pl | 3 +-- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- > 2 files changed, 2 insertions(+), 3 deletions(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 7face0f..b96aa7b 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -46,7 +46,6 @@ use C4::Koha; # FIXME : is it still useful ? > use C4::RotatingCollections; > use Koha::DateUtils; > use Koha::Calendar; >-use C4::Dates qw/format_date/; > > my $query = new CGI; > >@@ -471,7 +470,7 @@ foreach my $code ( keys %$messages ) { > $err{debarname} = "$borrower->{firstname} $borrower->{surname}"; > } > elsif ( $code eq 'PrevDebarred' ) { >- $err{prevdebarred} = format_date( $messages->{'PrevDebarred'} ); >+ $err{prevdebarred} = $messages->{'PrevDebarred'}; > } > else { > die "Unknown error code $code"; # note we need all the (empty) elsif's above, or we die. >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 4cbe9eb..fe19421 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -341,7 +341,7 @@ $(document).ready(function () { > <p class="problem"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber %]">[% errmsgloo.debarname %]([% errmsgloo.debarcardnumber %])</a> is now debarred until [% errmsgloo.debarred | $KohaDates %] </p> > [% END %] > [% IF ( errmsgloo.prevdebarred ) %] >- <p class="problem"><b>REMINDER: </b>Patron is restricted until [% errmsgloo.prevdebarred %]</p> >+ <p class="problem"><b>REMINDER: </b>Patron is restricted until [% errmsgloo.prevdebarred | $KohaDates %]</p> > [% END %] > [% END %] > [% IF ( soundon ) %] >-- >1.7.10
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8231
:
10206
|
10584
|
10585
|
10586
|
15332
|
16263
|
17273
|
18077
|
20581
|
21080
|
22883
|
24220
|
24230
|
24273