fix for bug 1892: When checking in item on hold...
Makes the print slip and confirm button show up on an in-library hold as well as a transfer. It also adds an ignore button that hides the hold dialog. Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
98406923bb
commit
fba4191412
1 changed files with 3 additions and 1 deletions
|
@ -214,10 +214,12 @@ function Dopop(link) {
|
|||
<form method="post" action="returns.pl" class="confirm">
|
||||
<!-- TMPL_IF name="transfertodo" -->
|
||||
<input type="submit" class="approve" value="Confirm hold and transfer" />
|
||||
<input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&op=slip'); this.form.submit();" />
|
||||
<input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&op=slip'); this.form.submit();" />
|
||||
<!-- TMPL_ELSE -->
|
||||
<input type="submit" class="approve" value="Confirm hold" />
|
||||
<input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&op=slip'); this.form.submit();" />
|
||||
<!-- /TMPL_IF -->
|
||||
<input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); return false;" />
|
||||
<!-- TMPL_LOOP Name="inputloop" -->
|
||||
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
|
||||
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
|
||||
|
|
Loading…
Reference in a new issue