Bugzilla – Attachment 439 Details for
Bug 1962
Add fine notification during check-in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for returns.pl and returns.tmpl
returns.patch (text/plain), 1.60 KB, created by
Chris Cormack
on 2008-03-20 19:39:00 UTC
(
hide
)
Description:
Patch for returns.pl and returns.tmpl
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2008-03-20 19:39:00 UTC
Size:
1.60 KB
patch
obsolete
>--- /usr/share/koha/intranet/cgi-bin/circ/returns.pl.dist 2008-03-20 18:22:44.000000000 -0400 >+++ /usr/share/koha/intranet/cgi-bin/circ/returns.pl 2008-03-20 18:25:20.000000000 -0400 >@@ -217,6 +217,19 @@ > if ( $biblio->{'homebranch'} ne C4::Context->userenv->{'branch'} ) { > $template->param( homebranch => $biblio->{'homebranch'} ); > } >+ my ( $od, $issue, $fines ) = GetMemberIssuesAndFines( $borrower->{'borrowernumber'} ); >+ if ($fines) { >+ $template->param( fines => sprintf("%.2f",$fines) ); >+ $template->param( fineborrowernumber => $borrower->{'borrowernumber'} ); >+ } > } > elsif ( !$messages->{'BadBarcode'} ) { > my %input; > >--- /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/circ/returns.tmpl.dist 2008-03-20 20:31:13.000000000 -0400 >+++ /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/circ/returns.tmpl 2008-03-20 20:31:57.000000000 -0400 >@@ -15,6 +15,15 @@ > <div id="yui-main"> > > <div class="yui-g"> >+<!-- Patron has fines --> >+<!-- TMPL_IF NAME="fines" --> >+<div class="dialog alert"> >+<h3>Note: Patron has fines in the amount of <span style="color: #C00;"><b><!-- TMPL_VAR NAME="fines" --></b></span></h3> >+<p>For payment, visit the <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="fineborrowernumber" -->">fines</a> page.</p> >+</div> >+<!-- /TMPL_IF --> > <!-- TMPL_IF NAME="wrongbranch" --> > <div class="dialog alert"><h3>Cannot Check In</h3><p>This item must be checked in at its home library. <strong>NOT CHECKED IN</strong></p> > </div>
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 1962
:
439
|
3196
|
3254
|
3285
|
3438