View | Details | Raw Unified | Return to bug 15645
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-5 / +5 lines)
Lines 689-695 function checkMultiHold() { Link Here
689
          <input type="hidden" name="borrowernumber" value="[% reserveloo.borrowernumber %]" />
689
          <input type="hidden" name="borrowernumber" value="[% reserveloo.borrowernumber %]" />
690
          <input type="hidden" name="biblionumber" value="[% reserveloo.biblionumber %]" />
690
          <input type="hidden" name="biblionumber" value="[% reserveloo.biblionumber %]" />
691
          <select name="rank-request">
691
          <select name="rank-request">
692
              [% IF ( reserveloo.wait ) %]
692
              [% IF ( reserveloo.found ) %]
693
                  [% IF ( reserveloo.intransit ) %]
693
                  [% IF ( reserveloo.intransit ) %]
694
                      <option value="T" selected="selected">In transit</option>
694
                      <option value="T" selected="selected">In transit</option>
695
                  [% ELSE %]
695
                  [% ELSE %]
Lines 705-711 function checkMultiHold() { Link Here
705
                          <option value="[% optionloo.num %]">[% optionloo.num %]</option>
705
                          <option value="[% optionloo.num %]">[% optionloo.num %]</option>
706
                      [% END %]
706
                      [% END %]
707
                  [% END %]
707
                  [% END %]
708
              [% ELSIF !reserveloo.wait %]
708
              [% ELSIF !reserveloo.found %]
709
                  <option value="[% reserveloo.priority %]" selected="selected">[% reserveloo.priority %]</option>
709
                  <option value="[% reserveloo.priority %]" selected="selected">[% reserveloo.priority %]</option>
710
              [% END %]
710
              [% END %]
711
              <option value="del">del</option>
711
              <option value="del">del</option>
Lines 751-757 function checkMultiHold() { Link Here
751
            [% END %]
751
            [% END %]
752
        </td>
752
        </td>
753
        <td>
753
        <td>
754
    [% IF ( reserveloo.wait ) %]
754
    [% IF ( reserveloo.found ) %]
755
    	[% IF ( reserveloo.atdestination ) %]
755
    	[% IF ( reserveloo.atdestination ) %]
756
            [% IF ( reserveloo.found ) %]
756
            [% IF ( reserveloo.found ) %]
757
                Item waiting at <b> [% reserveloo.wbrname %]</b> <input type="hidden" name="pickup" value="[% reserveloo.wbrcode %]" /> since [% reserveloo.waiting_date | $KohaDates %]
757
                Item waiting at <b> [% reserveloo.wbrname %]</b> <input type="hidden" name="pickup" value="[% reserveloo.wbrcode %]" /> since [% reserveloo.waiting_date | $KohaDates %]
Lines 776-782 function checkMultiHold() { Link Here
776
    [% END %]
776
    [% END %]
777
        </td>
777
        </td>
778
        <td>
778
        <td>
779
    [% IF ( reserveloo.wait ) %]
779
    [% IF ( reserveloo.found ) %]
780
          <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% reserveloo.biblionumber %]">
780
          <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% reserveloo.biblionumber %]">
781
                [% IF ( reserveloo.barcodenumber ) %]
781
                [% IF ( reserveloo.barcodenumber ) %]
782
                    [% reserveloo.barcodenumber %]
782
                    [% reserveloo.barcodenumber %]
Lines 824-830 function checkMultiHold() { Link Here
824
824
825
        [% IF SuspendHoldsIntranet %]
825
        [% IF SuspendHoldsIntranet %]
826
	<td>
826
	<td>
827
	[% UNLESS ( reserveloo.wait ) %]
827
        [% UNLESS ( reserveloo.found ) %]
828
            <input type="button" value="[% IF ( reserveloo.suspend ) %]Unsuspend[% ELSE %]Suspend[% END %]" onclick="window.location.href='request.pl?action=toggleSuspend&amp;reserve_id=[% reserveloo.reserve_id %]&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]&amp;suspend_until=' + $('#suspend_until_[% reserveloo.reserve_id %]').val()" />
828
            <input type="button" value="[% IF ( reserveloo.suspend ) %]Unsuspend[% ELSE %]Suspend[% END %]" onclick="window.location.href='request.pl?action=toggleSuspend&amp;reserve_id=[% reserveloo.reserve_id %]&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]&amp;suspend_until=' + $('#suspend_until_[% reserveloo.reserve_id %]').val()" />
829
829
830
            [% IF AutoResumeSuspendedHolds %]
830
            [% IF AutoResumeSuspendedHolds %]
(-)a/reserve/request.pl (-2 lines)
Lines 506-512 foreach my $biblionumber (@biblionumbers) { Link Here
506
        }
506
        }
507
507
508
        if ( $res->is_found() ) {
508
        if ( $res->is_found() ) {
509
            $reserve{'wait'}          = 1;
510
            $reserve{'holdingbranch'} = $res->item()->holdingbranch();
509
            $reserve{'holdingbranch'} = $res->item()->holdingbranch();
511
            $reserve{'biblionumber'}  = $res->item()->biblionumber();
510
            $reserve{'biblionumber'}  = $res->item()->biblionumber();
512
            $reserve{'barcodenumber'} = $res->item()->barcode();
511
            $reserve{'barcodenumber'} = $res->item()->barcode();
513
- 

Return to bug 15645