Browse Source

Report borrower's home library on reserves library mismatch.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Ryan Higgins 16 years ago
committed by Joshua Ferraro
parent
commit
e00966e073
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl
  2. 4
      reserve/request.pl

2
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl

@ -145,7 +145,7 @@ if (alreadyreserved > "0"){
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="diffbranch" --><h3>Branch Mismatch</h3> <!-- TMPL_IF NAME="diffbranch" --><h3>Branch Mismatch</h3>
<li> <strong>Pickup library is different</strong> than <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="borrowerfirstname" --> <!-- TMPL_VAR NAME="borrowersurname" --> </a>'s home library</li> <li> <strong>Pickup library is different</strong> than <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="borrowerfirstname" --> <!-- TMPL_VAR NAME="borrowersurname" --> </a>'s home library (<!-- TMPL_VAR NAME="borrower_branchname" --> / <!-- TMPL_VAR NAME="borrower_branchcode" --> )</li>
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
</ul></div> </ul></div>
<!-- /TMPL_IF --> <!-- /TMPL_IF -->

4
reserve/request.pl

@ -471,7 +471,9 @@ $template->param(
CGIselectborrower => $CGIselectborrower, CGIselectborrower => $CGIselectborrower,
title => $dat->{title}, title => $dat->{title},
author => $dat->{author}, author => $dat->{author},
holdsview => 1 holdsview => 1,
borrower_branchname => $branches->{$borrowerinfo->{'branchcode'}}->{'branchname'},
borrower_branchcode => $borrowerinfo->{'branchcode'},
); );
# printout the page # printout the page

Loading…
Cancel
Save