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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-19 / +18 lines)
Lines 193-216 Link Here
193
                                    [% END %]
193
                                    [% END %]
194
                                    [% FOREACH errmsgloo IN errmsgloop %]
194
                                    [% FOREACH errmsgloo IN errmsgloop %]
195
                                        [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
195
                                        [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
196
                                            <p class="problem">
196
                                            <p class="problem nfl_update">
197
                                                Not for loan status updated.
197
                                                Not for loan status updated.
198
                                                <br />Old value:
198
                                                <br />Old value:
199
                                                [% IF errmsgloo.NotForLoanStatusUpdated.from %]
199
                                                [% IF errmsgloo.NotForLoanStatusUpdated.from %]
200
                                                    [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) | html %].
200
                                                    <span class="updated_from">[% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) | html %].</span>
201
                                                [% ELSE %]
201
                                                [% ELSE %]
202
                                                    Available for loan.
202
                                                    Available for loan.
203
                                                [% END %]
203
                                                [% END %]
204
                                                <br />New value:
204
                                                <br />New value:
205
                                                [% IF errmsgloo.NotForLoanStatusUpdated.to %]
205
                                                [% IF errmsgloo.NotForLoanStatusUpdated.to %]
206
                                                    [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) | html %].
206
                                                    <span class="updated_to">[% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) | html %].</spam>
207
                                                [% ELSE %]
207
                                                [% ELSE %]
208
                                                    Available for loan.
208
                                                    Available for loan.
209
                                                [% END %]
209
                                                [% END %]
210
                                            </p>
210
                                            </p>
211
                                        [% END %]
211
                                        [% END %]
212
                                        [% IF ( errmsgloo.ItemLocationUpdated ) %]
212
                                        [% IF ( errmsgloo.ItemLocationUpdated ) %]
213
                                             <p class="problem">
213
                                             <p class="problem location_update">
214
                                                 Item shelving location updated.
214
                                                 Item shelving location updated.
215
                                                <br />Old value:
215
                                                <br />Old value:
216
                                                [% IF errmsgloo.ItemLocationUpdated.from %]
216
                                                [% IF errmsgloo.ItemLocationUpdated.from %]
Lines 239-268 Link Here
239
                                             </p>
239
                                             </p>
240
                                        [% END %]
240
                                        [% END %]
241
                                        [% IF ( errmsgloo.badbarcode ) %]
241
                                        [% IF ( errmsgloo.badbarcode ) %]
242
                                            <p class="problem">No item with barcode: [% errmsgloo.msg | html %]</p>
242
                                            <p class="problem badbarcode">No item with barcode: [% errmsgloo.msg | html %]</p>
243
                                        [% END %]
243
                                        [% END %]
244
                                        [% IF ( errmsgloo.ispermanent ) %]
244
                                        [% IF ( errmsgloo.ispermanent ) %]
245
                                            <p class="problem">Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]</p>
245
                                            <p class="problem ispermenant">Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]</p>
246
                                        [% END %]
246
                                        [% END %]
247
                                        [% IF ( errmsgloo.notissued ) %]
247
                                        [% IF ( errmsgloo.notissued ) %]
248
                                            <p class="problem">Not checked out.</p>
248
                                            <p class="problem notissued">Not checked out.</p>
249
                                        [% END %]
249
                                        [% END %]
250
                                        [% IF ( errmsgloo.localuse) %]
250
                                        [% IF ( errmsgloo.localuse) %]
251
                                            <p class="problem">Local use recorded</p>
251
                                            <p class="problem localuse">Local use recorded</p>
252
                                        [% END %]
252
                                        [% END %]
253
                                        [% IF ( errmsgloo.waslost ) %]
253
                                        [% IF ( errmsgloo.waslost ) %]
254
                                            [% IF Koha.Preference('BlockReturnOfLostItems') %]
254
                                            [% IF Koha.Preference('BlockReturnOfLostItems') %]
255
                                                <p class="problem">Item is lost, cannot be checked in.</p>
255
                                                <p class="problem itemlost_blocked">Item is lost, cannot be checked in.</p>
256
                                            [% ELSE %]
256
                                            [% ELSE %]
257
                                                <p class="problem">Item was lost, now found.</p>
257
                                                <p class="problem itemlost_checkedin">Item was lost, now found.</p>
258
                                            [% END %]
258
                                            [% END %]
259
                                            [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %]
259
                                            [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %]
260
                                                <p class="problem">A refund has been applied to the borrowing patron's account.</p>
260
                                                <p class="problem refund">A refund has been applied to the borrowing patron's account.</p>
261
                                            [% ELSIF Koha.Preference('BlockReturnOfLostItems') %]
261
                                            [% ELSIF Koha.Preference('BlockReturnOfLostItems') %]
262
                                               <h5>Cannot check in</h5>
262
                                               <h5>Cannot check in</h5>
263
                                               <p><strong>NOT CHECKED IN</strong></p>
263
                                               <p><strong>NOT CHECKED IN</strong></p>
264
                                            [% ELSE %]
264
                                            [% ELSE %]
265
                                                <p class="problem">Any lost item fees for this item will remain on the patron's account.</p>
265
                                                <p class="problem fee_remains">Any lost item fees for this item will remain on the patron's account.</p>
266
                                            [% END %]
266
                                            [% END %]
267
                                        [% END %]
267
                                        [% END %]
268
                                        [% IF ( errmsgloo.withdrawn ) %]
268
                                        [% IF ( errmsgloo.withdrawn ) %]
Lines 270-288 Link Here
270
                                               <h5>Cannot check in</h5>
270
                                               <h5>Cannot check in</h5>
271
                                               <p><strong>NOT CHECKED IN</strong></p>
271
                                               <p><strong>NOT CHECKED IN</strong></p>
272
                                            [% END %]
272
                                            [% END %]
273
                                           <p class="problem">Item is withdrawn.</p>
273
                                           <p class="problem withdrawn">Item is withdrawn.</p>
274
                                        [% END %]
274
                                        [% END %]
275
                                        [% IF ( errmsgloo.debarred ) %]
275
                                        [% IF ( errmsgloo.debarred ) %]
276
                                            <p class="problem"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber | uri %]">[% errmsgloo.debarname | html %]([% errmsgloo.debarcardnumber | html %])</a> is now debarred until [% errmsgloo.debarred | $KohaDates %].</p>
276
                                            <p class="problem debarred"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber | uri %]">[% errmsgloo.debarname | html %]([% errmsgloo.debarcardnumber | html %])</a> is now debarred until [% errmsgloo.debarred | $KohaDates %].</p>
277
                                        [% END %]
277
                                        [% END %]
278
                                        [% IF ( errmsgloo.prevdebarred ) %]
278
                                        [% IF ( errmsgloo.prevdebarred ) %]
279
                                            <p class="problem"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].</p>
279
                                            <p class="problem prevdebarred"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].</p>
280
                                        [% END %]
280
                                        [% END %]
281
                                        [% IF ( errmsgloo.foreverdebarred ) %]
281
                                        [% IF ( errmsgloo.foreverdebarred ) %]
282
                                            <p class="problem"><b>Reminder: </b>Patron has an indefinite restriction.</p>
282
                                            <p class="problem foreverdebarred"><b>Reminder: </b>Patron has an indefinite restriction.</p>
283
                                        [% END %]
283
                                        [% END %]
284
                                        [% IF errmsgloo.data_corrupted %]
284
                                        [% IF errmsgloo.data_corrupted %]
285
                                            <p class="problem">The item has not been checked in due to a configuration issue in your system. You must ask an administrator to take a look at the <a href="/cgi-bin/koha/about.pl#sysinfo">about page</a> and search for the "data problems" section</p>
285
                                            <p class="problem datacorrupt">The item has not been checked in due to a configuration issue in your system. You must ask an administrator to take a look at the <a href="/cgi-bin/koha/about.pl#sysinfo">about page</a> and search for the "data problems" section</p>
286
                                        [% END %]
286
                                        [% END %]
287
                                    [% END # /FOREACH errmsgloo %]
287
                                    [% END # /FOREACH errmsgloo %]
288
                                </div> <!-- /.dialog.dialog-alert -->
288
                                </div> <!-- /.dialog.dialog-alert -->
Lines 294-300 Link Here
294
                                [% ELSE %]
294
                                [% ELSE %]
295
                                    <div class="dialog message">
295
                                    <div class="dialog message">
296
                                [% END %]
296
                                [% END %]
297
                                        <p class="problem">[% checkinmsg | html_line_break %]</p>
297
                                        <p class="problem checkinmsg">[% checkinmsg | html_line_break %]</p>
298
                                    </div>
298
                                    </div>
299
                            [% END # /IF checkinmsg %]
299
                            [% END # /IF checkinmsg %]
300
                        [% END # /BLOCK all_checkin_messages %]
300
                        [% END # /BLOCK all_checkin_messages %]
301
- 

Return to bug 26280