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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-19 / +22 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 ret_nflupdate">
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="ret_updatedfrom">
201
                                                        [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) | html %].
202
                                                    </span>
201
                                                [% ELSE %]
203
                                                [% ELSE %]
202
                                                    Available for loan.
204
                                                    Available for loan.
203
                                                [% END %]
205
                                                [% END %]
204
                                                <br />New value:
206
                                                <br />New value:
205
                                                [% IF errmsgloo.NotForLoanStatusUpdated.to %]
207
                                                [% IF errmsgloo.NotForLoanStatusUpdated.to %]
206
                                                    [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) | html %].
208
                                                    <span class="ret_updatedto">
209
                                                        [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) | html %].
210
                                                    </span>
207
                                                [% ELSE %]
211
                                                [% ELSE %]
208
                                                    Available for loan.
212
                                                    Available for loan.
209
                                                [% END %]
213
                                                [% END %]
210
                                            </p>
214
                                            </p>
211
                                        [% END %]
215
                                        [% END %]
212
                                        [% IF ( errmsgloo.ItemLocationUpdated ) %]
216
                                        [% IF ( errmsgloo.ItemLocationUpdated ) %]
213
                                             <p class="problem">
217
                                             <p class="problem ret_location_update">
214
                                                 Item shelving location updated.
218
                                                 Item shelving location updated.
215
                                                <br />Old value:
219
                                                <br />Old value:
216
                                                [% IF errmsgloo.ItemLocationUpdated.from %]
220
                                                [% IF errmsgloo.ItemLocationUpdated.from %]
Lines 239-268 Link Here
239
                                             </p>
243
                                             </p>
240
                                        [% END %]
244
                                        [% END %]
241
                                        [% IF ( errmsgloo.badbarcode ) %]
245
                                        [% IF ( errmsgloo.badbarcode ) %]
242
                                            <p class="problem">No item with barcode: [% errmsgloo.msg | html %]</p>
246
                                            <p class="problem ret_badbarcode">No item with barcode: [% errmsgloo.msg | html %]</p>
243
                                        [% END %]
247
                                        [% END %]
244
                                        [% IF ( errmsgloo.ispermanent ) %]
248
                                        [% IF ( errmsgloo.ispermanent ) %]
245
                                            <p class="problem">Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]</p>
249
                                            <p class="problem ret_ispermenant">Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]</p>
246
                                        [% END %]
250
                                        [% END %]
247
                                        [% IF ( errmsgloo.notissued ) %]
251
                                        [% IF ( errmsgloo.notissued ) %]
248
                                            <p class="problem">Not checked out.</p>
252
                                            <p class="problem ret_notissued">Not checked out.</p>
249
                                        [% END %]
253
                                        [% END %]
250
                                        [% IF ( errmsgloo.localuse) %]
254
                                        [% IF ( errmsgloo.localuse) %]
251
                                            <p class="problem">Local use recorded</p>
255
                                            <p class="problem ret_localuse">Local use recorded</p>
252
                                        [% END %]
256
                                        [% END %]
253
                                        [% IF ( errmsgloo.waslost ) %]
257
                                        [% IF ( errmsgloo.waslost ) %]
254
                                            [% IF Koha.Preference('BlockReturnOfLostItems') %]
258
                                            [% IF Koha.Preference('BlockReturnOfLostItems') %]
255
                                                <p class="problem">Item is lost, cannot be checked in.</p>
259
                                                <p class="problem ret_blocked">Item is lost, cannot be checked in.</p>
256
                                            [% ELSE %]
260
                                            [% ELSE %]
257
                                                <p class="problem">Item was lost, now found.</p>
261
                                                <p class="problem ret_checkedin">Item was lost, now found.</p>
258
                                            [% END %]
262
                                            [% END %]
259
                                            [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %]
263
                                            [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %]
260
                                                <p class="problem">A refund has been applied to the borrowing patron's account.</p>
264
                                                <p class="problem ret_refund">A refund has been applied to the borrowing patron's account.</p>
261
                                            [% ELSIF Koha.Preference('BlockReturnOfLostItems') %]
265
                                            [% ELSIF Koha.Preference('BlockReturnOfLostItems') %]
262
                                               <h5>Cannot check in</h5>
266
                                               <h5>Cannot check in</h5>
263
                                               <p><strong>NOT CHECKED IN</strong></p>
267
                                               <p><strong>NOT CHECKED IN</strong></p>
264
                                            [% ELSE %]
268
                                            [% ELSE %]
265
                                                <p class="problem">Any lost item fees for this item will remain on the patron's account.</p>
269
                                                <p class="problem ret_feeremains">Any lost item fees for this item will remain on the patron's account.</p>
266
                                            [% END %]
270
                                            [% END %]
267
                                        [% END %]
271
                                        [% END %]
268
                                        [% IF ( errmsgloo.withdrawn ) %]
272
                                        [% IF ( errmsgloo.withdrawn ) %]
Lines 270-288 Link Here
270
                                               <h5>Cannot check in</h5>
274
                                               <h5>Cannot check in</h5>
271
                                               <p><strong>NOT CHECKED IN</strong></p>
275
                                               <p><strong>NOT CHECKED IN</strong></p>
272
                                            [% END %]
276
                                            [% END %]
273
                                           <p class="problem">Item is withdrawn.</p>
277
                                           <p class="problem ret_withdrawn">Item is withdrawn.</p>
274
                                        [% END %]
278
                                        [% END %]
275
                                        [% IF ( errmsgloo.debarred ) %]
279
                                        [% 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>
280
                                            <p class="problem ret_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 %]
281
                                        [% END %]
278
                                        [% IF ( errmsgloo.prevdebarred ) %]
282
                                        [% IF ( errmsgloo.prevdebarred ) %]
279
                                            <p class="problem"><strong>Reminder: </strong>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].</p>
283
                                            <p class="problem ret_prevdebarred"><strong>Reminder: </strong>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].</p>
280
                                        [% END %]
284
                                        [% END %]
281
                                        [% IF ( errmsgloo.foreverdebarred ) %]
285
                                        [% IF ( errmsgloo.foreverdebarred ) %]
282
                                            <p class="problem"><strong>Reminder: </strong>Patron has an indefinite restriction.</p>
286
                                            <p class="problem ret_foreverdebarred"><strong>Reminder: </strong>Patron has an indefinite restriction.</p>
283
                                        [% END %]
287
                                        [% END %]
284
                                        [% IF errmsgloo.data_corrupted %]
288
                                        [% 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>
289
                                            <p class="problem ret_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 %]
290
                                        [% END %]
287
                                    [% END # /FOREACH errmsgloo %]
291
                                    [% END # /FOREACH errmsgloo %]
288
                                </div> <!-- /.dialog.dialog-alert -->
292
                                </div> <!-- /.dialog.dialog-alert -->
Lines 294-300 Link Here
294
                                [% ELSE %]
298
                                [% ELSE %]
295
                                    <div class="dialog message">
299
                                    <div class="dialog message">
296
                                [% END %]
300
                                [% END %]
297
                                        <p class="problem">[% checkinmsg | html_line_break %]</p>
301
                                        <p class="problem ret_checkinmsg">[% checkinmsg | html_line_break %]</p>
298
                                    </div>
302
                                    </div>
299
                            [% END # /IF checkinmsg %]
303
                            [% END # /IF checkinmsg %]
300
                        [% END # /BLOCK all_checkin_messages %]
304
                        [% END # /BLOCK all_checkin_messages %]
301
- 

Return to bug 26280