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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-43 / +10 lines)
Lines 170-207 Link Here
170
    </div>
170
    </div>
171
[% END %]
171
[% END %]
172
172
173
<!-- case of a mistake in transfer loop -->
174
[% IF ( WrongTransfer ) %]
175
    <div id="return2" class="dialog message">
176
        <!-- WrongTransfer -->
177
        <h3>Please return item to: [% Branches.GetName( TransferWaitingAt ) | html %]</h3>
178
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber | html %]">[% itembarcode | html %]: [% title | html %]</a></p>
179
        <button type="submit" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&amp;&amp;branchcode=[% TransferWaitingAt | html %]&amp;op=slip"><i class="fa fa-print"></i> Print transfer slip</button>
180
        <button class="deny" type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber | html %]&amp;canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button>
181
[% IF ( patron.cardnumber ) %]<h5>Hold for:</h5>
182
        <ul>
183
            <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]">
184
            [% patron.surname | html %], [% patron.firstname | html %]</a> ([% patron.cardnumber | html %]) <span class="patron-category"> - [% patron.category.description | html %]</span> </li>
185
            [% INCLUDE display_holdpatron_address %]
186
            [% IF ( patron.phone ) %]<li>[% patron.phone | html %]</li>[% END %]
187
            [% IF ( patron.email ) %]<li><a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a></li>[% END %]
188
        </ul>
189
190
    <form method="post" action="returns.pl" class="confirm">
191
            <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem | html %]" />
192
            <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt | html %]" />
193
            <input type="hidden" name="WT-From" value="[% wtransfertFrom | html %]" />
194
            <button type="submit" class="approve"><i class="fa fa-check"></i> Confirm</button>
195
            <input type="hidden" name="print_slip" value="0" />
196
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
197
            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
198
            <button type="submit" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> Print slip and confirm</button>
199
        <input type="hidden" name="return_date_override" value="[% return_date_override | html %]" />
200
        <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" />
201
    </form>
202
    [% END %]</div>
203
[% END %]
204
205
[% IF ( found ) %]
173
[% IF ( found ) %]
206
    [% IF ( waiting ) %]
174
    [% IF ( waiting ) %]
207
        <div id="hold-found1" class="modal fade audio-alert-action">
175
        <div id="hold-found1" class="modal fade audio-alert-action">
Lines 609-629 Link Here
609
    <div class="yui-u first">
577
    <div class="yui-u first">
610
            <fieldset>
578
            <fieldset>
611
	<legend>Check in</legend>
579
	<legend>Check in</legend>
612
            <label for="barcode">Enter item barcode: </label>
580
            <div id="checkin_fields"><label for="barcode">Enter item barcode: </label>
613
			[% IF ( exemptfine ) %]
581
            [% IF ( exemptfine ) %]
614
			<input name="barcode" id="barcode" size="14" class="focus alert"/>
582
                input name="barcode" id="barcode" size="14" class="focus alert"/>
615
			[% ELSIF ( dropboxmode ) %]
583
            [% ELSIF ( dropboxmode ) %]
616
			<input name="barcode" id="barcode" size="14" class="focus alert"/>
584
                <input name="barcode" id="barcode" size="14" class="focus alert"/>
617
			[% ELSE %]
585
            [% ELSE %]
618
			<input name="barcode" id="barcode" size="14" class="focus"/>
586
                <input name="barcode" id="barcode" size="14" class="focus"/>
619
			[% END %]
587
			[% END %]
620
            <input type="submit" class="submit" value="Submit" />
588
            <input type="submit" class="submit" value="Submit" /></div>
621
589
622
            [% IF Koha.Preference('SpecifyReturnDate') %]
590
            [% IF Koha.Preference('SpecifyReturnDate') %]
623
                <div class="date-select" id="return_date_override_fields">
591
                <div class="date-select" id="return_date_override_fields">
624
                    <div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div>
592
                    <div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]:
625
593
626
                    <input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override | html %]" />
594
                    <input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override | html %]" /> </div>
627
595
628
                    <label for="return_date_override_remember"> Remember for next check in:</label>
596
                    <label for="return_date_override_remember"> Remember for next check in:</label>
629
                    [% IF ( return_date_override_remember ) %]
597
                    [% IF ( return_date_override_remember ) %]
630
- 

Return to bug 21346