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

(-)a/circ/branchtransfers.pl (-1 lines)
Lines 203-209 foreach my $code ( keys %$messages ) { Link Here
203
            my ( $tbr, $typecode ) = split( /::/,  $messages->{'NotAllowed'} );
203
            my ( $tbr, $typecode ) = split( /::/,  $messages->{'NotAllowed'} );
204
            $err{tbr}      = $branches->{ $tbr }->{'branchname'};
204
            $err{tbr}      = $branches->{ $tbr }->{'branchname'};
205
            $err{code}     = $typecode;
205
            $err{code}     = $typecode;
206
            $err{codeType} = C4::Context->preference("BranchTransferLimitsType");
207
        }
206
        }
208
        elsif ( $code eq 'IsPermanent' ) {
207
        elsif ( $code eq 'IsPermanent' ) {
209
            $err{errispermanent} = 1;
208
            $err{errispermanent} = 1;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt (-18 / +18 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[% USE ItemTypes %]
2
[% USE ItemTypes %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 114-120 Link Here
114
                              [% IF ( errmsgloo.errnotallowed ) %]
115
                              [% IF ( errmsgloo.errnotallowed ) %]
115
                                  <li>Transfer is not allowed for:
116
                                  <li>Transfer is not allowed for:
116
                                      <ol>
117
                                      <ol>
117
                                          [% IF ( errmsgloo.codeType ) == 'itemtype' %]
118
                                          [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
118
                                              <li>Item type: <b>[% ItemTypes.GetDescription( errmsgloo.code ) %]</b></li>
119
                                              <li>Item type: <b>[% ItemTypes.GetDescription( errmsgloo.code ) %]</b></li>
119
                                          [% ELSE %]
120
                                          [% ELSE %]
120
                                              <li>Collection code: <b>[% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) %]</b></li>
121
                                              <li>Collection code: <b>[% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) %]</b></li>
Lines 175-199 Link Here
175
		<table>
176
		<table>
176
            <caption>Transferred items</caption>
177
            <caption>Transferred items</caption>
177
            <tr>
178
            <tr>
178
                <th id="title">Title</th>
179
                <th class="tf-title">Title</th>
179
                <th id="author">Author</th>
180
                <th class="tf-author">Author</th>
180
                <th id="barcode">Barcode</th>
181
                <th class="tf-barcode">Barcode</th>
181
                <th id="location">Shelving location</th>
182
                <th class="tf-location">Shelving location</th>
182
                <th id="itemcallnumber">Call number</th>
183
                <th class="tf-itemcallnumber">Call number</th>
183
                <th id="itemtype">Item type</th>
184
                <th class="tf-itemtype">Item type</th>
184
                <th id="ccode">Collection code</th>
185
                <th class="tf-ccode">Collection code</th>
185
                <th id="destination">Destination</th>
186
                <th class="tf-destination">Destination</th>
186
            </tr>
187
            </tr>
187
            [% FOREACH trsfitemloo IN trsfitemloop %]
188
            [% FOREACH trsfitemloo IN trsfitemloop %]
188
                <tr>
189
                <tr>
189
                    <td class="title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% trsfitemloo.biblionumber %]">[% trsfitemloo.title |html %]</a></td>
190
                    <td class="tf-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% trsfitemloo.biblionumber %]">[% trsfitemloo.title |html %]</a></td>
190
                    <td class="author">[% trsfitemloo.author %]</td>
191
                    <td class="tf-author">[% trsfitemloo.author %]</td>
191
                    <td class="barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.biblionumber %]&amp;itemnumber=[% trsfitemloo.itemnumber %]#item[% trsfitemloo.itemnumber %]">[% trsfitemloo.barcode %]</a></td>
192
                    <td class="tf-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.biblionumber %]&amp;itemnumber=[% trsfitemloo.itemnumber %]#item[% trsfitemloo.itemnumber %]">[% trsfitemloo.barcode %]</a></td>
192
                    <td class="location">[% trsfitemloo.location %]</td>
193
                    <td class="tf-location">[% trsfitemloo.location %]</td>
193
                    <td class="itemcallnumber">[% trsfitemloo.itemcallnumber %]</td>
194
                    <td class="tf-itemcallnumber">[% trsfitemloo.itemcallnumber %]</td>
194
                    <td class="itemtype">[% ItemTypes.GetDescription( trsfitemloo.itemtype ) %]</td>
195
                    <td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.itemtype ) %]</td>
195
                    <td class="ccode">[% AuthorisedValues.GetByCode( 'CCODE', trsfitemloo.ccode ) %]</td>
196
                    <td class="tf-ccode">[% AuthorisedValues.GetByCode( 'CCODE', trsfitemloo.ccode ) %]</td>
196
                    <td class="destination">[% trsfitemloo.tobrname %]</td>
197
                    <td class="tf-destination">[% trsfitemloo.tobrname %]</td>
197
                </tr>
198
                </tr>
198
            [% END %]
199
            [% END %]
199
        </table>
200
        </table>
200
- 

Return to bug 15301