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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (-62 / +63 lines)
Lines 1-10 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE ItemTypes %]
3
[% USE ItemTypes %]
3
[% USE Branches %]
4
[% USE Branches %]
4
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Circulation &rsaquo; Article requests</title>
8
<title>[% t('Koha › Circulation › Article requests') %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
<style type="text/css"> p { margin-top: 0; }</style>
10
<style type="text/css"> p { margin-top: 0; }</style>
10
</head>
11
</head>
Lines 14-35 Link Here
14
    [% INCLUDE 'cat-search.inc' %]
15
    [% INCLUDE 'cat-search.inc' %]
15
16
16
    <div id="breadcrumbs">
17
    <div id="breadcrumbs">
17
        <a href="/cgi-bin/koha/mainpage.pl">Home</a>
18
        <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a>
18
        &rsaquo;
19
19
        <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
20
        <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a>
20
        &rsaquo;
21
21
        <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>
22
        <a href="/cgi-bin/koha/circ/article-requests.pl">[% t('Article requests') %]</a>
22
    </div>
23
    </div>
23
24
24
    <div class="main container-fluid">
25
    <div class="main container-fluid">
25
        <div class="row">
26
        <div class="row">
26
            <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
27
            <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
27
28
28
                <h1>Article requests</h1>
29
                <h1>[% t('Article requests') %]</h1>
29
30
30
                <form id="ar-branchcode-form" method="post">
31
                <form id="ar-branchcode-form" method="post">
31
                    <select name="branchcode" id="branchcode">
32
                    <select name="branchcode" id="branchcode">
32
                        <option value="">All libraries</option>
33
                        <option value="">[% t('All libraries') %]</option>
33
                        [% FOREACH b IN Branches.all( only_from_group => 1 ) %]
34
                        [% FOREACH b IN Branches.all( only_from_group => 1 ) %]
34
                            [% IF b.branchcode == branchcode %]
35
                            [% IF b.branchcode == branchcode %]
35
                                <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
36
                                <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
Lines 39-45 Link Here
39
                        [% END %]
40
                        [% END %]
40
                    </select>
41
                    </select>
41
                    <button type="submit" class="btn btn-default btn-xs">
42
                    <button type="submit" class="btn btn-default btn-xs">
42
                        <i class="fa fa-refresh"></i> Update
43
                        <i class="fa fa-refresh"></i> [% t('Update') %]
43
                    </button>
44
                    </button>
44
                </form>
45
                </form>
45
46
Lines 47-59 Link Here
47
                    <ul>
48
                    <ul>
48
                        <li>
49
                        <li>
49
                            <a href="#article-requests-pending">
50
                            <a href="#article-requests-pending">
50
                                Pending (<span id="ar_pending_count">[% article_requests_pending.count %]</span>)
51
                                [% t('Pending (') %]<span id="ar_pending_count">[% article_requests_pending.count %]</span>)
51
                            </a>
52
                            </a>
52
                        </li>
53
                        </li>
53
54
54
                        <li>
55
                        <li>
55
                            <a href="#article-requests-processing">
56
                            <a href="#article-requests-processing">
56
                                Processing (<span id="ar_processing_count">[% article_requests_processing.count %]</span>)
57
                                [% t('Processing (') %]<span id="ar_processing_count">[% article_requests_processing.count %]</span>)
57
                            </a>
58
                            </a>
58
                        </li>
59
                        </li>
59
                    </ul>
60
                    </ul>
Lines 62-85 Link Here
62
                        <table id="article-requests-pending-table">
63
                        <table id="article-requests-pending-table">
63
                            <thead>
64
                            <thead>
64
                                <tr>
65
                                <tr>
65
                                    <th class="ar-title">Title</th>
66
                                    <th class="ar-title">[% t('Title') %]</th>
66
                                    <th class="ar-request">Requested article</th>
67
                                    <th class="ar-request">[% t('Requested article') %]</th>
67
                                    <th class="ar-collection">Collection</th>
68
                                    <th class="ar-collection">[% t('Collection') %]</th>
68
                                    <th class="ar-itemtype">Item type</th>
69
                                    <th class="ar-itemtype">[% t('Item type') %]</th>
69
                                    <th class="ar-callnumber">Call number</th>
70
                                    <th class="ar-callnumber">[% t('Call number') %]</th>
70
                                    <th class="ar-copynumber">Copy number</th>
71
                                    <th class="ar-copynumber">[% t('Copy number') %]</th>
71
                                    <th class="ar-enumchron">Enumeration</th>
72
                                    <th class="ar-enumchron">[% t('Enumeration') %]</th>
72
                                    <th class="ar-barcode">Barcode</th>
73
                                    <th class="ar-barcode">[% t('Barcode') %]</th>
73
                                    <th class="ar-patron">Patron</th>
74
                                    <th class="ar-patron">[% t('Patron') %]</th>
74
                                    <th class="ar-date">Date</th>
75
                                    <th class="ar-date">[% t('Date') %]</th>
75
                                    <th class="ar-actions">Actions</th>
76
                                    <th class="ar-actions">[% t('Actions') %]</th>
76
                                </tr>
77
                                </tr>
77
                            </thead>
78
                            </thead>
78
79
79
                             <tbody>
80
                             <tbody>
80
                                <tr class="ar-pending-none">
81
                                <tr class="ar-pending-none">
81
                                    <td colspan="11">
82
                                    <td colspan="11">
82
                                        There are no pending article requests at this time.
83
                                        [% t('There are no pending article requests at this time.') %]
83
                                    </td>
84
                                    </td>
84
                                </tr>
85
                                </tr>
85
86
Lines 112-131 Link Here
112
                                                    [%  r.biblio.biblioitem.size %]
113
                                                    [%  r.biblio.biblioitem.size %]
113
114
114
                                                    [% IF ar.biblio.biblioitem.isbn %]
115
                                                    [% IF ar.biblio.biblioitem.isbn %]
115
                                                        ISBN: [% ar.biblio.biblioitem.isbn %]
116
                                                        [% t('ISBN:') %] [% ar.biblio.biblioitem.isbn %]
116
                                                    [% END %]
117
                                                    [% END %]
117
                                                </div>
118
                                                </div>
118
                                            </p>
119
                                            </p>
119
                                        </td>
120
                                        </td>
120
                                        <td class="ar-request">
121
                                        <td class="ar-request">
121
                                            [% IF ar.title %]        <p><strong>Title:</strong>        [% ar.title %]        </p> [% END %]
122
                                            [% IF ar.title %]        <p><strong>[% t('Title:') %]</strong>        [% ar.title %]        </p> [% END %]
122
                                            [% IF ar.author %]       <p><strong>Author:</strong>       [% ar.author %]       </p> [% END %]
123
                                            [% IF ar.author %]       <p><strong>[% t('Author:') %]</strong>       [% ar.author %]       </p> [% END %]
123
                                            [% IF ar.volume %]       <p><strong>Volume:</strong>       [% ar.volume %]       </p> [% END %]
124
                                            [% IF ar.volume %]       <p><strong>[% t('Volume:') %]</strong>       [% ar.volume %]       </p> [% END %]
124
                                            [% IF ar.issue %]        <p><strong>Issue:</strong>        [% ar.issue %]        </p> [% END %]
125
                                            [% IF ar.issue %]        <p><strong>[% t('Issue:') %]</strong>        [% ar.issue %]        </p> [% END %]
125
                                            [% IF ar.date %]         <p><strong>Date:</strong>         [% ar.date %]         </p> [% END %]
126
                                            [% IF ar.date %]         <p><strong>[% t('Date:') %]</strong>         [% ar.date %]         </p> [% END %]
126
                                            [% IF ar.pages %]        <p><strong>Pages:</strong>        [% ar.pages %]        </p> [% END %]
127
                                            [% IF ar.pages %]        <p><strong>[% t('Pages:') %]</strong>        [% ar.pages %]        </p> [% END %]
127
                                            [% IF ar.chapters %]     <p><strong>Chapters:</strong>     [% ar.chapters %]     </p> [% END %]
128
                                            [% IF ar.chapters %]     <p><strong>[% t('Chapters:') %]</strong>     [% ar.chapters %]     </p> [% END %]
128
                                            [% IF ar.patron_notes %] <p><strong>Patron notes:</strong> [% ar.patron_notes %] </p> [% END %]
129
                                            [% IF ar.patron_notes %] <p><strong>[% t('Patron notes:') %]</strong> [% ar.patron_notes %] </p> [% END %]
129
                                        </td>
130
                                        </td>
130
                                        <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td>
131
                                        <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td>
131
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td>
132
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td>
Lines 152-180 Link Here
152
                                        <td class="ar-actions">
153
                                        <td class="ar-actions">
153
                                            <div class="dropdown">
154
                                            <div class="dropdown">
154
                                                <a class="btn btn-default btn-xs dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#">
155
                                                <a class="btn btn-default btn-xs dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#">
155
                                                    Actions <b class="caret"></b>
156
                                                    [% t('Actions') %] <b class="caret"></b>
156
                                                </a>
157
                                                </a>
157
158
158
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions">
159
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions">
159
                                                    <li>
160
                                                    <li>
160
                                                        <a class="ar-process-request" href="#" onclick="Process( [% ar.id %], $(this) ); return false;">
161
                                                        <a class="ar-process-request" href="#" onclick="Process( [% ar.id %], $(this) ); return false;">
161
                                                            <i class="fa fa-cog"></i>
162
                                                            <i class="fa fa-cog"></i>
162
                                                            Process request
163
                                                            [% t('Process request') %]
163
                                                        </a>
164
                                                        </a>
164
165
165
                                                        <a class="ar-complete-request" href="#" onclick="Complete( [% ar.id %], $(this) ); return false;">
166
                                                        <a class="ar-complete-request" href="#" onclick="Complete( [% ar.id %], $(this) ); return false;">
166
                                                            <i class="fa fa-check-circle"></i>
167
                                                            <i class="fa fa-check-circle"></i>
167
                                                            Complete request
168
                                                            [% t('Complete request') %]
168
                                                        </a>
169
                                                        </a>
169
170
170
                                                        <a class="ar-cancel-request" href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;">
171
                                                        <a class="ar-cancel-request" href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;">
171
                                                            <i class="fa fa-minus-circle"></i>
172
                                                            <i class="fa fa-minus-circle"></i>
172
                                                            Cancel request
173
                                                            [% t('Cancel request') %]
173
                                                        </a>
174
                                                        </a>
174
175
175
                                                        <a class="ar-print-request" href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;">
176
                                                        <a class="ar-print-request" href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;">
176
                                                            <i class="fa fa-print"></i>
177
                                                            <i class="fa fa-print"></i>
177
                                                            Print slip
178
                                                            [% t('Print slip') %]
178
                                                        </a>
179
                                                        </a>
179
                                                    </li>
180
                                                    </li>
180
                                                </ul>
181
                                                </ul>
Lines 190-213 Link Here
190
                        <table id="article-requests-processing-table">
191
                        <table id="article-requests-processing-table">
191
                            <thead>
192
                            <thead>
192
                                <tr>
193
                                <tr>
193
                                    <th class="ar-title">Title</th>
194
                                    <th class="ar-title">[% t('Title') %]</th>
194
                                    <th class="ar-request">Requested article</th>
195
                                    <th class="ar-request">[% t('Requested article') %]</th>
195
                                    <th class="ar-collection">Collection</th>
196
                                    <th class="ar-collection">[% t('Collection') %]</th>
196
                                    <th class="ar-itemtype">Item type</th>
197
                                    <th class="ar-itemtype">[% t('Item type') %]</th>
197
                                    <th class="ar-callnumber">Call number</th>
198
                                    <th class="ar-callnumber">[% t('Call number') %]</th>
198
                                    <th class="ar-copynumber">Copy number</th>
199
                                    <th class="ar-copynumber">[% t('Copy number') %]</th>
199
                                    <th class="ar-enumchron">Enumeration</th>
200
                                    <th class="ar-enumchron">[% t('Enumeration') %]</th>
200
                                    <th class="ar-barcode">Barcode</th>
201
                                    <th class="ar-barcode">[% t('Barcode') %]</th>
201
                                    <th class="ar-patron">Patron</th>
202
                                    <th class="ar-patron">[% t('Patron') %]</th>
202
                                    <th class="ar-date">Date</th>
203
                                    <th class="ar-date">[% t('Date') %]</th>
203
                                    <th class="ar-actions">Actions</th>
204
                                    <th class="ar-actions">[% t('Actions') %]</th>
204
                                </tr>
205
                                </tr>
205
                            </thead>
206
                            </thead>
206
207
207
                             <tbody>
208
                             <tbody>
208
                                <tr class="ar-processing-none">
209
                                <tr class="ar-processing-none">
209
                                    <td colspan="11">
210
                                    <td colspan="11">
210
                                        There are no article requests in processing at this time.
211
                                        [% t('There are no article requests in processing at this time.') %]
211
                                    </td>
212
                                    </td>
212
                                </tr>
213
                                </tr>
213
214
Lines 240-259 Link Here
240
                                                    [%  r.biblio.biblioitem.size %]
241
                                                    [%  r.biblio.biblioitem.size %]
241
242
242
                                                    [% IF ar.biblio.biblioitem.isbn %]
243
                                                    [% IF ar.biblio.biblioitem.isbn %]
243
                                                        ISBN: [% ar.biblio.biblioitem.isbn %]
244
                                                        [% t('ISBN:') %] [% ar.biblio.biblioitem.isbn %]
244
                                                    [% END %]
245
                                                    [% END %]
245
                                                </div>
246
                                                </div>
246
                                            </p>
247
                                            </p>
247
                                        </td>
248
                                        </td>
248
                                        <td class="ar-request">
249
                                        <td class="ar-request">
249
                                            [% IF ar.title %]        <p><strong>Title:</strong>        [% ar.title %]        </p> [% END %]
250
                                            [% IF ar.title %]        <p><strong>[% t('Title:') %]</strong>        [% ar.title %]        </p> [% END %]
250
                                            [% IF ar.author %]       <p><strong>Author:</strong>       [% ar.author %]       </p> [% END %]
251
                                            [% IF ar.author %]       <p><strong>[% t('Author:') %]</strong>       [% ar.author %]       </p> [% END %]
251
                                            [% IF ar.volume %]       <p><strong>Volume:</strong>       [% ar.volume %]       </p> [% END %]
252
                                            [% IF ar.volume %]       <p><strong>[% t('Volume:') %]</strong>       [% ar.volume %]       </p> [% END %]
252
                                            [% IF ar.issue %]        <p><strong>Issue:</strong>        [% ar.issue %]        </p> [% END %]
253
                                            [% IF ar.issue %]        <p><strong>[% t('Issue:') %]</strong>        [% ar.issue %]        </p> [% END %]
253
                                            [% IF ar.date %]         <p><strong>Date:</strong>         [% ar.date %]         </p> [% END %]
254
                                            [% IF ar.date %]         <p><strong>[% t('Date:') %]</strong>         [% ar.date %]         </p> [% END %]
254
                                            [% IF ar.pages %]        <p><strong>Pages:</strong>        [% ar.pages %]        </p> [% END %]
255
                                            [% IF ar.pages %]        <p><strong>[% t('Pages:') %]</strong>        [% ar.pages %]        </p> [% END %]
255
                                            [% IF ar.chapters %]     <p><strong>Chapters:</strong>     [% ar.chapters %]     </p> [% END %]
256
                                            [% IF ar.chapters %]     <p><strong>[% t('Chapters:') %]</strong>     [% ar.chapters %]     </p> [% END %]
256
                                            [% IF ar.patron_notes %] <p><strong>Patron notes:</strong> [% ar.patron_notes %] </p> [% END %]
257
                                            [% IF ar.patron_notes %] <p><strong>[% t('Patron notes:') %]</strong> [% ar.patron_notes %] </p> [% END %]
257
                                        </td>
258
                                        </td>
258
                                        <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td>
259
                                        <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td>
259
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td>
260
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td>
Lines 280-303 Link Here
280
                                        <td class="ar-actions">
281
                                        <td class="ar-actions">
281
                                            <div class="dropdown">
282
                                            <div class="dropdown">
282
                                                <a class="btn btn-default btn-xs dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#">
283
                                                <a class="btn btn-default btn-xs dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#">
283
                                                    Actions <b class="caret"></b>
284
                                                    [% t('Actions') %] <b class="caret"></b>
284
                                                </a>
285
                                                </a>
285
286
286
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions">
287
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions">
287
                                                    <li>
288
                                                    <li>
288
                                                        <a href="#" onclick="Complete( [% ar.id %], $(this) ); return false;">
289
                                                        <a href="#" onclick="Complete( [% ar.id %], $(this) ); return false;">
289
                                                            <i class="icon-ok-circle"></i>
290
                                                            <i class="icon-ok-circle"></i>
290
                                                            Complete request
291
                                                            [% t('Complete request') %]
291
                                                        </a>
292
                                                        </a>
292
293
293
                                                        <a href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;">
294
                                                        <a href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;">
294
                                                            <i class="icon-remove-circle"></i>
295
                                                            <i class="icon-remove-circle"></i>
295
                                                            Cancel request
296
                                                            [% t('Cancel request') %]
296
                                                        </a>
297
                                                        </a>
297
298
298
                                                        <a href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;">
299
                                                        <a href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;">
299
                                                            <i class="icon-print"></i>
300
                                                            <i class="icon-print"></i>
300
                                                            Print slip
301
                                                            [% t('Print slip') %]
301
                                                        </a>
302
                                                        </a>
302
                                                    </li>
303
                                                    </li>
303
                                                </ul>
304
                                                </ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt (-10 / +11 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Circulation &rsaquo; Circulation statistics for [% title |html %]</title>
6
<title>[% t('Koha › Circulation › Circulation statistics for') %] [% title |html %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
8
</head>
8
9
Lines 10-16 Link Here
10
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'circ-search.inc' %]
12
[% INCLUDE 'circ-search.inc' %]
12
13
13
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Circulation statistics for [% title |html %]</div>
14
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> [% t('› Circulation statistics for') %] [% title |html %]</div>
14
15
15
<div id="doc3" class="yui-t2">
16
<div id="doc3" class="yui-t2">
16
   
17
   
Lines 19-40 Link Here
19
	<div class="yui-b">
20
	<div class="yui-b">
20
21
21
<h2>
22
<h2>
22
[% title |html %] [% IF ( author ) %] by [% author |html %][% END %]</h2>
23
[% title |html %] [% IF ( author ) %] [% t('by') %] [% author |html %][% END %]</h2>
23
<h3>Barcode [% barcode %]</h3>
24
<h3>[% t('Barcode') %] [% barcode %]</h3>
24
<table>
25
<table>
25
        <tr><th>Home library</th><th>Current library</th><th>Date arrived<br />at current library </th><th>Number of checkouts<br />since last transfer</th></tr>
26
        <tr><th>[% t('Home library') %]</th><th>[% t('Current library') %]</th><th>[% t('Date arrived') %]<br />[% t('at current library') %] </th><th>[% t('Number of checkouts') %]<br />[% t('since last transfer') %]</th></tr>
26
27
27
        <tr><td>[% Branches.GetName( homebranch ) %]</td>
28
        <tr><td>[% Branches.GetName( homebranch ) %]</td>
28
            <td>[% Branches.GetName( holdingbranch ) %]</td>
29
            <td>[% Branches.GetName( holdingbranch ) %]</td>
29
            <td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
30
            <td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %][% t('Item has no transfer record') %][% END %]</td>
30
            <td>[% count %]</td>
31
            <td>[% count %]</td>
31
        </tr>
32
        </tr>
32
</table>
33
</table>
33
<table>
34
<table>
34
    <tr>
35
    <tr>
35
        <th>Library</th>
36
        <th>[% t('Library') %]</th>
36
        <th>No. of times checked out</th>
37
        <th>[% t('No. of times checked out') %]</th>
37
        <th>Last seen</th>
38
        <th>[% t('Last seen') %]</th>
38
    </tr>
39
    </tr>
39
    [% FOREACH library IN libraries %]
40
    [% FOREACH library IN libraries %]
40
    [% IF library.selected %]
41
    [% IF library.selected %]
Lines 47-53 Link Here
47
            <td>[% IF library.seen %]
48
            <td>[% IF library.seen %]
48
                    [% library.seen | $KohaDates with_hours => 1 %]
49
                    [% library.seen | $KohaDates with_hours => 1 %]
49
                [% ELSE %]
50
                [% ELSE %]
50
                    <span>Never</span>
51
                    <span>[% t('Never') %]</span>
51
                [% END %]
52
                [% END %]
52
            </td>
53
            </td>
53
        </tr>
54
        </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt (-22 / +23 lines)
Lines 1-14 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Circulation &rsaquo; Overdues at [% LoginBranchname %]</title>
5
<title>[% t('Koha › Circulation › Overdues at') %] [% LoginBranchname %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
7
</head>
7
<body id="circ_branchoverdues" class="circ">
8
<body id="circ_branchoverdues" class="circ">
8
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'circ-search.inc' %]
10
[% INCLUDE 'circ-search.inc' %]
10
11
11
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Overdues at [% LoginBranchname %]</div>
12
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> [% t('› Overdues at') %] [% LoginBranchname %]</div>
12
13
13
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
14
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
14
15
Lines 18-28 Link Here
18
	<div class="yui-g">
19
	<div class="yui-g">
19
20
20
21
21
<h1>Circulation: Overdues at [% LoginBranchname %]</h1>
22
<h1>[% t('Circulation: Overdues at') %] [% LoginBranchname %]</h1>
22
23
23
<form name="selectlocation" action="branchoverdues.pl" method="post">
24
<form name="selectlocation" action="branchoverdues.pl" method="post">
24
    <label for="location">Shelving location selected: </label><select id="location" name="location">
25
    <label for="location">[% t('Shelving location selected:') %] </label><select id="location" name="location">
25
        <option value="">All shelving locations</option>
26
        <option value="">[% t('All shelving locations') %]</option>
26
        [% FOREACH locationsloo IN locationsloop %]
27
        [% FOREACH locationsloo IN locationsloop %]
27
            [% IF ( locationsloo.selected ) %]<option value="[% locationsloo.authorised_value %]" selected="selected">[% locationsloo.lib %]</option>[% ELSE %]<option value="[% locationsloo.authorised_value %]">[% locationsloo.lib %]</option>[% END %]
28
            [% IF ( locationsloo.selected ) %]<option value="[% locationsloo.authorised_value %]" selected="selected">[% locationsloo.lib %]</option>[% ELSE %]<option value="[% locationsloo.authorised_value %]">[% locationsloo.lib %]</option>[% END %]
28
        [% END %]
29
        [% END %]
Lines 33-42 Link Here
33
    [% IF ( overduesloop ) %]
34
    [% IF ( overduesloop ) %]
34
        <table style="width:100%;">
35
        <table style="width:100%;">
35
        <tr>
36
        <tr>
36
            <th>Date due</th>
37
            <th>[% t('Date due') %]</th>
37
            <th>Title</th>
38
            <th>[% t('Title') %]</th>
38
            <th>Patron</th>
39
            <th>[% t('Patron') %]</th>
39
            <th>Location</th>
40
            <th>[% t('Location') %]</th>
40
        </tr>
41
        </tr>
41
            [% FOREACH overduesloo IN overduesloop %]
42
            [% FOREACH overduesloo IN overduesloop %]
42
                <tr>
43
                <tr>
Lines 44-52 Link Here
44
                        [% overduesloo.date_due %]
45
                        [% overduesloo.date_due %]
45
                    </td>
46
                    </td>
46
                    <td>
47
                    <td>
47
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% overduesloo.title |html %] [% IF ( overduesloo.subtitle ) %][% overduesloo.subtitle %][% END %]</a> [% IF ( overduesloo.author ) %] by [% overduesloo.author %][% END %]
48
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% overduesloo.title |html %] [% IF ( overduesloo.subtitle ) %][% overduesloo.subtitle %][% END %]</a> [% IF ( overduesloo.author ) %] [% t('by') %] [% overduesloo.author %][% END %]
48
49
49
                            <br />Barcode : [% overduesloo.barcode %]
50
                            <br />[% t('Barcode :') %] [% overduesloo.barcode %]
50
                    </td>
51
                    </td>
51
                    <td>
52
                    <td>
52
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overduesloo.borrowernumber %]">[% overduesloo.borrowersurname %], [% overduesloo.borrowerfirstname %]</a>
53
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overduesloo.borrowernumber %]">[% overduesloo.borrowersurname %], [% overduesloo.borrowerfirstname %]</a>
Lines 61-78 Link Here
61
            [% END %]
62
            [% END %]
62
        </table>
63
        </table>
63
    [% ELSE %]
64
    [% ELSE %]
64
        <div class="dialog message">There are no overdues for today[% IF ( location ) %] at the selected location[% END %].</div>
65
        <div class="dialog message">[% t('There are no overdues for today') %][% IF ( location ) %] [% t('at the selected location') %][% END %].</div>
65
    [% END %]
66
    [% END %]
66
    [% IF ( todayoverduesloop ) %]
67
    [% IF ( todayoverduesloop ) %]
67
        <div id="branch_odues_today_odues">
68
        <div id="branch_odues_today_odues">
68
            <table style="width:100%;">
69
            <table style="width:100%;">
69
			<caption>Today's notifications</caption>
70
			<caption>[% t('Today\'s notifications') %]</caption>
70
            <tr>
71
            <tr>
71
                <th>Date due</th>
72
                <th>[% t('Date due') %]</th>
72
                <th>Title</th>
73
                <th>[% t('Title') %]</th>
73
                <th>Borrower</th>
74
                <th>[% t('Borrower') %]</th>
74
                <th>Location</th>
75
                <th>[% t('Location') %]</th>
75
                <th>Cancel</th>
76
                <th>[% t('Cancel') %]</th>
76
            </tr>
77
            </tr>
77
                [% FOREACH todayoverduesloo IN todayoverduesloop %]
78
                [% FOREACH todayoverduesloo IN todayoverduesloop %]
78
                    <tr>
79
                    <tr>
Lines 84-95 Link Here
84
                        <td>
85
                        <td>
85
                            <p>
86
                            <p>
86
                                <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% todayoverduesloo.biblionumber %]">[% todayoverduesloo.title |html %]</a>
87
                                <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% todayoverduesloo.biblionumber %]">[% todayoverduesloo.title |html %]</a>
87
                                &nbsp; (<b>[% todayoverduesloo.description %]</b>)
88
                                  (<b>[% todayoverduesloo.description %]</b>)
88
                                <br />Barcode : [% todayoverduesloo.barcode %]
89
                                <br />[% t('Barcode :') %] [% todayoverduesloo.barcode %]
89
                            </p>
90
                            </p>
90
                        </td>
91
                        </td>
91
                        <td>
92
                        <td>
92
                            <p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% todayoverduesloo.borrowernumber %]">[% todayoverduesloo.borrowersurname %] &nbsp; [% todayoverduesloo.borrowerfirstname %]</a>
93
                            <p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% todayoverduesloo.borrowernumber %]">[% todayoverduesloo.borrowersurname %]   [% todayoverduesloo.borrowerfirstname %]</a>
93
                            <br />[% todayoverduesloo.cardnumber %]<br />
94
                            <br />[% todayoverduesloo.cardnumber %]<br />
94
                            <br />[% todayoverduesloo.borrowerphone %]<br />
95
                            <br />[% todayoverduesloo.borrowerphone %]<br />
95
                        [% IF ( todayoverduesloo.borroweremail ) %]<a href="mailto:[% todayoverduesloo.borroweremail %]?subject=Overdue: [% todayoverduesloo.title |html %]">
96
                        [% IF ( todayoverduesloo.borroweremail ) %]<a href="mailto:[% todayoverduesloo.borroweremail %]?subject=Overdue: [% todayoverduesloo.title |html %]">
Lines 99-105 Link Here
99
                        <td><p>[% Branches.GetName( todayoverduesloo.homebranch ) %] [% todayoverduesloo.itemcallnumber %]</p>
100
                        <td><p>[% Branches.GetName( todayoverduesloo.homebranch ) %] [% todayoverduesloo.itemcallnumber %]</p>
100
                        </td>
101
                        </td>
101
                        <td>
102
                        <td>
102
                        <a href="branchoverdues.pl?action=remove&amp;borrowernumber=[% todayoverduesloo.borrowernumber %]&amp;itemnumber=[% todayoverduesloo.itemnumber %]&amp;method=phone&amp;location=[% todayoverduesloo.location %]">Cancel notification</a>
103
                        <a href="branchoverdues.pl?action=remove&borrowernumber=[% todayoverduesloo.borrowernumber %]&itemnumber=[% todayoverduesloo.itemnumber %]&method=phone&location=[% todayoverduesloo.location %]">[% t('Cancel notification') %]</a>
103
                        </td>
104
                        </td>
104
                    </tr>
105
                    </tr>
105
                [% END %]
106
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt (-33 / +34 lines)
Lines 1-36 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE ItemTypes %]
4
[% USE ItemTypes %]
4
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Circulation &rsaquo; Transfers</title>
7
<title>[% t('Koha › Circulation › Transfers') %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
9
</head>
9
<body id="circ_branchtransfers" class="circ">
10
<body id="circ_branchtransfers" class="circ">
10
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'circ-search.inc' %]
12
[% INCLUDE 'circ-search.inc' %]
12
13
13
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Transfers</div>
14
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> [% t('› Transfers') %]</div>
14
15
15
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
16
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
16
   <div id="bd">
17
   <div id="bd">
17
<div id="yui-main">
18
<div id="yui-main">
18
[% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
19
[% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
19
[% IF ( found ) %]
20
[% IF ( found ) %]
20
   <div class="yui-g"> <h3>Reserve found</h3>
21
   <div class="yui-g"> <h3>[% t('Reserve found') %]</h3>
21
    <table>
22
    <table>
22
        <caption>
23
        <caption>
23
            [% IF ( reserved ) %]
24
            [% IF ( reserved ) %]
24
                Reserve found for [% name %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowernumber %]</a>).
25
                [% t('Reserve found for') %] [% name %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowernumber %]</a>).
25
            [% END %]
26
            [% END %]
26
            [% IF ( waiting ) %]
27
            [% IF ( waiting ) %]
27
                Item is marked waiting at [% branchname %] for [% name %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowernumber %]</a>).
28
                [% t('Item is marked waiting at') %] [% branchname %] [% t('for') %] [% name %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowernumber %]</a>).
28
            [% END %]
29
            [% END %]
29
        </caption>
30
        </caption>
30
        <tr>
31
        <tr>
31
            <th>
32
            <th>
32
                [% IF ( reserved ) %]Set reserve to waiting and transfer book to [% branchname %]: [% END %]
33
                [% IF ( reserved ) %][% t('Set reserve to waiting and transfer book to') %] [% branchname %]: [% END %]
33
                [% IF ( waiting ) %]Cancel reservation and then attempt transfer: [% END %]
34
                [% IF ( waiting ) %][% t('Cancel reservation and then attempt transfer:') %] [% END %]
34
            </th>
35
            </th>
35
            <td>
36
            <td>
36
                <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
37
                <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
Lines 55-61 Link Here
55
        </tr>
56
        </tr>
56
            [% IF ( reserved ) %]
57
            [% IF ( reserved ) %]
57
                <tr>
58
                <tr>
58
                    <th>Cancel reservation and then attempt transfer:</th>
59
                    <th>[% t('Cancel reservation and then attempt transfer:') %]</th>
59
                    <td>
60
                    <td>
60
                        <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
61
                        <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
61
                            [% FOREACH trsfitemloo IN trsfitemloop %]
62
                            [% FOREACH trsfitemloo IN trsfitemloop %]
Lines 74-80 Link Here
74
                </tr>
75
                </tr>
75
            [% END %]
76
            [% END %]
76
                <tr>
77
                <tr>
77
                    <th>Ignore and return to transfers: </th>
78
                    <th>[% t('Ignore and return to transfers:') %] </th>
78
                        <td>
79
                        <td>
79
                            <form method="post" name="mainform" id="mainform" action="branchtransfers.pl" />
80
                            <form method="post" name="mainform" id="mainform" action="branchtransfers.pl" />
80
                                <input type="hidden" name="tobranchcd" value="[% tobranchcd %]" />
81
                                <input type="hidden" name="tobranchcd" value="[% tobranchcd %]" />
Lines 95-104 Link Here
95
                     <div class="dialog message">
96
                     <div class="dialog message">
96
                        <ul>
97
                        <ul>
97
                         [% IF ( cancelled ) %]
98
                         [% IF ( cancelled ) %]
98
                             <li>Reserve cancelled</li>
99
                             <li>[% t('Reserve cancelled') %]</li>
99
                         [% END %]
100
                         [% END %]
100
                         [% IF ( setwaiting ) %]
101
                         [% IF ( setwaiting ) %]
101
                             <li>Item should now be waiting at library: [% reqbrchname %]</li>
102
                             <li>[% t('Item should now be waiting at library:') %] [% reqbrchname %]</li>
102
                         [% END %]
103
                         [% END %]
103
                         </ul>
104
                         </ul>
104
                    </div>
105
                    </div>
Lines 109-138 Link Here
109
                            <ul>
110
                            <ul>
110
                             [% FOREACH errmsgloo IN errmsgloop %]
111
                             [% FOREACH errmsgloo IN errmsgloop %]
111
                              [% IF ( errmsgloo.errbadcode ) %]
112
                              [% IF ( errmsgloo.errbadcode ) %]
112
                                  <li>No Item with barcode: [% errmsgloo.msg | html %]</li>
113
                                  <li>[% t('No Item with barcode:') %] [% errmsgloo.msg | html %]</li>
113
                              [% END %]
114
                              [% END %]
114
                              [% IF ( errmsgloo.errispermanent ) %]
115
                              [% IF ( errmsgloo.errispermanent ) %]
115
                                  <li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) %]</li>
116
                                  <li>[% t('Please return item to home library:') %] [% Branches.GetName( errmsgloo.msg ) %]</li>
116
                              [% END %]
117
                              [% END %]
117
                              [% IF ( errmsgloo.errnotallowed ) %]
118
                              [% IF ( errmsgloo.errnotallowed ) %]
118
                                  <li>Transfer is not allowed for:
119
                                  <li>[% t('Transfer is not allowed for:') %]
119
                                      <ol>
120
                                      <ol>
120
                                          [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
121
                                          [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
121
                                              <li>Item type: <b>[% ItemTypes.GetDescription( errmsgloo.code ) %]</b></li>
122
                                              <li>[% t('Item type:') %] <b>[% ItemTypes.GetDescription( errmsgloo.code ) %]</b></li>
122
                                          [% ELSE %]
123
                                          [% ELSE %]
123
                                              <li>Collection code: <b>[% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) %]</b></li>
124
                                              <li>[% t('Collection code:') %] <b>[% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) %]</b></li>
124
                                          [% END %]
125
                                          [% END %]
125
                                          <li>Destination library: <b>[% Branches.GetName( errmsgloo.tbr ) %]</b></li>
126
                                          <li>[% t('Destination library:') %] <b>[% Branches.GetName( errmsgloo.tbr ) %]</b></li>
126
                                      </ol>
127
                                      </ol>
127
                                  </li>
128
                                  </li>
128
                              [% END %]
129
                              [% END %]
129
                              [% IF ( errmsgloo.errdesteqholding ) %]
130
                              [% IF ( errmsgloo.errdesteqholding ) %]
130
                                  <li>Item is already at destination library.</li>
131
                                  <li>[% t('Item is already at destination library.') %]</li>
131
                              [% END %]
132
                              [% END %]
132
                              [% IF ( errmsgloo.errwasreturned ) %]
133
                              [% IF ( errmsgloo.errwasreturned ) %]
133
                                  <li>Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% errmsgloo.patron.borrowernumber %]">
134
                                  <li>[% t('Item was on loan to') %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% errmsgloo.patron.borrowernumber %]">
134
                                  [% errmsgloo.patron.firstname %] [% errmsgloo.patron.surname %]
135
                                  [% errmsgloo.patron.firstname %] [% errmsgloo.patron.surname %]
135
                                  ([% errmsgloo.patron.cardnumber %])</a> and has been returned.</li>
136
                                  ([% errmsgloo.patron.cardnumber %])</a> [% t('and has been returned.') %]</li>
136
                              [% END %]
137
                              [% END %]
137
                          [% END %]
138
                          [% END %]
138
                          </ul>
139
                          </ul>
Lines 142-157 Link Here
142
<div id="branchtransfers">
143
<div id="branchtransfers">
143
    <form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
144
    <form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
144
        <fieldset class="brief">
145
        <fieldset class="brief">
145
            <legend>Transfer</legend>
146
            <legend>[% t('Transfer') %]</legend>
146
            <ol>
147
            <ol>
147
			<li>
148
			<li>
148
                <label for="tobranchcd">Destination library: </label>
149
                <label for="tobranchcd">[% t('Destination library:') %] </label>
149
                    <select name="tobranchcd" id="tobranchcd">
150
                    <select name="tobranchcd" id="tobranchcd">
150
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd ) %]
151
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd ) %]
151
                    </select>
152
                    </select>
152
            </li>
153
            </li>
153
            <li>
154
            <li>
154
                <label for="barcode">Enter barcode: </label>
155
                <label for="barcode">[% t('Enter barcode:') %] </label>
155
                <input name="barcode" id="barcode" size="15" class="focus" /> <input type="submit" value="Submit" />
156
                <input name="barcode" id="barcode" size="15" class="focus" /> <input type="submit" value="Submit" />
156
            </li>
157
            </li>
157
			</ol>
158
			</ol>
Lines 168-189 Link Here
168
    [% IF ( trsfitemloop ) %]
169
    [% IF ( trsfitemloop ) %]
169
        <div class="yui-g">
170
        <div class="yui-g">
170
		<table>
171
		<table>
171
            <caption>Transferred items</caption>
172
            <caption>[% t('Transferred items') %]</caption>
172
            <tr>
173
            <tr>
173
                <th class="tf-title">Title</th>
174
                <th class="tf-title">[% t('Title') %]</th>
174
                <th class="tf-author">Author</th>
175
                <th class="tf-author">[% t('Author') %]</th>
175
                <th class="tf-barcode">Barcode</th>
176
                <th class="tf-barcode">[% t('Barcode') %]</th>
176
                <th class="tf-location">Shelving location</th>
177
                <th class="tf-location">[% t('Shelving location') %]</th>
177
                <th class="tf-itemcallnumber">Call number</th>
178
                <th class="tf-itemcallnumber">[% t('Call number') %]</th>
178
                <th class="tf-itemtype">Item type</th>
179
                <th class="tf-itemtype">[% t('Item type') %]</th>
179
                <th class="tf-ccode">Collection code</th>
180
                <th class="tf-ccode">[% t('Collection code') %]</th>
180
                <th class="tf-destination">Destination</th>
181
                <th class="tf-destination">[% t('Destination') %]</th>
181
            </tr>
182
            </tr>
182
            [% FOREACH trsfitemloo IN trsfitemloop %]
183
            [% FOREACH trsfitemloo IN trsfitemloop %]
183
                <tr>
184
                <tr>
184
                    <td class="tf-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% trsfitemloo.biblionumber %]">[% trsfitemloo.title |html %]</a></td>
185
                    <td class="tf-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% trsfitemloo.biblionumber %]">[% trsfitemloo.title |html %]</a></td>
185
                    <td class="tf-author">[% trsfitemloo.author %]</td>
186
                    <td class="tf-author">[% trsfitemloo.author %]</td>
186
                    <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>
187
                    <td class="tf-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.biblionumber %]&itemnumber=[% trsfitemloo.itemnumber %]#item[% trsfitemloo.itemnumber %]">[% trsfitemloo.barcode %]</a></td>
187
                    <td class="tf-location">[% trsfitemloo.location %]</td>
188
                    <td class="tf-location">[% trsfitemloo.location %]</td>
188
                    <td class="tf-itemcallnumber">[% trsfitemloo.itemcallnumber %]</td>
189
                    <td class="tf-itemcallnumber">[% trsfitemloo.itemcallnumber %]</td>
189
                    <td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.itemtype ) %]</td>
190
                    <td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.itemtype ) %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt (-34 / +29 lines)
Lines 1-41 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Circulation</title>
5
<title>[% t('Koha › Circulation') %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
7
</head>
7
<body id="circ_circulation-home" class="circ">
8
<body id="circ_circulation-home" class="circ">
8
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'circ-search.inc' %]
10
[% INCLUDE 'circ-search.inc' %]
10
11
11
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Circulation</div>
12
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> [% t('› Circulation') %]</div>
12
13
13
    <div class="main container-fluid">
14
    <div class="main container-fluid">
14
15
15
        <div class="row">
16
        <div class="row">
16
17
17
            <div class="col-sm-5 col-md-4">
18
            <div class="col-sm-5 col-md-4">
18
                <h3>Circulation</h3>
19
                <h3>[% t('Circulation') %]</h3>
19
20
20
                <ul class="buttons-list">
21
                <ul class="buttons-list">
21
                    <li>
22
                    <li>
22
                        <a class="circ-button" href="/cgi-bin/koha/circ/circulation.pl"><i class="fa fa-upload"></i> Check out</a>
23
                        <a class="circ-button" href="/cgi-bin/koha/circ/circulation.pl"><i class="fa fa-upload"></i> [% t('Check out') %]</a>
23
                    </li>
24
                    </li>
24
                    <li>
25
                    <li>
25
                        <a class="circ-button" href="/cgi-bin/koha/circ/returns.pl"><i class="fa fa-download"></i> Check in</a>
26
                        <a class="circ-button" href="/cgi-bin/koha/circ/returns.pl"><i class="fa fa-download"></i> [% t('Check in') %]</a>
26
                    </li>
27
                    </li>
27
                    <li>
28
                    <li>
28
                        <a class="circ-button" href="/cgi-bin/koha/circ/renew.pl"><i class="fa fa-retweet"></i> Renew</a>
29
                        <a class="circ-button" href="/cgi-bin/koha/circ/renew.pl"><i class="fa fa-retweet"></i> [% t('Renew') %]</a>
29
                    </li>
30
                    </li>
30
                    [% UNLESS IndependentBranches %]
31
                    [% UNLESS IndependentBranches %]
31
                        <li>
32
                        <li>
32
                            <a class="circ-button" href="/cgi-bin/koha/circ/selectbranchprinter.pl"><i class="fa fa-home"></i> Set library</a>
33
                            <a class="circ-button" href="/cgi-bin/koha/circ/selectbranchprinter.pl"><i class="fa fa-home"></i> [% t('Set library') %]</a>
33
                        </li>
34
                        </li>
34
                    [% END %]
35
                    [% END %]
35
                    [% IF ( fast_cataloging ) %]
36
                    [% IF ( fast_cataloging ) %]
36
                        [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
37
                        [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
37
                            <li>
38
                            <li>
38
                                <a class="circ-button" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"><i class="fa fa-plus"></i> Fast cataloging</a>
39
                                <a class="circ-button" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"><i class="fa fa-plus"></i> [% t('Fast cataloging') %]</a>
39
                            </li>
40
                            </li>
40
                        [% END %]
41
                        [% END %]
41
                    [% END %]
42
                    [% END %]
Lines 43-62 Link Here
43
            </div>
44
            </div>
44
45
45
            <div class="col-sm-5 col-md-4">
46
            <div class="col-sm-5 col-md-4">
46
                <h3>Holds</h3>
47
                <h3>[% t('Holds') %]</h3>
47
48
48
                <ul class="buttons-list">
49
                <ul class="buttons-list">
49
                    <li>
50
                    <li>
50
                        <a class="circ-button" href="/cgi-bin/koha/circ/view_holdsqueue.pl"><i class="fa fa-tasks"></i> Holds queue</a>
51
                        <a class="circ-button" href="/cgi-bin/koha/circ/view_holdsqueue.pl"><i class="fa fa-tasks"></i> [% t('Holds queue') %]</a>
51
                    </li>
52
                    </li>
52
                    <li>
53
                    <li>
53
                        <a class="circ-button" href="/cgi-bin/koha/circ/pendingreserves.pl"><i class="fa fa-hand-grab-o"></i> Holds to pull</a>
54
                        <a class="circ-button" href="/cgi-bin/koha/circ/pendingreserves.pl"><i class="fa fa-hand-grab-o"></i> [% t('Holds to pull') %]</a>
54
                    </li>
55
                    </li>
55
                    <li>
56
                    <li>
56
                        <a class="circ-button" href="/cgi-bin/koha/circ/waitingreserves.pl"><i class="fa fa-calendar"></i> Holds awaiting pickup</a>
57
                        <a class="circ-button" href="/cgi-bin/koha/circ/waitingreserves.pl"><i class="fa fa-calendar"></i> [% t('Holds awaiting pickup') %]</a>
57
                    </li>
58
                    </li>
58
                    <li>
59
                    <li>
59
                        <a class="circ-button" href="/cgi-bin/koha/circ/reserveratios.pl"><i class="fa fa-line-chart"></i> Hold ratios</a>
60
                        <a class="circ-button" href="/cgi-bin/koha/circ/reserveratios.pl"><i class="fa fa-line-chart"></i> [% t('Hold ratios') %]</a>
60
                    </li>
61
                    </li>
61
                </ul>
62
                </ul>
62
            </div>
63
            </div>
Lines 66-112 Link Here
66
67
67
            <div class="col-sm-5 col-md-4">
68
            <div class="col-sm-5 col-md-4">
68
                [% IF Koha.Preference('ArticleRequests') %]
69
                [% IF Koha.Preference('ArticleRequests') %]
69
                    <h3>Patron request</h3>
70
                    <h3>[% t('Patron request') %]</h3>
70
                    <ul class="buttons-list">
71
                    <ul class="buttons-list">
71
                        <li>
72
                        <li>
72
                            <a class="circ-button" href="/cgi-bin/koha/circ/article-requests.pl" title="Article requests"><i class="fa fa-newspaper-o"></i> Article requests</a>
73
                            <a class="circ-button" href="/cgi-bin/koha/circ/article-requests.pl" title="[% t('Article requests') %]"><i class="fa fa-newspaper-o"></i> [% t('Article requests') %]</a>
73
                        </li>
74
                        </li>
74
                    </ul>
75
                    </ul>
75
                [% END %]
76
                [% END %]
76
77
77
                <h3>Transfers</h3>
78
                <h3>[% t('Transfers') %]</h3>
78
79
79
                <ul class="buttons-list">
80
                <ul class="buttons-list">
80
                    [% IF Branches.InIndependentBranchesMode %]
81
                    [% IF Branches.InIndependentBranchesMode %]
81
                        <li>
82
                        <li>
82
                            <a class="circ-button" href="/cgi-bin/koha/circ/branchtransfers.pl"><i class="fa fa-exchange"></i> Transfer</a>
83
                            <a class="circ-button" href="/cgi-bin/koha/circ/branchtransfers.pl"><i class="fa fa-exchange"></i> [% t('Transfer') %]</a>
83
                        </li>
84
                        </li>
84
                    [% END %]
85
                    [% END %]
85
                    <li>
86
                    <li>
86
                        <a class="circ-button" href="/cgi-bin/koha/circ/transferstoreceive.pl"><i class="fa fa-sign-in"></i> Transfers to receive</a>
87
                        <a class="circ-button" href="/cgi-bin/koha/circ/transferstoreceive.pl"><i class="fa fa-sign-in"></i> [% t('Transfers to receive') %]</a>
87
                    </li>
88
                    </li>
88
                </ul>
89
                </ul>
89
90
90
                <h3>Overdues</h3>
91
                <h3>[% t('Overdues') %]</h3>
91
92
92
                <ul class="buttons-list">
93
                <ul class="buttons-list">
93
                     [% IF ( CAN_user_circulate_overdues_report ) %]
94
                     [% IF ( CAN_user_circulate_overdues_report ) %]
94
                        <li>
95
                        <li>
95
                            <a class="circ-button"
96
                            <a class="circ-button" href="/cgi-bin/koha/circ/overdue.pl" title="[% t('Warning: This report is very resource intensive on systems with large numbers of overdue items.') %]"><i class="fa fa-clock-o"></i> [% t('Overdues') %]</a>
96
                                href="/cgi-bin/koha/circ/overdue.pl"
97
                                title="Warning: This report is very resource intensive on systems with large numbers of overdue items."
98
                            ><i class="fa fa-clock-o"></i> Overdues</a>
99
                        </li>
97
                        </li>
100
                    [% END %]
98
                    [% END %]
101
                    <li>
99
                    <li>
102
                        <a class="circ-button"
100
                        <a class="circ-button" href="/cgi-bin/koha/circ/branchoverdues.pl" title="[% t('Limited to your library.') %]  [% t('See report help for other details.') %]"><i class="fa fa-clock-o"></i> [% t('Overdues with fines') %]</a>
103
                            href="/cgi-bin/koha/circ/branchoverdues.pl"
104
                            title="Limited to your library.  See report help for other details."
105
                        ><i class="fa fa-clock-o"></i> Overdues with fines</a>
106
                    </li>
101
                    </li>
107
                    [% IF Koha.Preference('OnSiteCheckouts') %]
102
                    [% IF Koha.Preference('OnSiteCheckouts') %]
108
                        <li>
103
                        <li>
109
                            <a class="circ-button" href="/cgi-bin/koha/circ/on-site_checkouts.pl">Pending on-site checkouts</a>
104
                            <a class="circ-button" href="/cgi-bin/koha/circ/on-site_checkouts.pl">[% t('Pending on-site checkouts') %]</a>
110
                        </li>
105
                        </li>
111
                    [% END %]
106
                    [% END %]
112
                </ul>
107
                </ul>
Lines 119-135 Link Here
119
        </div>
114
        </div>
120
        <div class="row" id="offline-circulation">
115
        <div class="row" id="offline-circulation">
121
            <div class="col-md-12">
116
            <div class="col-md-12">
122
                <h4>Offline circulation</h4>
117
                <h4>[% t('Offline circulation') %]</h4>
123
                    <div class="col-sm-5 col-md-3">
118
                    <div class="col-sm-5 col-md-3">
124
                    [% IF (AllowOfflineCirculation) %]
119
                    [% IF (AllowOfflineCirculation) %]
125
                        <a href="/cgi-bin/koha/circ/offline.pl">Built-in offline circulation interface</a>
120
                        <a href="/cgi-bin/koha/circ/offline.pl">[% t('Built-in offline circulation interface') %]</a>
126
                    [% END %]
121
                    [% END %]
127
                       <p><a href="/cgi-bin/koha/offline_circ/process_koc.pl">Upload offline circulation file (.koc)</a></p>
122
                       <p><a href="/cgi-bin/koha/offline_circ/process_koc.pl">[% t('Upload offline circulation file (.koc)') %]</a></p>
128
                       <p><a href="/cgi-bin/koha/offline_circ/list.pl">Pending offline circulation actions</a></p>
123
                       <p><a href="/cgi-bin/koha/offline_circ/list.pl">[% t('Pending offline circulation actions') %]</a></p>
129
                    </div>
124
                    </div>
130
                    <div class="col-sm-5 col-md-3">
125
                    <div class="col-sm-5 col-md-3">
131
                    <p><a href="https://github.com/bywatersolutions/koha-offline-circulation/releases"><i class="fa fa-window-maximize"></i> Get desktop application</a></p>
126
                    <p><a href="https://github.com/bywatersolutions/koha-offline-circulation/releases"><i class="fa fa-window-maximize"></i> [% t('Get desktop application') %]</a></p>
132
                    <p><a href="https://addons.mozilla.org/[% lang %]/firefox/addon/koct/"><i class="fa fa-firefox"></i> Get Firefox add-on</a></p>
127
                    <p><a href="https://addons.mozilla.org/[% lang %]/firefox/addon/koct/"><i class="fa fa-firefox"></i> [% t('Get Firefox add-on') %]</a></p>
133
                    </div>
128
                    </div>
134
            </div>
129
            </div>
135
        </div>
130
        </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-175 / +176 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 10-18 Link Here
10
[% SET footerjs = 1 %]
11
[% SET footerjs = 1 %]
11
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
12
[% SET destination = "circ" %]
13
[% SET destination = "circ" %]
13
<title>Koha &rsaquo; Circulation
14
<title>[% t('Koha › Circulation') %]
14
[% IF patron %]
15
[% IF patron %]
15
  &rsaquo; Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
16
  [% t('› Checking out to') %] [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
16
[% END %]
17
[% END %]
17
</title>
18
</title>
18
[% INCLUDE 'doc-head-close.inc' %]
19
[% INCLUDE 'doc-head-close.inc' %]
Lines 24-34 Link Here
24
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'circ-search.inc' %]
26
[% INCLUDE 'circ-search.inc' %]
26
27
27
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo;
28
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> ›
28
[% IF patron %]
29
[% IF patron %]
29
    <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> &rsaquo; [% INCLUDE 'patron-title.inc' %]
30
    <a href="/cgi-bin/koha/circ/circulation.pl">[% t('Checkouts') %]</a> › [% INCLUDE 'patron-title.inc' %]
30
[% ELSE %]
31
[% ELSE %]
31
    <strong>Checkouts</strong>
32
    <strong>[% t('Checkouts') %]</strong>
32
[% END %]
33
[% END %]
33
</div>
34
</div>
34
[% IF ( $borrowers ) %]
35
[% IF ( $borrowers ) %]
Lines 50-81 Link Here
50
[% END %]
51
[% END %]
51
52
52
<!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
53
<!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
53
[% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% expiry | $KohaDates %]</div>[% END %]
54
[% IF ( was_renewed ) %]<div class="dialog message">[% t('Patron\'s account has been renewed until') %] [% expiry | $KohaDates %]</div>[% END %]
54
55
55
[% IF autoswitched %]
56
[% IF autoswitched %]
56
    <div id="autoswitched" class="dialog message">Patron was automatically switched by reading the patron card during checking out. Ensure you are working with the right patron.</div>
57
    <div id="autoswitched" class="dialog message">[% t('Patron was automatically switched by reading the patron card during checking out. Ensure you are working with the right patron.') %]</div>
57
[% END %]
58
[% END %]
58
59
59
[% IF additional_materials %]
60
[% IF additional_materials %]
60
    <div id="materials" class="dialog message">Note about the accompanying materials: <br />
61
    <div id="materials" class="dialog message">[% t('Note about the accompanying materials:') %] <br />
61
    [% additional_materials %]
62
    [% additional_materials %]
62
    </div>
63
    </div>
63
[% END %]
64
[% END %]
64
65
65
[% IF ( alert.ITEM_LOST ) %]
66
[% IF ( alert.ITEM_LOST ) %]
66
    <div class="dialog message">This item has been lost with a status of "[% alert.ITEM_LOST %]".</div>
67
    <div class="dialog message">[% t('This item has been lost with a status of &#34;') %][% alert.ITEM_LOST %]".</div>
67
[% END %]
68
[% END %]
68
69
69
[% IF ( alert.OTHER_CHARGES ) %]
70
[% IF ( alert.OTHER_CHARGES ) %]
70
    <div class="dialog message">The patron has unpaid charges for holds, rentals etc of [% alert.OTHER_CHARGES %]</div>
71
    <div class="dialog message">[% t('The patron has unpaid charges for holds, rentals etc of') %] [% alert.OTHER_CHARGES %]</div>
71
[% END %]
72
[% END %]
72
73
73
[% IF alert.HIGHHOLDS %]
74
[% IF alert.HIGHHOLDS %]
74
    <div class="dialog message">High demand item. <b>Loan period was not shortened due to override.</b> Shortened due date would have been [% alert.HIGHHOLDS.returndate %] ([% alert.HIGHHOLDS.duration %] days).</div>
75
    <div class="dialog message">[% t('High demand item.') %] <b>[% t('Loan period was not shortened due to override.') %]</b> [% t('Shortened due date would have been') %] [% alert.HIGHHOLDS.returndate %] ([% alert.HIGHHOLDS.duration %] [% t('days).') %]</div>
75
[% END %]
76
[% END %]
76
77
77
[% IF ( nopermission ) %]
78
[% IF ( nopermission ) %]
78
    <div class="dialog alert">Staff members are not allowed to discharge borrowers, nor borrowers to request a discharge.</div>
79
    <div class="dialog alert">[% t('Staff members are not allowed to discharge borrowers, nor borrowers to request a discharge.') %]</div>
79
[% END %]
80
[% END %]
80
81
81
[% IF ( NEEDSCONFIRMATION ) %]
82
[% IF ( NEEDSCONFIRMATION ) %]
Lines 83-197 Link Here
83
84
84
<div id="circ_needsconfirmation" class="dialog alert audio-alert-action">
85
<div id="circ_needsconfirmation" class="dialog alert audio-alert-action">
85
[% IF CAN_user_circulate_force_checkout %]
86
[% IF CAN_user_circulate_force_checkout %]
86
  <h3>Please confirm checkout</h3>
87
  <h3>[% t('Please confirm checkout') %]</h3>
87
[% ELSE %]
88
[% ELSE %]
88
  <h3>Cannot check out</h3>
89
  <h3>[% t('Cannot check out') %]</h3>
89
[% END %]
90
[% END %]
90
91
91
<ul>
92
<ul>
92
[%IF ( AGE_RESTRICTION ) %]
93
[%IF ( AGE_RESTRICTION ) %]
93
    <li>Age restriction [% AGE_RESTRICTION %].
94
    <li>[% t('Age restriction') %] [% AGE_RESTRICTION %].
94
      [% IF CAN_user_circulate_force_checkout %]
95
      [% IF CAN_user_circulate_force_checkout %]
95
        Check out anyway?
96
        [% t('Check out anyway?') %]
96
      [% END %]
97
      [% END %]
97
    </li>
98
    </li>
98
[% END %]
99
[% END %]
99
100
100
[% IF ( DEBT ) %]
101
[% IF ( DEBT ) %]
101
    <li>The patron has a debt of [% DEBT | $Price %].</li>
102
    <li>[% t('The patron has a debt of') %] [% DEBT | $Price %].</li>
102
[% END %]
103
[% END %]
103
104
104
[% IF ( DEBT_GUARANTEES ) %]
105
[% IF ( DEBT_GUARANTEES ) %]
105
    <li>The patron's guarantees collectively have a debt of [% DEBT_GUARANTEES | $Price %].</li>
106
    <li>[% t('The patron\'s guarantees collectively have a debt of') %] [% DEBT_GUARANTEES | $Price %].</li>
106
[% END %]
107
[% END %]
107
108
108
[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %]
109
[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %]
109
    <li>Rental charge for this item: [% RENTALCHARGE %]</li>
110
    <li>[% t('Rental charge for this item:') %] [% RENTALCHARGE %]</li>
110
[% END %]
111
[% END %]
111
112
112
[% IF ( RENEW_ISSUE ) %]
113
[% IF ( RENEW_ISSUE ) %]
113
    <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is currently checked out to this patron.  Renew?</li>
114
    <li>[% t('Item') %] <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %][% t(') is currently checked out to this patron.') %]  [% t('Renew?') %]</li>
114
[% END %]
115
[% END %]
115
116
116
[% IF ( RESERVE_WAITING ) %]
117
[% IF ( RESERVE_WAITING ) %]
117
    <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) has been waiting for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber %]">[% resfirstname %] [% ressurname %]</a> ([% rescardnumber %]) at [% Branches.GetName( resbranchcode ) %] since [% reswaitingdate | $KohaDates %]</li>
118
    <li>[% t('Item') %] <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %][% t(') has been waiting for') %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber %]">[% resfirstname %] [% ressurname %]</a> ([% rescardnumber %][% t(') at') %] [% Branches.GetName( resbranchcode ) %] [% t('since') %] [% reswaitingdate | $KohaDates %]</li>
118
[% END %]
119
[% END %]
119
120
120
[% IF ( RESERVED ) %]
121
[% IF ( RESERVED ) %]
121
    <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) has been on hold for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber %]">[% resfirstname %] [% ressurname %]</a> ([% rescardnumber %]) at [% Branches.GetName( resbranchcode ) %] since [% resreservedate | $KohaDates %]</li>
122
    <li>[% t('Item') %] <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %][% t(') has been on hold for') %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber %]">[% resfirstname %] [% ressurname %]</a> ([% rescardnumber %][% t(') at') %] [% Branches.GetName( resbranchcode ) %] [% t('since') %] [% resreservedate | $KohaDates %]</li>
122
[% END %]
123
[% END %]
123
124
124
[% IF ( ISSUED_TO_ANOTHER ) %]
125
[% IF ( ISSUED_TO_ANOTHER ) %]
125
    <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber %]">[% issued_firstname %] [% issued_surname %]</a> ([% issued_cardnumber %]).
126
    <li>[% t('Item') %] <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %][% t(') is checked out to') %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber %]">[% issued_firstname %] [% issued_surname %]</a> ([% issued_cardnumber %]).
126
      [% IF CAN_user_circulate_force_checkout %]
127
      [% IF CAN_user_circulate_force_checkout %]
127
        Check in and check out?
128
        [% t('Check in and check out?') %]
128
      [% END %]
129
      [% END %]
129
    </li>
130
    </li>
130
[% END %]
131
[% END %]
131
132
132
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_CHECKOUTS' %]
133
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_CHECKOUTS' %]
133
    <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
134
    <li>[% t('Too many checked out.') %] [% current_loan_count %] [% t('checked out, only') %] [% max_loans_allowed %] [% t('are allowed.') %]</li>
134
[% END %]
135
[% END %]
135
136
136
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_ONSITE_CHECKOUTS' %]
137
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_ONSITE_CHECKOUTS' %]
137
    <li>Too many on-site checked out. [% current_loan_count %] on-site checked out, only [% max_loans_allowed %] are allowed.</li>
138
    <li>[% t('Too many on-site checked out.') %] [% current_loan_count %] [% t('on-site checked out, only') %] [% max_loans_allowed %] [% t('are allowed.') %]</li>
138
[% END %]
139
[% END %]
139
140
140
[% IF ( BORRNOTSAMEBRANCH ) %]
141
[% IF ( BORRNOTSAMEBRANCH ) %]
141
    <li>This patron is from a different library ([% Branches.GetName( BORRNOTSAMEBRANCH ) %])</li>
142
    <li>[% t('This patron is from a different library (') %][% Branches.GetName( BORRNOTSAMEBRANCH ) %])</li>
142
[% END %]
143
[% END %]
143
144
144
[% IF ( PATRON_CANT ) %]
145
[% IF ( PATRON_CANT ) %]
145
    <li>This patron can't check out this item per library circulation policy.</li>
146
    <li>[% t('This patron can\'t check out this item per library circulation policy.') %]</li>
146
[% END %]
147
[% END %]
147
148
148
[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %]
149
[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %]
149
    <li>No circulation rule is defined for this patron and itemtype combination.</li>
150
    <li>[% t('No circulation rule is defined for this patron and itemtype combination.') %]</li>
150
[% END %]
151
[% END %]
151
152
152
[% IF ( NOT_FOR_LOAN_FORCING ) %]
153
[% IF ( NOT_FOR_LOAN_FORCING ) %]
153
    <li>
154
    <li>
154
    [% IF ( itemtype_notforloan ) %]
155
    [% IF ( itemtype_notforloan ) %]
155
        Item type is normally not for loan.
156
        [% t('Item type is normally not for loan.') %]
156
    [% ELSIF ( item_notforloan ) %]
157
    [% ELSIF ( item_notforloan ) %]
157
        [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
158
        [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
158
        Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
159
        [% t('Item is normally not for loan') %] [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
159
    [% END %]
160
    [% END %]
160
      [% IF CAN_user_circulate_force_checkout %]
161
      [% IF CAN_user_circulate_force_checkout %]
161
        Check out anyway?
162
        [% t('Check out anyway?') %]
162
      [% END %]
163
      [% END %]
163
    </li>
164
    </li>
164
[% END %]
165
[% END %]
165
166
166
[% IF ( USERBLOCKEDOVERDUE ) %]
167
[% IF ( USERBLOCKEDOVERDUE ) %]
167
    <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
168
    <li>[% t('Patron has') %] [% USERBLOCKEDOVERDUE %] [% t('overdue item(s).') %]
168
      [% IF CAN_user_circulate_force_checkout %]
169
      [% IF CAN_user_circulate_force_checkout %]
169
       Check out anyway?
170
       [% t('Check out anyway?') %]
170
      [% END %]
171
      [% END %]
171
    </li>
172
    </li>
172
[% END %]
173
[% END %]
173
174
174
[% IF ( ITEM_LOST ) %]
175
[% IF ( ITEM_LOST ) %]
175
    <li>This item has been lost with a status of "[% ITEM_LOST %]".
176
    <li>[% t('This item has been lost with a status of &#34;') %][% ITEM_LOST %]".
176
      [% IF CAN_user_circulate_force_checkout %]
177
      [% IF CAN_user_circulate_force_checkout %]
177
        Check out anyway?
178
        [% t('Check out anyway?') %]
178
      [% END %]
179
      [% END %]
179
    </li>
180
    </li>
180
[% END %]
181
[% END %]
181
182
182
[% IF HIGHHOLDS %]
183
[% IF HIGHHOLDS %]
183
    <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li>
184
    <li>[% t('High demand item. Loan period shortened to') %] [% HIGHHOLDS.duration %] [% t('days (due') %] [% HIGHHOLDS.returndate %][% t('). Check out anyway?') %]</li>
184
[% END %]
185
[% END %]
185
186
186
[% IF PREVISSUE %]
187
[% IF PREVISSUE %]
187
    <li>Patron has previously checked out this title: <b>[% biblio.title %] [% IF biblio.author %] by [% biblio.author %][% END %]</b>. Check out anyway?</li>
188
    <li>[% t('Patron has previously checked out this title:') %] <b>[% biblio.title %] [% IF biblio.author %] [% t('by') %] [% biblio.author %][% END %]</b>[% t('. Check out anyway?') %]</li>
188
[% END %]
189
[% END %]
189
190
190
[% IF BIBLIO_ALREADY_ISSUED %]
191
[% IF BIBLIO_ALREADY_ISSUED %]
191
  <li>
192
  <li>
192
    Patron has already checked out another item from this record.
193
    [% t('Patron has already checked out another item from this record.') %]
193
    [% IF CAN_user_circulate_force_checkout %]
194
    [% IF CAN_user_circulate_force_checkout %]
194
      Check out anyway?
195
      [% t('Check out anyway?') %]
195
    [% END %]
196
    [% END %]
196
  </li>
197
  </li>
197
[% END %]
198
[% END %]
Lines 206-240 Link Here
206
[% IF HIGHHOLDS %]
207
[% IF HIGHHOLDS %]
207
    <p class="circ-override-high-holds">
208
    <p class="circ-override-high-holds">
208
    <input type="checkbox" name="override_high_holds_tmp" id="override_high_holds_tmp" value="1" />
209
    <input type="checkbox" name="override_high_holds_tmp" id="override_high_holds_tmp" value="1" />
209
    <label for="override_high_holds_tmp">Don't decrease loan length based on holds</label>
210
    <label for="override_high_holds_tmp">[% t('Don\'t decrease loan length based on holds') %]</label>
210
    </p>
211
    </p>
211
[% END %]
212
[% END %]
212
213
213
[% IF ( RESERVED ) %]
214
[% IF ( RESERVED ) %]
214
    <p>
215
    <p>
215
    <input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" />
216
    <input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" />
216
    <label for="cancelreserve">Cancel hold</label>
217
    <label for="cancelreserve">[% t('Cancel hold') %]</label>
217
    </p>
218
    </p>
218
[% END %]
219
[% END %]
219
220
220
[% IF ( RESERVE_WAITING ) %]
221
[% IF ( RESERVE_WAITING ) %]
221
<p>
222
<p>
222
    <label for="cancelreserve">Cancel hold</label>
223
    <label for="cancelreserve">[% t('Cancel hold') %]</label>
223
    <input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br />
224
    <input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br />
224
    <label for="revertreserve">Revert waiting status</label>
225
    <label for="revertreserve">[% t('Revert waiting status') %]</label>
225
    <input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/>
226
    <input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked" />
226
</p>
227
</p>
227
[% END %]
228
[% END %]
228
229
229
    <input type="hidden" name="barcode" value="[% barcode |html %]" />
230
    <input type="hidden" name="barcode" value="[% barcode |html %]" />
230
    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
231
    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
231
    <input type="hidden" name="issueconfirmed" value="1" />
232
    <input type="hidden" name="issueconfirmed" value="1" />
232
    <input type="hidden" name="override_high_holds" value="[% override_high_holds %]"/>
233
    <input type="hidden" name="override_high_holds" value="[% override_high_holds %]" />
233
    [% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %]
234
    [% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %]
234
    [% IF ( INVALID_DATE ) %]
235
    [% IF ( INVALID_DATE ) %]
235
    <p>
236
    <p>
236
    <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" />
237
    <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" />
237
    <label for="duedatespec">Due date</label>
238
    <label for="duedatespec">[% t('Due date') %]</label>
238
    </p>
239
    </p>
239
    [% ELSE %]
240
    [% ELSE %]
240
    <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
241
    <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
Lines 242-250 Link Here
242
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
243
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
243
    <input type="hidden" name="branch" value="[% branch %]" />
244
    <input type="hidden" name="branch" value="[% branch %]" />
244
    [% IF ( RENEW_ISSUE ) %]
245
    [% IF ( RENEW_ISSUE ) %]
245
    <button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button>
246
    <button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> [% t('Yes, renew (Y)') %]</button>
246
    [% ELSE %]
247
    [% ELSE %]
247
    <button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button>
248
    <button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> [% t('Yes, check out (Y)') %]</button>
248
    [% END %]
249
    [% END %]
249
    <input type="hidden" name="onsite_checkout" value="[% onsite_checkout %]" />
250
    <input type="hidden" name="onsite_checkout" value="[% onsite_checkout %]" />
250
    <input type="hidden" name="auto_renew" value="[% auto_renew %]" />
251
    <input type="hidden" name="auto_renew" value="[% auto_renew %]" />
Lines 257-263 Link Here
257
    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
258
    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
258
    <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
259
    <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
259
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
260
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
260
    <button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber %]&amp;biblionumber=[% itembiblionumber %]&amp;itemnumber=[% item.itemnumber %]&amp;op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button>
261
    <button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber %]&biblionumber=[% itembiblionumber %]&itemnumber=[% item.itemnumber %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> [% t('Don\'t check out and print slip (P)') %]</button>
261
</form>
262
</form>
262
[% END %]
263
[% END %]
263
264
Lines 267-273 Link Here
267
    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
268
    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
268
    <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
269
    <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
269
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
270
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
270
    <button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber %]&amp;biblionumber=[% itembiblionumber %]&amp;itemnumber=[% item.itemnumber %]&amp;op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button>
271
    <button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber %]&biblionumber=[% itembiblionumber %]&itemnumber=[% item.itemnumber %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> [% t('Don\'t check out and print slip (P)') %]</button>
271
</form>
272
</form>
272
[% END %]
273
[% END %]
273
274
Lines 279-296 Link Here
279
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
280
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
280
    [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
281
    [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
281
        [% IF ( RENEW_ISSUE ) %]
282
        [% IF ( RENEW_ISSUE ) %]
282
        <button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button>
283
        <button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> [% t('No, don\'t renew (N)') %]</button>
283
        [% ELSE %]
284
        [% ELSE %]
284
        <button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't check out (N)</button>
285
        <button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> [% t('No, don\'t check out (N)') %]</button>
285
        [% END %]
286
        [% END %]
286
    [% ELSE %]
287
    [% ELSE %]
287
        <button type="submit" class="deny"><i class="fa fa-times"></i> Continue</button>
288
        <button type="submit" class="deny"><i class="fa fa-times"></i> [% t('Continue') %]</button>
288
    [% END %]
289
    [% END %]
289
</form>
290
</form>
290
291
291
[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %]
292
[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %]
292
    [% UNLESS noissues %]
293
    [% UNLESS noissues %]
293
        <button type="submit" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber %]&borrowernumber=[% patron.borrowernumber %]'"><i class="fa fa-sticky-note-o"></i> Cancel checkout and place a hold for [% INCLUDE 'patron-title.inc' %]</button>
294
        <button type="submit" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber %]&borrowernumber=[% patron.borrowernumber %]'"><i class="fa fa-sticky-note-o"></i> [% t('Cancel checkout and place a hold for') %] [% INCLUDE 'patron-title.inc' %]</button>
294
    [% END %]
295
    [% END %]
295
[% END %]
296
[% END %]
296
</div></div>
297
</div></div>
Lines 301-333 Link Here
301
<div class="yui-g">
302
<div class="yui-g">
302
<div id="circ_impossible" class="dialog alert audio-alert-warning">
303
<div id="circ_impossible" class="dialog alert audio-alert-warning">
303
    [% IF ( UNKNOWN_BARCODE ) %]
304
    [% IF ( UNKNOWN_BARCODE ) %]
304
        <h3>Barcode not found</h3>
305
        <h3>[% t('Barcode not found') %]</h3>
305
    [% END %]
306
    [% END %]
306
<!-- RESULT OF ISSUING REQUEST -->
307
<!-- RESULT OF ISSUING REQUEST -->
307
        <ul>
308
        <ul>
308
        [% IF ( STATS ) %]
309
        [% IF ( STATS ) %]
309
            <li>Local use recorded</li>
310
            <li>[% t('Local use recorded') %]</li>
310
        [% END %]
311
        [% END %]
311
312
312
        [% IF ( INVALID_DATE ) %]
313
        [% IF ( INVALID_DATE ) %]
313
            <li>The due date &quot;[% INVALID_DATE %]&quot; is invalid</li>
314
            <li>[% t('The due date &#34;') %][% INVALID_DATE %][% t('&#34; is invalid') %]</li>
314
        [% END %]
315
        [% END %]
315
316
316
        [% IF ( UNKNOWN_BARCODE ) %]
317
        [% IF ( UNKNOWN_BARCODE ) %]
317
            <li>The barcode was not found: <span class="ex">[% barcode |html %]</span>
318
            <li>[% t('The barcode was not found:') %] <span class="ex">[% barcode |html %]</span>
318
319
319
                <div>
320
                <div>
320
                    [% IF ( FALLBACK ) %]
321
                    [% IF ( FALLBACK ) %]
321
                        [% IF options %]
322
                        [% IF options %]
322
                            <button type="button" class="approve" data-toggle="modal" data-target="#itemSearchFallback"><i class="fa fa-search"></i> Show matching titles</button>
323
                            <button type="button" class="approve" data-toggle="modal" data-target="#itemSearchFallback"><i class="fa fa-search"></i> [% t('Show matching titles') %]</button>
323
                        [% ELSE %]
324
                        [% ELSE %]
324
                            <div>No items were found by searching.</div>
325
                            <div>[% t('No items were found by searching.') %]</div>
325
                        [% END %]
326
                        [% END %]
326
                    [% END %]
327
                    [% END %]
327
328
328
                    [% IF ( fast_cataloging ) %]
329
                    [% IF ( fast_cataloging ) %]
329
                        [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
330
                        [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
330
                            <a class="approve" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&amp;barcode=[% barcode |uri %]&amp;circborrowernumber=[% patron.borrowernumber %]&amp;branch=[% branch %]&amp;duedatespec=[% duedatespec %]&amp;stickyduedate=[% stickyduedate %]"><i class="fa fa-plus"></i> Add record using fast cataloging</a>
331
                            <a class="approve" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% patron.borrowernumber %]&branch=[% branch %]&duedatespec=[% duedatespec %]&stickyduedate=[% stickyduedate %]"><i class="fa fa-plus"></i> [% t('Add record using fast cataloging') %]</a>
331
                        [% END %]
332
                        [% END %]
332
                    [% END %]
333
                    [% END %]
333
                </div>
334
                </div>
Lines 338-414 Link Here
338
        [% IF ( NOT_FOR_LOAN ) %]
339
        [% IF ( NOT_FOR_LOAN ) %]
339
            <li>
340
            <li>
340
            [% IF ( itemtype_notforloan ) %]
341
            [% IF ( itemtype_notforloan ) %]
341
                Item type not for loan.
342
                [% t('Item type not for loan.') %]
342
            [% ELSIF ( item_notforloan ) %]
343
            [% ELSIF ( item_notforloan ) %]
343
                [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
344
                [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
344
                Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
345
                [% t('Item not for loan') %] [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
345
            [% END %]
346
            [% END %]
346
            </li>
347
            </li>
347
        [% END %]
348
        [% END %]
348
349
349
        [% IF ( WTHDRAWN ) %]
350
        [% IF ( WTHDRAWN ) %]
350
            <li>Item has been withdrawn</li>
351
            <li>[% t('Item has been withdrawn') %]</li>
351
        [% END %]
352
        [% END %]
352
353
353
        [% IF ( RESTRICTED ) %]
354
        [% IF ( RESTRICTED ) %]
354
            <li>Item is restricted</li>
355
            <li>[% t('Item is restricted') %]</li>
355
        [% END %]
356
        [% END %]
356
357
357
        [% IF ( GNA ) %]
358
        [% IF ( GNA ) %]
358
            <li>Patron's address is in doubt</li>
359
            <li>[% t('Patron\'s address is in doubt') %]</li>
359
        [% END %]
360
        [% END %]
360
361
361
        [% IF ( CARD_LOST ) %]
362
        [% IF ( CARD_LOST ) %]
362
            <li>Patron's card is lost</li>
363
            <li>[% t('Patron\'s card is lost') %]</li>
363
        [% END %]
364
        [% END %]
364
365
365
        [% IF ( DEBARRED ) %]
366
        [% IF ( DEBARRED ) %]
366
            <li>Patron is restricted</li>
367
            <li>[% t('Patron is restricted') %]</li>
367
        [% END %]
368
        [% END %]
368
369
369
        [% IF ( NO_MORE_RENEWALS ) %]
370
        [% IF ( NO_MORE_RENEWALS ) %]
370
            <li>No more renewals possible</li>
371
            <li>[% t('No more renewals possible') %]</li>
371
        [% END %]
372
        [% END %]
372
373
373
        [% IF NO_RENEWAL_FOR_ONSITE_CHECKOUTS %]
374
        [% IF NO_RENEWAL_FOR_ONSITE_CHECKOUTS %]
374
            <li>This item can not be renewed, it's an on-site checkout</li>
375
            <li>[% t('This item can not be renewed, it\'s an on-site checkout') %]</li>
375
        [% END %]
376
        [% END %]
376
377
377
        [%IF ( AGE_RESTRICTION ) %]
378
        [%IF ( AGE_RESTRICTION ) %]
378
            <li>Age restriction [% AGE_RESTRICTION %].</li>
379
            <li>[% t('Age restriction') %] [% AGE_RESTRICTION %].</li>
379
        [% END %]
380
        [% END %]
380
381
381
        [% IF ( EXPIRED ) %]
382
        [% IF ( EXPIRED ) %]
382
            <li>Patron's card is expired</li>
383
            <li>[% t('Patron\'s card is expired') %]</li>
383
        [% END %]
384
        [% END %]
384
385
385
        [% IF ( TOO_MANY ) %]
386
        [% IF ( TOO_MANY ) %]
386
            <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
387
            <li>[% t('Too many checked out.') %] [% current_loan_count %] [% t('checked out, only') %] [% max_loans_allowed %] [% t('are allowed.') %]</li>
387
        [% END %]
388
        [% END %]
388
389
389
        [% IF ( ITEMNOTSAMEBRANCH ) %]
390
        [% IF ( ITEMNOTSAMEBRANCH ) %]
390
            <li>This item belongs to [% Branches.GetName( itemhomebranch ) %] and cannot be checked out from this location.</li>
391
            <li>[% t('This item belongs to') %] [% Branches.GetName( itemhomebranch ) %] [% t('and cannot be checked out from this location.') %]</li>
391
        [% END %]
392
        [% END %]
392
393
393
        [% IF RETURN_IMPOSSIBLE %]
394
        [% IF RETURN_IMPOSSIBLE %]
394
            <li>This item must be returned to [% Branches.GetName( branch_to_return ) %].</li>
395
            <li>[% t('This item must be returned to') %] [% Branches.GetName( branch_to_return ) %].</li>
395
        [% END %]
396
        [% END %]
396
397
397
        [% IF ( USERBLOCKEDWITHENDDATE ) %]
398
        [% IF ( USERBLOCKEDWITHENDDATE ) %]
398
            <li>Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].</li>
399
            <li>[% t('Patron has a restriction until') %] [% USERBLOCKEDWITHENDDATE | $KohaDates %].</li>
399
        [% END %]
400
        [% END %]
400
401
401
        [% IF ( USERBLOCKEDNOENDDATE ) %]
402
        [% IF ( USERBLOCKEDNOENDDATE ) %]
402
            <li>Patron has an indefinite restriction.</li>
403
            <li>[% t('Patron has an indefinite restriction.') %]</li>
403
        [% END %]
404
        [% END %]
404
405
405
        [% IF ( USERBLOCKEDOVERDUE ) %]
406
        [% IF ( USERBLOCKEDOVERDUE ) %]
406
            <li>Checkouts are BLOCKED because patron has overdue items.</li>
407
            <li>[% t('Checkouts are BLOCKED because patron has overdue items.') %]</li>
407
        [% END %]
408
        [% END %]
408
        </ul>
409
        </ul>
409
410
410
        [% IF (forceallow) %]
411
        [% IF (forceallow) %]
411
            <li>Restriction overridden temporarily.</li>
412
            <li>[% t('Restriction overridden temporarily.') %]</li>
412
        [% END %]
413
        [% END %]
413
414
414
</div></div>
415
</div></div>
Lines 421-428 Link Here
421
                    <div class="modal-dialog modal-wide" role="document">
422
                    <div class="modal-dialog modal-wide" role="document">
422
                        <div class="modal-content">
423
                        <div class="modal-content">
423
                            <div class="modal-header">
424
                            <div class="modal-header">
424
                                <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
425
                                <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
425
                                <h3 id="itemSearchFallbackLabel"><h3>Barcode not found. The following items were found by searching:</h3>
426
                                <h3 id="itemSearchFallbackLabel"><h3>[% t('Barcode not found. The following items were found by searching:') %]</h3>
426
                            </div>
427
                            </div>
427
                            <div class="modal-body">
428
                            <div class="modal-body">
428
                                <table class="table_borrowers">
429
                                <table class="table_borrowers">
Lines 443-449 Link Here
443
                                                    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
444
                                                    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
444
                                                    <input type="hidden" name="branch" value="[% branch %]" />
445
                                                    <input type="hidden" name="branch" value="[% branch %]" />
445
                                                    <input type="hidden" name="barcode" value="[% book.barcode %]" />
446
                                                    <input type="hidden" name="barcode" value="[% book.barcode %]" />
446
                                                    <button class="btn btn-default btn-xs" type="submit" name="x"><i class="fa fa-check"></i> Check out</button>
447
                                                    <button class="btn btn-default btn-xs" type="submit" name="x"><i class="fa fa-check"></i> [% t('Check out') %]</button>
447
                                                </form>
448
                                                </form>
448
                                            </td>
449
                                            </td>
449
                                        </tr>
450
                                        </tr>
Lines 451-457 Link Here
451
                                </table>
452
                                </table>
452
                            </div>
453
                            </div>
453
                            <div class="modal-footer">
454
                            <div class="modal-footer">
454
                                <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
455
                                <button type="button" class="btn btn-default" data-dismiss="modal">[% t('Cancel') %]</button>
455
                            </div>
456
                            </div>
456
                        </div>
457
                        </div>
457
                    </div>
458
                    </div>
Lines 461-480 Link Here
461
462
462
[% ELSE %]
463
[% ELSE %]
463
  [% IF (forceallow) %]
464
  [% IF (forceallow) %]
464
      <div id="overridden_debarment" class="dialog alert">Restriction overridden temporarily</div>
465
      <div id="overridden_debarment" class="dialog alert">[% t('Restriction overridden temporarily') %]</div>
465
  [% END %]
466
  [% END %]
466
[% END %] <!-- /impossible -->
467
[% END %] <!-- /impossible -->
467
468
468
<span class="audio-alert-success"></span>
469
<span class="audio-alert-success"></span>
469
470
470
[% IF ( issued ) %]
471
[% IF ( issued ) %]
471
<p>Item checked out</p>
472
<p>[% t('Item checked out') %]</p>
472
[% END %]
473
[% END %]
473
474
474
[% IF ( message ) %]
475
[% IF ( message ) %]
475
[% INCLUDE 'patron-toolbar.inc' %]
476
[% INCLUDE 'patron-toolbar.inc' %]
476
<h4>
477
<h4>
477
No patron matched <span class="ex">[% message | html %]</span>
478
[% t('No patron matched') %] <span class="ex">[% message | html %]</span>
478
</h4>
479
</h4>
479
[% END %]
480
[% END %]
480
481
Lines 492-498 No patron matched <span class="ex">[% message | html %]</span> Link Here
492
<div class="yui-g">
493
<div class="yui-g">
493
494
494
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
495
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
495
    <div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div>
496
    <div class="dialog alert"><strong>[% t('Error:') %]</strong> [% t('This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.') %]</div>
496
[% END %]
497
[% END %]
497
498
498
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
499
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
Lines 506-522 No patron matched <span class="ex">[% message | html %]</span> Link Here
506
    <fieldset id="circ_circulation_issue">
507
    <fieldset id="circ_circulation_issue">
507
[% END %]
508
[% END %]
508
    [% IF ( DisplayClearScreenButton ) %]
509
    [% IF ( DisplayClearScreenButton ) %]
509
        <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span>
510
        <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="[% t('Clear screen') %]">[% t('x') %]</a></span>
510
    [% END %]
511
    [% END %]
511
512
512
    [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
513
    [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
513
514
514
    <label class="circ_barcode" for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
515
    <label class="circ_barcode" for="barcode">[% t('Checking out to') %] [% INCLUDE 'patron-title.inc' %]</label>
515
516
516
        [% IF Koha.Preference('itemBarcodeFallbackSearch') %]
517
        [% IF Koha.Preference('itemBarcodeFallbackSearch') %]
517
            <div class="hint">Enter item barcode or keyword:</div>
518
            <div class="hint">[% t('Enter item barcode or keyword:') %]</div>
518
        [% ELSE %]
519
        [% ELSE %]
519
            <div class="hint">Enter item barcode:</div>
520
            <div class="hint">[% t('Enter item barcode:') %]</div>
520
        [% END %]
521
        [% END %]
521
522
522
    [% IF NEEDSCONFIRMATION %]
523
    [% IF NEEDSCONFIRMATION %]
Lines 524-533 No patron matched <span class="ex">[% message | html %]</span> Link Here
524
    [% ELSE %]
525
    [% ELSE %]
525
        <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
526
        <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
526
    [% END %]
527
    [% END %]
527
    <button type="submit" class="btn btn-default">Check out</button>
528
    <button type="submit" class="btn btn-default">[% t('Check out') %]</button>
528
529
529
    <div id="show-checkout-settings">
530
    <div id="show-checkout-settings">
530
        <a href="#"><i class="fa fa-caret-right checkout-settings-icon"></i> Checkout settings</a>
531
        <a href="#"><i class="fa fa-caret-right checkout-settings-icon"></i> [% t('Checkout settings') %]</a>
531
    </div>
532
    </div>
532
533
533
    <div class="checkout-settings">
534
    <div class="checkout-settings">
Lines 535-553 No patron matched <span class="ex">[% message | html %]</span> Link Here
535
        [% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
536
        [% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
536
            [% IF ( SpecifyDueDate ) %]
537
            [% IF ( SpecifyDueDate ) %]
537
                <div id="specify-due-date" class="checkout-setting">
538
                <div id="specify-due-date" class="checkout-setting">
538
                    <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
539
                    <div class="hint">[% t('Specify due date') %] [% INCLUDE 'date-format.inc' %]: </div>
539
                    [% IF ( duedatespec ) %]
540
                    [% IF ( duedatespec ) %]
540
                        <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" />
541
                        <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" />
541
                    [% ELSE %]
542
                    [% ELSE %]
542
                        <input type="text" size="13" id="duedatespec" name="duedatespec" value="" />
543
                        <input type="text" size="13" id="duedatespec" name="duedatespec" value="" />
543
                    [% END %]
544
                    [% END %]
544
                    <label for="stickyduedate"> Remember for session:</label>
545
                    <label for="stickyduedate"> [% t('Remember for session:') %]</label>
545
                    [% IF ( stickyduedate ) %]
546
                    [% IF ( stickyduedate ) %]
546
                        <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
547
                        <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
547
                    [% ELSE %]
548
                    [% ELSE %]
548
                        <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
549
                        <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
549
                    [% END %]
550
                    [% END %]
550
                    <button class="btn btn-default btn-sm action" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" >Clear</button>
551
                    <button class="btn btn-default btn-sm action" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;">[% t('Clear') %]</button>
551
                </div>
552
                </div>
552
            [% END %]
553
            [% END %]
553
        [% END %]
554
        [% END %]
Lines 560-574 No patron matched <span class="ex">[% message | html %]</span> Link Here
560
                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" />
561
                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" />
561
                [% END %]
562
                [% END %]
562
563
563
                <label for="auto_renew">Automatic renewal</label>
564
                <label for="auto_renew">[% t('Automatic renewal') %]</label>
564
            </div>
565
            </div>
565
            [% IF Koha.Preference('decreaseLoanHighHolds') %]
566
            [% IF Koha.Preference('decreaseLoanHighHolds') %]
566
                <div id="set_high_holds_overrride" class="checkout-setting">
567
                <div id="set_high_holds_overrride" class="checkout-setting">
567
                    [% IF NEEDSCONFIRMATION %]
568
                    [% IF NEEDSCONFIRMATION %]
568
                        [% IF override_high_holds %]
569
                        [% IF override_high_holds %]
569
                            <input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" checked="checked"/>
570
                            <input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" checked="checked" />
570
                        [% ELSE %]
571
                        [% ELSE %]
571
                            <input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled"/>
572
                            <input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" />
572
                        [% END %]
573
                        [% END %]
573
                    [% ELSE %]
574
                    [% ELSE %]
574
                        [% IF override_high_holds %]
575
                        [% IF override_high_holds %]
Lines 577-583 No patron matched <span class="ex">[% message | html %]</span> Link Here
577
                            <input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" class="circ_setting" />
578
                            <input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" class="circ_setting" />
578
                        [% END %]
579
                        [% END %]
579
                    [% END %]
580
                    [% END %]
580
                    <label for="override_high_holds">Don't decrease checkout length based on holds</label>
581
                    <label for="override_high_holds">[% t('Don\'t decrease checkout length based on holds') %]</label>
581
                </div>
582
                </div>
582
            [% END %]
583
            [% END %]
583
        [% END %]
584
        [% END %]
Lines 586-597 No patron matched <span class="ex">[% message | html %]</span> Link Here
586
            <div id="onsite_checkout-select" class="checkout-setting">
587
            <div id="onsite_checkout-select" class="checkout-setting">
587
                [% IF noissues %]
588
                [% IF noissues %]
588
                    <div class="onsite-checkout-only">
589
                    <div class="onsite-checkout-only">
589
                        <input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkouts only. Automatic due date: </label>
590
                        <input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">[% t('On-site checkouts only. Automatic due date:') %] </label>
590
                        <input type="text" name="duedatespec" id="duedatespec" />
591
                        <input type="text" name="duedatespec" id="duedatespec" />
591
                        <input type="hidden" name="onsite_checkout" checked="checked" value="1" />
592
                        <input type="hidden" name="onsite_checkout" checked="checked" value="1" />
592
                    </div>
593
                    </div>
593
                [% ELSE %]
594
                [% ELSE %]
594
                    <input type="checkbox" id="onsite_checkout" name="onsite_checkout" class="circ_setting" /> <label for="onsite_checkout">On-site checkout</label>
595
                    <input type="checkbox" id="onsite_checkout" name="onsite_checkout" class="circ_setting" /> <label for="onsite_checkout">[% t('On-site checkout') %]</label>
595
                [% END %]
596
                [% END %]
596
            </div>
597
            </div>
597
        [% END %]
598
        [% END %]
Lines 608-614 No patron matched <span class="ex">[% message | html %]</span> Link Here
608
</fieldset>
609
</fieldset>
609
[% IF ( issue ) %]
610
[% IF ( issue ) %]
610
    <div class="lastchecked">
611
    <div class="lastchecked">
611
        <p><strong>Checked out: </strong>[% issue.item.biblioitemnumber.biblionumber.title %] ([% issue.item.barcode %]). Due on [% issue.date_due | $KohaDates %]</p>
612
        <p><strong>[% t('Checked out:') %] </strong>[% issue.item.biblioitemnumber.biblionumber.title %] ([% issue.item.barcode %][% t('). Due on') %] [% issue.date_due | $KohaDates %]</p>
612
    </div>
613
    </div>
613
[% END %]
614
[% END %]
614
</form></div>
615
</form></div>
Lines 629-714 No patron matched <span class="ex">[% message | html %]</span> Link Here
629
            [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
630
            [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
630
                <div id="circmessages" class="circmessage attention">
631
                <div id="circmessages" class="circmessage attention">
631
            [% ELSE %]
632
            [% ELSE %]
632
                <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
633
                <h4>[% t('Checking out to') %] [% INCLUDE 'patron-title.inc' %]</h4>
633
                <div id="circmessages" class="circmessage warning">
634
                <div id="circmessages" class="circmessage warning">
634
            [% END %]
635
            [% END %]
635
            <h3>
636
            <h3>
636
                Cannot check out!
637
                [% t('Cannot check out!') %]
637
                [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
638
                [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
638
                    <span class="circ-hlt">Only on-site checkouts are allowed</span>
639
                    <span class="circ-hlt">[% t('Only on-site checkouts are allowed') %]</span>
639
                [% END %]
640
                [% END %]
640
            </h3>
641
            </h3>
641
        [% ELSE %]
642
        [% ELSE %]
642
            <div id="circmessages" class="circmessage attention">
643
            <div id="circmessages" class="circmessage attention">
643
                <h3>Attention:</h3>
644
                <h3>[% t('Attention:') %]</h3>
644
        [% END %]
645
        [% END %]
645
646
646
		<ul>
647
		<ul>
647
648
648
                   [% IF ( has_modifications ) %]
649
                   [% IF ( has_modifications ) %]
649
                    <li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications.
650
                    <li><span class="circ-hlt">[% t('Pending modifications:') %]</span> [% t('Patron has pending modifications.') %]
650
                            [% IF CAN_user_borrowers_edit_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %]
651
                            [% IF CAN_user_borrowers_edit_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %]
651
                                    <a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a>
652
                                    <a href="/cgi-bin/koha/members/members-update.pl">[% t('View all pending patron modifications') %]</a>
652
                            [% END %]
653
                            [% END %]
653
                   </li>
654
                   </li>
654
                  [% END %]
655
                  [% END %]
655
656
656
			[% IF ( warndeparture ) %]
657
			[% IF ( warndeparture ) %]
657
			<li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
658
			<li><span class="circ-hlt">[% t('Expiration:') %]</span> [% t('Patron\'s card will expire soon.') %]
658
            Patron's card expires on [% expiry | $KohaDates %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber %]&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber %]&amp;categorycode=[% categorycode %]">Edit Details</a>
659
            [% t('Patron\'s card expires on') %] [% expiry | $KohaDates %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber %]&destination=circ&reregistration=y">[% t('Renew') %]</a> [% t('or') %] <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber %]&categorycode=[% categorycode %]">[% t('Edit Details') %]</a>
659
660
660
			</li>
661
			</li>
661
			[% END %]
662
			[% END %]
662
663
663
			[% IF ( returnbeforeexpiry ) %]
664
			[% IF ( returnbeforeexpiry ) %]
664
			 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
665
			 <li><span class="circ-hlt">[% t('Set due date to expiry:') %]</span> [% t('You have the ReturnBeforeExpiry system preference enabled this means if the') %]
665
			 expiry date is before the date due, the date due will be set to the expiry date
666
			 [% t('expiry date is before the date due, the date due will be set to the expiry date') %]
666
			 </li>
667
			 </li>
667
			[% END %]
668
			[% END %]
668
669
669
			[% IF ( expired ) %]
670
			[% IF ( expired ) %]
670
			<li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
671
			<li><span class="circ-hlt">[% t('Expiration:') %]</span> [% t('Patron\'s card has expired.') %]
671
            [% IF ( expiry ) %]Patron's card expired on [% expiry | $KohaDates %][% END %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber %]&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber %]&amp;categorycode=[% categorycode %]">Edit Details</a>
672
            [% IF ( expiry ) %][% t('Patron\'s card expired on') %] [% expiry | $KohaDates %][% END %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber %]&destination=circ&reregistration=y">[% t('Renew') %]</a> [% t('or') %] <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber %]&categorycode=[% categorycode %]">[% t('Edit Details') %]</a>
672
673
673
			</li>
674
			</li>
674
			[% END %]
675
			[% END %]
675
676
676
            [% IF ( gna ) %]
677
            [% IF ( gna ) %]
677
			<li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
678
			<li class="blocker"><span class="circ-hlt">[% t('Address:') %]</span> [% t('Patron\'s address in doubt') %]</li>
678
			[% END %]
679
			[% END %]
679
680
680
            [% IF ( lost ) %]
681
            [% IF ( lost ) %]
681
			<li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
682
			<li class="blocker"><span class="circ-hlt">[% t('Lost:') %] </span>[% t('Patron\'s card is lost') %]</li>
682
			[% END %]
683
			[% END %]
683
684
684
            [% IF ( userdebarred ) %]
685
            [% IF ( userdebarred ) %]
685
               <li class="blocker">
686
               <li class="blocker">
686
                   <span class="circ-hlt"> Restricted:</span> Patron's account is restricted
687
                   <span class="circ-hlt"> [% t('Restricted:') %]</span> [% t('Patron\'s account is restricted') %]
687
688
688
                   [% IF ( userdebarreddate ) %]
689
                   [% IF ( userdebarreddate ) %]
689
                       until [% userdebarreddate | $KohaDates %]
690
                       [% t('until') %] [% userdebarreddate | $KohaDates %]
690
                   [% END %]
691
                   [% END %]
691
692
692
                   [% IF ( debarredcomment ) %]
693
                   [% IF ( debarredcomment ) %]
693
                       with the explanation: <br/><i>
694
                       [% t('with the explanation:') %] <br /><i>
694
			   [% IF debarredcomment.search('OVERDUES_PROCESS') %]
695
			   [% IF debarredcomment.search('OVERDUES_PROCESS') %]
695
	                       Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %]
696
	                       [% t('Restriction added by overdues process') %] [% debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %]
696
	                   [% ELSE %]
697
	                   [% ELSE %]
697
	                       [% debarredcomment | html_line_break %]
698
	                       [% debarredcomment | html_line_break %]
698
	                   [% END %]
699
	                   [% END %]
699
                    </i>
700
                    </i>
700
                   [% END %]
701
                   [% END %]
701
                   <br/>
702
                   <br />
702
                   <a class="btn btn-default btn-sm" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a>
703
                   <a class="btn btn-default btn-sm" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> [% t('View restrictions') %]</a>
703
                    [% IF (noissues && patron && CAN_user_circulate_force_checkout) %]
704
                    [% IF (noissues && patron && CAN_user_circulate_force_checkout) %]
704
                        <span class="override_debarment">
705
                        <span class="override_debarment">
705
                            <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&amp;borrowernumber=[% patron.borrowernumber %]" class="btn btn-default btn-sm">Override restriction temporarily</a>
706
                            <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% patron.borrowernumber %]" class="btn btn-default btn-sm">[% t('Override restriction temporarily') %]</a>
706
                        </span>
707
                        </span>
707
                    [% END %]
708
                    [% END %]
708
               </li>
709
               </li>
709
            [% END %]
710
            [% END %]
710
711
711
                [% IF ( odues ) %]<li><span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a></li>
712
                [% IF ( odues ) %]<li><span class="circ-hlt">[% t('Overdues: Patron has ITEMS OVERDUE.') %]</span> <a href="#checkouts">[% t('See highlighted items below') %]</a></li>
712
            [% END %]
713
            [% END %]
713
714
714
            [% IF ( charges ) %]
715
            [% IF ( charges ) %]
Lines 717-725 No patron matched <span class="ex">[% message | html %]</span> Link Here
717
718
718
            [% IF ( charges_guarantees ) %]
719
            [% IF ( charges_guarantees ) %]
719
                <li>
720
                <li>
720
                    <span class="circ-hlt">Fees &amp; Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %].
721
                    <span class="circ-hlt">[% t('Fees &amp; Charges:') %]</span> [% t('Patron\'s guarantees collectively owe') %] [% chargesamount_guarantees | $Price %].
721
                        [% IF noissues %]
722
                        [% IF noissues %]
722
                            <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
723
                            <span class="circ-hlt">[% t('Checkouts are BLOCKED because fine balance is OVER THE LIMIT.') %]</span>
723
                        [% END %]
724
                        [% END %]
724
                </li>
725
                </li>
725
            [% END %]
726
            [% END %]
Lines 727-733 No patron matched <span class="ex">[% message | html %]</span> Link Here
727
728
728
            [% IF ( credits ) %]
729
            [% IF ( credits ) %]
729
                <li>
730
                <li>
730
                    <span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount | $Price %][% END %]
731
                    <span class="circ-hlt">[% t('Credits:') %]</span> [% t('Patron has a credit') %][% IF ( creditsamount ) %] [% t('of') %] [% creditsamount | $Price %][% END %]
731
                </li>
732
                </li>
732
            [% END %]
733
            [% END %]
733
734
Lines 736-755 No patron matched <span class="ex">[% message | html %]</span> Link Here
736
737
737
            [% IF WaitingHolds.count %]
738
            [% IF WaitingHolds.count %]
738
                <div id="holdswaiting" class="circmessage">
739
                <div id="holdswaiting" class="circmessage">
739
                    <h4>Holds waiting:</h4>
740
                    <h4>[% t('Holds waiting:') %]</h4>
740
                    [% FOREACH w IN WaitingHolds %]
741
                    [% FOREACH w IN WaitingHolds %]
741
                        <ul>
742
                        <ul>
742
                            <li>
743
                            <li>
743
                                <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber %]">[% w.biblio.title | html %]</a>
744
                                <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber %]">[% w.biblio.title | html %]</a>
744
                                ([% ItemTypes.GetDescription( w.item.effective_itemtype ) %]),
745
                                ([% ItemTypes.GetDescription( w.item.effective_itemtype ) %]),
745
                                [% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %]
746
                                [% IF ( w.biblio.author ) %] [% t('by') %] [% w.biblio.author | html %] [% END %]
746
                                [% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber %]] [% END %]
747
                                [% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber %]] [% END %]
747
                                Hold placed on [% w.reservedate | $KohaDates %].
748
                                [% t('Hold placed on') %] [% w.reservedate | $KohaDates %].
748
749
749
                                <br/>
750
                                <br />
750
                                [% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode()  ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]
751
                                [% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode()  ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]
751
                                    [% SET expires_on = w.expirationdate %]
752
                                    [% SET expires_on = w.expirationdate %]
752
                                    Waiting at [% w.branch.branchname | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %]
753
                                    [% t('Waiting at') %] [% w.branch.branchname | html %] [% IF expires_on %] [% t('until') %] [% expires_on | $KohaDates %] [% END %]
753
                                </strong>
754
                                </strong>
754
                            </li>
755
                            </li>
755
                        </ul>
756
                        </ul>
Lines 759-765 No patron matched <span class="ex">[% message | html %]</span> Link Here
759
760
760
	[% IF ( notes ) %]
761
	[% IF ( notes ) %]
761
			<div id="circnotes" class="circmessage">
762
			<div id="circnotes" class="circmessage">
762
			<h4>Notes:</h4>
763
			<h4>[% t('Notes:') %]</h4>
763
            <p><span class="circ-hlt">[% notesmsg %]</span></p>
764
            <p><span class="circ-hlt">[% notesmsg %]</span></p>
764
			</div>
765
			</div>
765
766
Lines 767-773 No patron matched <span class="ex">[% message | html %]</span> Link Here
767
    <!-- /If notes -->[% END %]
768
    <!-- /If notes -->[% END %]
768
769
769
    <div id="messages" class="circmessage">
770
    <div id="messages" class="circmessage">
770
        <h4>Messages:</h4>
771
        <h4>[% t('Messages:') %]</h4>
771
        <ul>
772
        <ul>
772
            [% FOREACH message IN messages %]
773
            [% FOREACH message IN messages %]
773
                <li>
774
                <li>
Lines 784-795 No patron matched <span class="ex">[% message | html %]</span> Link Here
784
                        <i>"[% message.message | html %]"</i>
785
                        <i>"[% message.message | html %]"</i>
785
                    </span>
786
                    </span>
786
                    [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %]
787
                    [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %]
787
                        <a class="btn btn-link btn-sm" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id %]&amp;borrowernumber=[% message.borrowernumber %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> Delete</a>
788
                        <a class="btn btn-link btn-sm" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id %]&borrowernumber=[% message.borrowernumber %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> [% t('Delete') %]</a>
788
                    [% END %]
789
                    [% END %]
789
                </li>
790
                </li>
790
            [% END %]
791
            [% END %]
791
        </ul>
792
        </ul>
792
        <a id="addnewmessageLabel" href="#add_message_form" class="btn btn-link btn-sm" data-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a>
793
        <a id="addnewmessageLabel" href="#add_message_form" class="btn btn-link btn-sm" data-toggle="modal"><i class="fa fa-plus"></i> [% t('Add a new message') %]</a>
793
    </div>
794
    </div>
794
795
795
</div>
796
</div>
Lines 800-837 No patron matched <span class="ex">[% message | html %]</span> Link Here
800
<ul>
801
<ul>
801
    <li>
802
    <li>
802
        [% IF ( issuecount ) %]
803
        [% IF ( issuecount ) %]
803
            <a href="#checkouts">[% issuecount %] Checkout(s)</a>
804
            <a href="#checkouts">[% issuecount %] [% t('Checkout(s)') %]</a>
804
        [% ELSE %]
805
        [% ELSE %]
805
            <a href="#checkouts">0 Checkouts</a>
806
            <a href="#checkouts">[% t('0 Checkouts') %]</a>
806
        [% END %]
807
        [% END %]
807
    </li>
808
    </li>
808
809
809
    [% IF relatives_issues_count %]
810
    [% IF relatives_issues_count %]
810
        <li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li>
811
        <li><a id="relatives-issues-tab" href="#relatives-issues">[% t('Relatives\' checkouts') %]</a></li>
811
    [% END %]
812
    [% END %]
812
813
813
    <li>
814
    <li>
814
        [% IF ( holds_count ) %]
815
        [% IF ( holds_count ) %]
815
            <a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a>
816
            <a href="#reserves" id="holds-tab">[% holds_count %] [% t('Hold(s)') %]</a>
816
        [% ELSE %]
817
        [% ELSE %]
817
            <a href="#reserves" id="holds-tab">0 Holds</a>
818
            <a href="#reserves" id="holds-tab">[% t('0 Holds') %]</a>
818
        [% END %]
819
        [% END %]
819
    </li>
820
    </li>
820
821
821
    [% IF Koha.Preference('ArticleRequests') %]
822
    [% IF Koha.Preference('ArticleRequests') %]
822
        <li>
823
        <li>
823
            <a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count %] Article requests</a>
824
            <a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count %] [% t('Article requests') %]</a>
824
        </li>
825
        </li>
825
    [% END %]
826
    [% END %]
826
827
827
    <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.count %] Restrictions</a></li>
828
    <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.count %] [% t('Restrictions') %]</a></li>
828
829
829
    [% SET enrollments = patron.get_club_enrollments(1) %]
830
    [% SET enrollments = patron.get_club_enrollments(1) %]
830
    [% SET enrollable  = patron.get_enrollable_clubs(0,1) %]
831
    [% SET enrollable  = patron.get_enrollable_clubs(0,1) %]
831
    [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
832
    [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
832
        <li>
833
        <li>
833
            <a id="clubs-tab-link" href="#clubs-tab">
834
            <a id="clubs-tab-link" href="#clubs-tab">
834
                Clubs ([% enrollments.count %]/[% enrollable.count %])
835
                [% t('Clubs (') %][% enrollments.count %]/[% enrollable.count %])
835
            </a>
836
            </a>
836
        </li>
837
        </li>
837
    [% END %]
838
    [% END %]
Lines 847-864 No patron matched <span class="ex">[% message | html %]</span> Link Here
847
        <table id="relatives-issues-table">
848
        <table id="relatives-issues-table">
848
            <thead>
849
            <thead>
849
                <tr>
850
                <tr>
850
                    <th scope="col">Due date (unformatted, hidden)</th>
851
                    <th scope="col">[% t('Due date (unformatted, hidden)') %]</th>
851
                    <th scope="col">Due date</th>
852
                    <th scope="col">[% t('Due date') %]</th>
852
                    <th scope="col">Title</th>
853
                    <th scope="col">[% t('Title') %]</th>
853
                    <th scope="col">Item type</th>
854
                    <th scope="col">[% t('Item type') %]</th>
854
                    <th scope="col">Location</th>
855
                    <th scope="col">[% t('Location') %]</th>
855
                    <th scope="col">Checked out on</th>
856
                    <th scope="col">[% t('Checked out on') %]</th>
856
                    <th scope="col">Checked out from</th>
857
                    <th scope="col">[% t('Checked out from') %]</th>
857
                    <th scope="col">Call no</th>
858
                    <th scope="col">[% t('Call no') %]</th>
858
                    <th scope="col">Charge</th>
859
                    <th scope="col">[% t('Charge') %]</th>
859
                    <th scope="col">Fine</th>
860
                    <th scope="col">[% t('Fine') %]</th>
860
                    <th scope="col">Price</th>
861
                    <th scope="col">[% t('Price') %]</th>
861
                    <th scope="col">Patron</th>
862
                    <th scope="col">[% t('Patron') %]</th>
862
                </tr>
863
                </tr>
863
            </thead>
864
            </thead>
864
        </table>
865
        </table>
Lines 867-873 No patron matched <span class="ex">[% message | html %]</span> Link Here
867
868
868
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
869
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
869
    <div id="clubs-tab">
870
    <div id="clubs-tab">
870
        Loading...
871
        [% t('Loading...') %]
871
    </div>
872
    </div>
872
[% END %]
873
[% END %]
873
874
Lines 880-894 No patron matched <span class="ex">[% message | html %]</span> Link Here
880
        <table id="holds-table" style="width: 100% !Important;">
881
        <table id="holds-table" style="width: 100% !Important;">
881
            <thead>
882
            <thead>
882
                <tr>
883
                <tr>
883
                    <th>Hold date</th>
884
                    <th>[% t('Hold date') %]</th>
884
                    <th>Title</th>
885
                    <th>[% t('Title') %]</th>
885
                    <th>Call number</th>
886
                    <th>[% t('Call number') %]</th>
886
                    <th>Barcode</th>
887
                    <th>[% t('Barcode') %]</th>
887
                    <th>Pickup at</th>
888
                    <th>[% t('Pickup at') %]</th>
888
                    <th>Expiration</th>
889
                    <th>[% t('Expiration') %]</th>
889
                    <th>Priority</th>
890
                    <th>[% t('Priority') %]</th>
890
                    <th>Cancel?</th>
891
                    <th>[% t('Cancel?') %]</th>
891
                    <th>Suspend?</th>
892
                    <th>[% t('Suspend?') %]</th>
892
                </tr>
893
                </tr>
893
            </thead>
894
            </thead>
894
        </table>
895
        </table>
Lines 906-914 No patron matched <span class="ex">[% message | html %]</span> Link Here
906
            <input type="submit" value="Suspend all holds" />
907
            <input type="submit" value="Suspend all holds" />
907
908
908
            [% IF Koha.Preference('AutoResumeSuspendedHolds') %]
909
            [% IF Koha.Preference('AutoResumeSuspendedHolds') %]
909
            <label for="suspend_until">until</label>
910
            <label for="suspend_until">[% t('until') %]</label>
910
            <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker"/>
911
            <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
911
            <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
912
            <span class="hint">[% t('Specify date on which to resume') %] [% INCLUDE 'date-format.inc' %]: </span>
912
             [% END %]
913
             [% END %]
913
        </form>
914
        </form>
914
    </fieldset>
915
    </fieldset>
Lines 924-930 No patron matched <span class="ex">[% message | html %]</span> Link Here
924
    [% END # IF SuspendHoldsIntranet %]
925
    [% END # IF SuspendHoldsIntranet %]
925
926
926
[% ELSE %]
927
[% ELSE %]
927
	<p>Patron has nothing on hold.</p>
928
	<p>[% t('Patron has nothing on hold.') %]</p>
928
[% END %]
929
[% END %]
929
</div> <!-- reservesloop -->
930
</div> <!-- reservesloop -->
930
931
Lines 933-939 No patron matched <span class="ex">[% message | html %]</span> Link Here
933
[% END %]
934
[% END %]
934
935
935
[% ELSIF borrowernumber %]
936
[% ELSIF borrowernumber %]
936
    <div class="dialog message">This patron does not exist. <a href="/cgi-bin/koha/members/members-home.pl">Find another patron?</a></div>
937
    <div class="dialog message">[% t('This patron does not exist.') %] <a href="/cgi-bin/koha/members/members-home.pl">[% t('Find another patron?') %]</a></div>
937
[% END %]
938
[% END %]
938
</div></div>
939
</div></div>
939
[% END %]
940
[% END %]
Lines 961-971 No patron matched <span class="ex">[% message | html %]</span> Link Here
961
    <div class="modal-dialog">
962
    <div class="modal-dialog">
962
    <div class="modal-content">
963
    <div class="modal-content">
963
    <div class="modal-header">
964
    <div class="modal-header">
964
        <h3 id="barcodeSubmittedModalLabel">Barcode submitted</h3>
965
        <h3 id="barcodeSubmittedModalLabel">[% t('Barcode submitted') %]</h3>
965
    </div>
966
    </div>
966
967
967
    <div class="modal-body">
968
    <div class="modal-body">
968
        <p>You have already submitted a barcode, please wait for the checkout to process...</p>
969
        <p>[% t('You have already submitted a barcode, please wait for the checkout to process...') %]</p>
969
    </div>
970
    </div>
970
    </div>
971
    </div>
971
    </div>
972
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-58 / +59 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 6-14 Link Here
6
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
[% SET destination = "circ" %]
9
[% SET destination = "circ" %]
9
<title>Koha &rsaquo; Circulation
10
<title>[% t('Koha › Circulation') %]
10
[% IF patron %]
11
[% IF patron %]
11
  &rsaquo; Batch check out &rsaquo; Issuing items to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
12
  [% t('› Batch check out › Issuing items to') %] [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
12
[% END %]
13
[% END %]
13
</title>
14
</title>
14
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
Lines 20-30 Link Here
20
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'circ-search.inc' %]
22
[% INCLUDE 'circ-search.inc' %]
22
23
23
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo;
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> ›
24
    [% IF patron %]
25
    [% IF patron %]
25
        <a href="/cgi-bin/koha/circ/circulation.pl">Batch check out</a> &rsaquo; [% INCLUDE 'patron-title.inc' %]
26
        <a href="/cgi-bin/koha/circ/circulation.pl">[% t('Batch check out') %]</a> › [% INCLUDE 'patron-title.inc' %]
26
    [% ELSE %]
27
    [% ELSE %]
27
        Batch check out
28
        [% t('Batch check out') %]
28
    [% END %]
29
    [% END %]
29
</div>
30
</div>
30
<div id="doc3" class="yui-t2">
31
<div id="doc3" class="yui-t2">
Lines 40-76 Link Here
40
[% END %]
41
[% END %]
41
42
42
[% IF patron and not batch_allowed %]
43
[% IF patron and not batch_allowed %]
43
  <div class="dialog alert">You are not allowed to use batch checkout for this patron</div>
44
  <div class="dialog alert">[% t('You are not allowed to use batch checkout for this patron') %]</div>
44
[% ELSIF patron and noissues and not checkout_infos %]
45
[% ELSIF patron and noissues and not checkout_infos %]
45
  <div class="dialog alert">
46
  <div class="dialog alert">
46
    Cannot check out!
47
    [% t('Cannot check out!') %]
47
    [% IF charges %]
48
    [% IF charges %]
48
      <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
49
      <span class="circ-hlt">[% t('Checkouts are BLOCKED because fine balance is OVER THE LIMIT.') %]</span>
49
    [% END %]
50
    [% END %]
50
    [% IF charges_guarantees %]
51
    [% IF charges_guarantees %]
51
        <li>
52
        <li>
52
            <span class="circ-hlt">Fees &amp; Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %].
53
            <span class="circ-hlt">[% t('Fees &amp; Charges:') %]</span> [% t('Patron\'s guarantees collectively owe') %] [% chargesamount_guarantees | $Price %].
53
        </li>
54
        </li>
54
        <li>
55
        <li>
55
            <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
56
            <span class="circ-hlt">[% t('Checkouts are BLOCKED because fine balance is OVER THE LIMIT.') %]</span>
56
        </li>
57
        </li>
57
    [% END %]
58
    [% END %]
58
  </div>
59
  </div>
59
[% ELSIF patron and not checkout_infos %]
60
[% ELSIF patron and not checkout_infos %]
60
  <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl">
61
  <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl">
61
    <fieldset id="circ_circulation_issue">
62
    <fieldset id="circ_circulation_issue">
62
      <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
63
      <label for="barcode">[% t('Checking out to') %] [% INCLUDE 'patron-title.inc' %]</label>
63
      <fieldset class="rows">
64
      <fieldset class="rows">
64
        <legend>Use a file</legend>
65
        <legend>[% t('Use a file') %]</legend>
65
        <ol>
66
        <ol>
66
          <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
67
          <li><label for="uploadfile">[% t('File:') %] </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
67
        </ol>
68
        </ol>
68
      </fieldset>
69
      </fieldset>
69
      <fieldset class="rows">
70
      <fieldset class="rows">
70
        <legend>Or list barcodes one by one</legend>
71
        <legend>[% t('Or list barcodes one by one') %]</legend>
71
        <ol>
72
        <ol>
72
          <li>
73
          <li>
73
            <label for="barcodelist">Barcode list (one barcode per line): </label>
74
            <label for="barcodelist">[% t('Barcode list (one barcode per line):') %] </label>
74
            <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea>
75
            <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea>
75
          </li>
76
          </li>
76
        </ol>
77
        </ol>
Lines 87-96 Link Here
87
88
88
[% ELSIF patron %]
89
[% ELSIF patron %]
89
  [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
90
  [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
90
    <h3>Batch checkout confirmation [% IF patron %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h3>
91
    <h3>[% t('Batch checkout confirmation') %] [% IF patron %] [% t('for') %] [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h3>
91
    <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
92
    <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
92
  [% ELSE %]
93
  [% ELSE %]
93
    <h3>Batch checkout information [% IF patron.borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] |[% batch %]|[% END %]</h3>
94
    <h3>[% t('Batch checkout information') %] [% IF patron.borrowernumber %] [% t('for') %] [% INCLUDE 'patron-title.inc' invert_name = 1 %] |[% batch %]|[% END %]</h3>
94
  [% END %]
95
  [% END %]
95
    <table id="checkout_infos">
96
    <table id="checkout_infos">
96
      <thead>
97
      <thead>
Lines 98-106 Link Here
98
          [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
99
          [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
99
            <th class="NoSort"></th>
100
            <th class="NoSort"></th>
100
          [% END %]
101
          [% END %]
101
          <th>Barcode</th>
102
          <th>[% t('Barcode') %]</th>
102
          <th class="anti-the">Title</th>
103
          <th class="anti-the">[% t('Title') %]</th>
103
          <th>Information</th>
104
          <th>[% t('Information') %]</th>
104
        </tr>
105
        </tr>
105
      </thead>
106
      </thead>
106
      <tbody>
107
      <tbody>
Lines 115-168 Link Here
115
            [% END %]
116
            [% END %]
116
            <td>[% checkout_info.barcode %]</td>
117
            <td>[% checkout_info.barcode %]</td>
117
            <td>
118
            <td>
118
              <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout_info.biblio.biblionumber %]&amp;type=intra"><strong>[% checkout_info.biblio.title |html %][% FOREACH subtitle IN checkout_info.biblio.subtitles %] [% subtitle.subfield %][% END %]</strong></a>[% IF checkout_info.biblio.author %], by [% checkout_info.biblio.author %][% END %][% IF ( checkout_info.item.itemnotes ) %]- <span class="circ-hlt">[% checkout_info.item.itemnotes %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout_info.biblio.biblionumber %]&amp;itemnumber=[% checkout_info.item.itemnumber %]#item[% checkout_info.item.itemnumber %]">[% checkout_info.item.barcode %]</a>
119
              <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout_info.biblio.biblionumber %]&type=intra"><strong>[% checkout_info.biblio.title |html %][% FOREACH subtitle IN checkout_info.biblio.subtitles %] [% subtitle.subfield %][% END %]</strong></a>[% IF checkout_info.biblio.author %][% t(', by') %] [% checkout_info.biblio.author %][% END %][% IF ( checkout_info.item.itemnotes ) %]- <span class="circ-hlt">[% checkout_info.item.itemnotes %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout_info.biblio.biblionumber %]&itemnumber=[% checkout_info.item.itemnumber %]#item[% checkout_info.item.itemnumber %]">[% checkout_info.item.barcode %]</a>
119
            </td>
120
            </td>
120
            <td>
121
            <td>
121
              [% IF checkout_info.NEEDSCONFIRMATION %]
122
              [% IF checkout_info.NEEDSCONFIRMATION %]
122
                <ul class="fa-ul warn">
123
                <ul class="fa-ul warn">
123
                  [% IF checkout_info.AGE_RESTRICTION %]
124
                  [% IF checkout_info.AGE_RESTRICTION %]
124
                      <li><i class="fa fa-li fa-warning"></i>Age restriction [% checkout_info.AGE_RESTRICTION %].</li>
125
                      <li><i class="fa fa-li fa-warning"></i>[% t('Age restriction') %] [% checkout_info.AGE_RESTRICTION %].</li>
125
                  [% END %]
126
                  [% END %]
126
                  [% IF checkout_info.RENEW_ISSUE %]
127
                  [% IF checkout_info.RENEW_ISSUE %]
127
                      <li><i class="fa fa-li fa-warning"></i>This item is currently checked out to this patron. Renew?</li>
128
                      <li><i class="fa fa-li fa-warning"></i>[% t('This item is currently checked out to this patron. Renew?') %]</li>
128
                  [% END %]
129
                  [% END %]
129
                  [% IF checkout_info.RESERVE_WAITING %]
130
                  [% IF checkout_info.RESERVE_WAITING %]
130
                      <li><i class="fa fa-li fa-warning"></i>This item is waiting for another patron.</li>
131
                      <li><i class="fa fa-li fa-warning"></i>[% t('This item is waiting for another patron.') %]</li>
131
                  [% END %]
132
                  [% END %]
132
                  [% IF checkout_info.RESERVED %]
133
                  [% IF checkout_info.RESERVED %]
133
                      <li><i class="fa fa-li fa-warning"></i>This item is on hold for another patron.</li>
134
                      <li><i class="fa fa-li fa-warning"></i>[% t('This item is on hold for another patron.') %]</li>
134
                  [% END %]
135
                  [% END %]
135
                  [% IF checkout_info.ISSUED_TO_ANOTHER %]
136
                  [% IF checkout_info.ISSUED_TO_ANOTHER %]
136
                      <li><i class="fa fa-li fa-warning"></i>This item is checked out to another patron.
137
                      <li><i class="fa fa-li fa-warning"></i>[% t('This item is checked out to another patron.') %]
137
                    [% IF CAN_user_circulate_force_checkout %]
138
                    [% IF CAN_user_circulate_force_checkout %]
138
                      Check in and check out?
139
                      [% t('Check in and check out?') %]
139
                      [% END %]</li>
140
                      [% END %]</li>
140
                  [% END %]
141
                  [% END %]
141
                  [% IF checkout_info.TOO_MANY %]
142
                  [% IF checkout_info.TOO_MANY %]
142
                      <li><i class="fa fa-li fa-warning"></i>Too many checked out.</li>
143
                      <li><i class="fa fa-li fa-warning"></i>[% t('Too many checked out.') %]</li>
143
                  [% END %]
144
                  [% END %]
144
                  [% IF checkout_info.BORRNOTSAMEBRANCH %]
145
                  [% IF checkout_info.BORRNOTSAMEBRANCH %]
145
                      <li><i class="fa fa-li fa-warning"></i>This patron is from a different library ([% Branches.GetName( checkout_info.BORRNOTSAMEBRANCH ) %]).</li>
146
                      <li><i class="fa fa-li fa-warning"></i>[% t('This patron is from a different library (') %][% Branches.GetName( checkout_info.BORRNOTSAMEBRANCH ) %]).</li>
146
                  [% END %]
147
                  [% END %]
147
                  [% IF checkout_ino.PATRON_CANT %]
148
                  [% IF checkout_ino.PATRON_CANT %]
148
                      <li><i class="fa fa-li fa-warning"></i>This patron can't check out this item per library circulation policy.</li>
149
                      <li><i class="fa fa-li fa-warning"></i>[% t('This patron can\'t check out this item per library circulation policy.') %]</li>
149
                  [% END %]
150
                  [% END %]
150
                  [% IF checkout_info.NOT_FOR_LOAN_FORCING %]
151
                  [% IF checkout_info.NOT_FOR_LOAN_FORCING %]
151
                    [% IF checkout_info.itemtype_notforloan %]
152
                    [% IF checkout_info.itemtype_notforloan %]
152
                        <li><i class="fa fa-li fa-warning"></i>Item type is normally not for loan.</li>
153
                        <li><i class="fa fa-li fa-warning"></i>[% t('Item type is normally not for loan.') %]</li>
153
                    [% ELSIF checkout_info.item_notforloan %]
154
                    [% ELSIF checkout_info.item_notforloan %]
154
                      [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
155
                      [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
155
                        <li><i class="fa fa-li fa-warning"></i>Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib %])[% END %].</li>
156
                        <li><i class="fa fa-li fa-warning"></i>[% t('Item is normally not for loan') %] [% IF item_notforloan_lib %]([% item_notforloan_lib %])[% END %].</li>
156
                    [% END %]
157
                    [% END %]
157
                  [% END %]
158
                  [% END %]
158
                  [% IF checkout_info.USERBLOCKEDOVERDUE %]
159
                  [% IF checkout_info.USERBLOCKEDOVERDUE %]
159
                      <li><i class="fa fa-li fa-warning"></i>Patron has [% checkout_info.USERBLOCKEDOVERDUE %] overdue item(s).</li>
160
                      <li><i class="fa fa-li fa-warning"></i>[% t('Patron has') %] [% checkout_info.USERBLOCKEDOVERDUE %] [% t('overdue item(s).') %]</li>
160
                  [% END %]
161
                  [% END %]
161
                  [% IF checkout_info.ITEM_LOST %]
162
                  [% IF checkout_info.ITEM_LOST %]
162
                      <li><i class="fa fa-li fa-warning"></i>This item has been lost with a status of "[% checkout_info.ITEM_LOST %]."</li>
163
                      <li><i class="fa fa-li fa-warning"></i>[% t('This item has been lost with a status of &#34;') %][% checkout_info.ITEM_LOST %]."</li>
163
                  [% END %]
164
                  [% END %]
164
                  [% IF checkout_info.HIGHHOLDS %]
165
                  [% IF checkout_info.HIGHHOLDS %]
165
                      <li><i class="fa fa-li fa-warning"></i>High demand item. Loan period shortened to [% checkout_info.HIGHHOLDS.duration %] days (due [% checkout_info.HIGHHOLDS.returndate %]).</li>
166
                      <li><i class="fa fa-li fa-warning"></i>[% t('High demand item. Loan period shortened to') %] [% checkout_info.HIGHHOLDS.duration %] [% t('days (due') %] [% checkout_info.HIGHHOLDS.returndate %]).</li>
166
                  [% END %]
167
                  [% END %]
167
                  [% IF checkout_info.HIGHHOLDS %] <!-- FIXME -->
168
                  [% IF checkout_info.HIGHHOLDS %] <!-- FIXME -->
168
                      <script type="text/javascript">
169
                      <script type="text/javascript">
Lines 174-185 Link Here
174
175
175
                  [% IF NOT checkout_info.IMPOSSIBLE && ( CAN_user_circulate_force_checkout or checkout_info.HIGHHOLDS ) %]
176
                  [% IF NOT checkout_info.IMPOSSIBLE && ( CAN_user_circulate_force_checkout or checkout_info.HIGHHOLDS ) %]
176
                      [% IF checkout_info.RESERVED || checkout_info.RESERVE_WAITING %] <!-- arbitrary choice, revert the reserve is not possible-->
177
                      [% IF checkout_info.RESERVED || checkout_info.RESERVE_WAITING %] <!-- arbitrary choice, revert the reserve is not possible-->
177
                        <li><i class="fa fa-li fa-warning"></i>This item is on hold for another patron. The hold will be overridden, but not cancelled.</li>
178
                        <li><i class="fa fa-li fa-warning"></i>[% t('This item is on hold for another patron. The hold will be overridden, but not cancelled.') %]</li>
178
                      [% END %]
179
                      [% END %]
179
                  [% END %]
180
                  [% END %]
180
181
181
                  [% IF checkout_info.PREVISSUE %]
182
                  [% IF checkout_info.PREVISSUE %]
182
                      <li>This item has previously been checked out to this patron.</li>
183
                      <li>[% t('This item has previously been checked out to this patron.') %]</li>
183
                  [% END %]
184
                  [% END %]
184
                </ul>
185
                </ul>
185
              [% END %]
186
              [% END %]
Lines 188-197 Link Here
188
              [% IF checkout_info.alert.ITEM_LOST || checkout_info.alert.OTHER_CHARGES %]
189
              [% IF checkout_info.alert.ITEM_LOST || checkout_info.alert.OTHER_CHARGES %]
189
                <ul class="info">
190
                <ul class="info">
190
                  [% IF checkout_info.alert.ITEM_LOST %]
191
                  [% IF checkout_info.alert.ITEM_LOST %]
191
                      <li>This item has been lost with a status of "[% checkout_info.alert.ITEM_LOST %]."</li>
192
                      <li>[% t('This item has been lost with a status of &#34;') %][% checkout_info.alert.ITEM_LOST %]."</li>
192
                  [% END %]
193
                  [% END %]
193
                  [% IF checkout_info.alert.OTHER_CHARGES %]
194
                  [% IF checkout_info.alert.OTHER_CHARGES %]
194
                      <li>The patron has unpaid charges for holds, rentals etc of [% checkout_info.alert.OTHER_CHARGES %].</li>
195
                      <li>[% t('The patron has unpaid charges for holds, rentals etc of') %] [% checkout_info.alert.OTHER_CHARGES %].</li>
195
                  [% END %]
196
                  [% END %]
196
                </ul>
197
                </ul>
197
              [% END %]
198
              [% END %]
Lines 200-260 Link Here
200
              [% IF checkout_info.IMPOSSIBLE %]
201
              [% IF checkout_info.IMPOSSIBLE %]
201
                <ul class="fa-ul error">
202
                <ul class="fa-ul error">
202
                  [% IF checkout_info.STATS  %]
203
                  [% IF checkout_info.STATS  %]
203
                      <li><i class="fa fa-li fa-exclamation"></i>Local use recorded.</li>
204
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Local use recorded.') %]</li>
204
                  [% END %]
205
                  [% END %]
205
206
206
                  [% IF checkout_info.NOT_FOR_LOAN %]
207
                  [% IF checkout_info.NOT_FOR_LOAN %]
207
                    [% IF checkout_info.itemtype_notforloan %]
208
                    [% IF checkout_info.itemtype_notforloan %]
208
                       <li><i class="fa fa-li fa-exclamation"></i>Item type not for loan.</li>
209
                       <li><i class="fa fa-li fa-exclamation"></i>[% t('Item type not for loan.') %]</li>
209
                    [% ELSIF checkout_info.item_notforloan %]
210
                    [% ELSIF checkout_info.item_notforloan %]
210
                      [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
211
                      [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
211
                        <li><i class="fa fa-li fa-exclamation"></i>Item not for loan [% IF checkout_info.item_notforloan_lib %]([% checkout_info.item_notforloan_lib %])[% END %].</li>
212
                        <li><i class="fa fa-li fa-exclamation"></i>[% t('Item not for loan') %] [% IF checkout_info.item_notforloan_lib %]([% checkout_info.item_notforloan_lib %])[% END %].</li>
212
                    [% END %]
213
                    [% END %]
213
                  [% END %]
214
                  [% END %]
214
                  [% IF checkout_info.WTHDRAWN %]
215
                  [% IF checkout_info.WTHDRAWN %]
215
                      <li><i class="fa fa-li fa-exclamation"></i>Item has been withdrawn.</li>
216
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Item has been withdrawn.') %]</li>
216
                  [% END %]
217
                  [% END %]
217
                  [% IF checkout_info.RESTRICTED %]
218
                  [% IF checkout_info.RESTRICTED %]
218
                      <li><i class="fa fa-li fa-exclamation"></i>Item is restricted.</li>
219
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Item is restricted.') %]</li>
219
                  [% END %]
220
                  [% END %]
220
                  [% IF checkout_info.GNA %]
221
                  [% IF checkout_info.GNA %]
221
                      <li><i class="fa fa-li fa-exclamation"></i>Patron's address is in doubt.</li>
222
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Patron\'s address is in doubt.') %]</li>
222
                  [% END %]
223
                  [% END %]
223
                  [% IF checkout_info.CARD_LOST %]
224
                  [% IF checkout_info.CARD_LOST %]
224
                      <li><i class="fa fa-li fa-exclamation"></i>Patron's card is lost.</li>
225
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Patron\'s card is lost.') %]</li>
225
                  [% END %]
226
                  [% END %]
226
                  [% IF checkout_info.DEBARRED %]
227
                  [% IF checkout_info.DEBARRED %]
227
                      <li><i class="fa fa-li fa-exclamation"></i>Patron is restricted.</li>
228
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Patron is restricted.') %]</li>
228
                  [% END %]
229
                  [% END %]
229
                  [% IF checkout_info.NO_MORE_RENEWALS %]
230
                  [% IF checkout_info.NO_MORE_RENEWALS %]
230
                      <li><i class="fa fa-li fa-exclamation"></i>No more renewals possible.</li>
231
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('No more renewals possible.') %]</li>
231
                  [% END %]
232
                  [% END %]
232
                  [% IF checkout_info.EXPIRED %]
233
                  [% IF checkout_info.EXPIRED %]
233
                      <li><i class="fa fa-li fa-exclamation"></i>Patron's card is expired.</li>
234
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Patron\'s card is expired.') %]</li>
234
                  [% END %]
235
                  [% END %]
235
                  [% IF checkout_info.ITEMNOTSAMEBRANCH %]
236
                  [% IF checkout_info.ITEMNOTSAMEBRANCH %]
236
                      <li><i class="fa fa-li fa-exclamation"></i>This item belongs to [% Branches.GetName( checkout_info.itemhomebranch ) %] and cannot be checked out from this location.</li>
237
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('This item belongs to') %] [% Branches.GetName( checkout_info.itemhomebranch ) %] [% t('and cannot be checked out from this location.') %]</li>
237
                  [% END %]
238
                  [% END %]
238
                  [% IF checkout_info.USERBLOCKEDREMAINING %]
239
                  [% IF checkout_info.USERBLOCKEDREMAINING %]
239
                      <li><i class="fa fa-li fa-exclamation"></i>Patron has had overdue items and is blocked for [% checkout_info.USERBLOCKEDREMAINING %] day(s).</li>
240
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Patron has had overdue items and is blocked for') %] [% checkout_info.USERBLOCKEDREMAINING %] [% t('day(s).') %]</li>
240
                  [% END %]
241
                  [% END %]
241
                  [% IF checkout_info.USERBLOCKEDOVERDUE %]
242
                  [% IF checkout_info.USERBLOCKEDOVERDUE %]
242
                      <li><i class="fa fa-li fa-exclamation"></i>Checkouts are BLOCKED because patron has overdue items.</li>
243
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Checkouts are BLOCKED because patron has overdue items.') %]</li>
243
                  [% END %]
244
                  [% END %]
244
                  [% IF checkout_info.TOO_MANY %]
245
                  [% IF checkout_info.TOO_MANY %]
245
                      <li><i class="fa fa-li fa-exclamation"></i>Too many checked out.</li>
246
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('Too many checked out.') %]</li>
246
                  [% END %]
247
                  [% END %]
247
                  [% IF checkout_info.UNKNOWN_BARCODE %]
248
                  [% IF checkout_info.UNKNOWN_BARCODE %]
248
                      <li><i class="fa fa-li fa-exclamation"></i>The barcode was not found [% checkout_info.barcode |html %].</li>
249
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('The barcode was not found') %] [% checkout_info.barcode |html %].</li>
249
                  [% END %]
250
                  [% END %]
250
                  [% IF checkout_info.DEBT %]
251
                  [% IF checkout_info.DEBT %]
251
                      <li><i class="fa fa-li fa-exclamation"></i>The patron has a debt of [% checkout_info.DEBT | $Price %].</li> <!-- Need debt_confirmed -->
252
                      <li><i class="fa fa-li fa-exclamation"></i>[% t('The patron has a debt of') %] [% checkout_info.DEBT | $Price %].</li> <!-- Need debt_confirmed -->
252
                  [% END %]
253
                  [% END %]
253
                </p>
254
                </p>
254
              [% END %]
255
              [% END %]
255
256
256
              [% IF checkout_info.issue.date_due %]
257
              [% IF checkout_info.issue.date_due %]
257
                <li>Due on [% checkout_info.issue.date_due | $KohaDates %]</li>
258
                <li>[% t('Due on') %] [% checkout_info.issue.date_due | $KohaDates %]</li>
258
              [% END %]
259
              [% END %]
259
            </td>
260
            </td>
260
          </tr>
261
          </tr>
Lines 264-270 Link Here
264
265
265
    [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
266
    [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
266
        <fieldset>
267
        <fieldset>
267
            <legend>Please confirm checkout</legend>
268
            <legend>[% t('Please confirm checkout') %]</legend>
268
      <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
269
      <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
269
      <input type="hidden" name="issueconfirmed" value="1" />
270
      <input type="hidden" name="issueconfirmed" value="1" />
270
      <input type="hidden" name="debt_confirmed" value="1" />
271
      <input type="hidden" name="debt_confirmed" value="1" />
Lines 276-282 Link Here
276
    [% END %]
277
    [% END %]
277
278
278
[% ELSE %]
279
[% ELSE %]
279
    <div class="dialog message">This patron does not exist. <a href="/cgi-bin/koha/members/members-home.pl">Find another patron?</a></div>
280
    <div class="dialog message">[% t('This patron does not exist.') %] <a href="/cgi-bin/koha/members/members-home.pl">[% t('Find another patron?') %]</a></div>
280
[% END %]
281
[% END %]
281
282
282
</div>
283
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline-mf.tt (-34 / +35 lines)
Lines 1-39 Link Here
1
CACHE MANIFEST
1
[% PROCESS 'i18n.inc' %]
2
[% t('CACHE MANIFEST') %]
2
# [% cookie %]
3
# [% cookie %]
3
4
4
# Explicitly cached 'master entries'.
5
[% t('# Explicitly cached \'master entries\'.') %]
5
CACHE:
6
[% t('CACHE:') %]
6
/cgi-bin/koha/circ/offline.pl
7
[% t('/cgi-bin/koha/circ/offline.pl') %]
7
[% interface %]/lib/bootstrap/bootstrap.min.css
8
[% interface %][% t('/lib/bootstrap/bootstrap.min.css') %]
8
[% interface %]/lib/bootstrap/bootstrap-theme.min.css
9
[% interface %][% t('/lib/bootstrap/bootstrap-theme.min.css') %]
9
[% interface %]/lib/bootstrap/bootstrap.min.js
10
[% interface %][% t('/lib/bootstrap/bootstrap.min.js') %]
10
[% interface %]/lib/jquery/images/ui-icons_222222_256x240.png
11
[% interface %][% t('/lib/jquery/images/ui-icons_222222_256x240.png') %]
11
[% interface %]/lib/jquery/images/ui-icons_454545_256x240.png
12
[% interface %][% t('/lib/jquery/images/ui-icons_454545_256x240.png') %]
12
[% interface %]/lib/jquery/jquery-ui-1.11.4.min.css
13
[% interface %][% t('/lib/jquery/jquery-ui-1.11.4.min.css') %]
13
[% interface %]/lib/jquery/jquery-ui-1.11.4.min.js
14
[% interface %][% t('/lib/jquery/jquery-ui-1.11.4.min.js') %]
14
[% interface %]/lib/jquery/jquery-2.2.3.min.js
15
[% interface %][% t('/lib/jquery/jquery-2.2.3.min.js') %]
15
[% interface %]/lib/jquery/jquery-migrate-1.3.0.min.js
16
[% interface %][% t('/lib/jquery/jquery-migrate-1.3.0.min.js') %]
16
[% interface %]/lib/jquery/plugins/jquery.cookie.min.js
17
[% interface %][% t('/lib/jquery/plugins/jquery.cookie.min.js') %]
17
[% interface %]/lib/jquery/plugins/jquery.highlight-3.js
18
[% interface %][% t('/lib/jquery/plugins/jquery.highlight-3.js') %]
18
[% interface %]/lib/shortcut/shortcut.js
19
[% interface %][% t('/lib/shortcut/shortcut.js') %]
19
[% interface %]/lib/jquery/plugins/jquery.indexeddb.js
20
[% interface %][% t('/lib/jquery/plugins/jquery.indexeddb.js') %]
20
[% interface %]/lib/jquery/plugins/jquery.validate.min.js
21
[% interface %][% t('/lib/jquery/plugins/jquery.validate.min.js') %]
21
[% interface %]/[% theme %]/css/print.css
22
[% interface %]/[% theme %][% t('/css/print.css') %]
22
[% interface %]/[% theme %]/css/staff-global.css
23
[% interface %]/[% theme %][% t('/css/staff-global.css') %]
23
[% interface %]/[% theme %]/js/basket.js
24
[% interface %]/[% theme %][% t('/js/basket.js') %]
24
[% interface %]/[% theme %]/js/offlinecirc.js
25
[% interface %]/[% theme %][% t('/js/offlinecirc.js') %]
25
[% interface %]/[% theme %]/js/staff-global.js
26
[% interface %]/[% theme %][% t('/js/staff-global.js') %]
26
[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js
27
[% interface %][% t('/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js') %]
27
[% themelang %]/lib/yui/reset-fonts-grids.css
28
[% themelang %][% t('/lib/yui/reset-fonts-grids.css') %]
28
[% interface %]/prog/img/cart-small.gif
29
[% interface %][% t('/prog/img/cart-small.gif') %]
29
[% interface %]/prog/img/koha-logo-medium.gif
30
[% interface %][% t('/prog/img/koha-logo-medium.gif') %]
30
[% interface %]/prog/img/loading.gif
31
[% interface %][% t('/prog/img/loading.gif') %]
31
[% interface %]/prog/sound/beep.ogg
32
[% interface %][% t('/prog/sound/beep.ogg') %]
32
[% interface %]/prog/sound/critical.ogg
33
[% interface %][% t('/prog/sound/critical.ogg') %]
33
34
34
# Resources that require the user to be online.
35
[% t('# Resources that require the user to be online.') %]
35
NETWORK:
36
[% t('NETWORK:') %]
36
*
37
*
37
38
38
# Resources that can be substituted if the user is offline
39
[% t('# Resources that can be substituted if the user is offline') %]
39
FALLBACK:
40
[% t('FALLBACK:') %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt (-56 / +57 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
<!DOCTYPE html>
4
<!DOCTYPE html>
Lines 9-15 Link Here
9
[% ELSIF ( AllowOfflineCirculation ) %]<html lang="[% lang %]" manifest="/cgi-bin/koha/circ/offline-mf.pl">
10
[% ELSIF ( AllowOfflineCirculation ) %]<html lang="[% lang %]" manifest="/cgi-bin/koha/circ/offline-mf.pl">
10
[% ELSE %]<html lang="[% lang %]">[% END %]
11
[% ELSE %]<html lang="[% lang %]">[% END %]
11
<head>
12
<head>
12
<title>Koha &rsaquo; Circulation</title>
13
<title>[% t('Koha › Circulation') %]</title>
13
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
14
</head>
15
</head>
15
16
Lines 17-26 Link Here
17
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'circ-search.inc' %]
19
[% INCLUDE 'circ-search.inc' %]
19
<div class="loading-overlay" style="display: none;">
20
<div class="loading-overlay" style="display: none;">
20
    <div>Downloading records, please wait...</div>
21
    <div>[% t('Downloading records, please wait...') %]</div>
21
</div>
22
</div>
22
23
23
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a id="go-to-home" href="#offline-home">Offline circulation</a></div>
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a id="go-to-home" href="#offline-home">[% t('Offline circulation') %]</a></div>
24
25
25
<div id="doc3" class="yui-t2">
26
<div id="doc3" class="yui-t2">
26
27
Lines 33-57 Link Here
33
            </div>
34
            </div>
34
            [% UNLESS (AllowOfflineCirculation) %]
35
            [% UNLESS (AllowOfflineCirculation) %]
35
                <div id="noofflinecircwarning" class="dialog alert">
36
                <div id="noofflinecircwarning" class="dialog alert">
36
                    <p><strong>Warning:</strong> Offline Circulation has been disabled. You may continue and record transactions, but patron and item information will not be available.</p>
37
                    <p><strong>[% t('Warning:') %]</strong> [% t('Offline Circulation has been disabled. You may continue and record transactions, but patron and item information will not be available.') %]</p>
37
                </div>
38
                </div>
38
            [% END %]
39
            [% END %]
39
40
40
            <div id="offline-home" class="yui-b offline-home">
41
            <div id="offline-home" class="yui-b offline-home">
41
                <div class="yui-g">
42
                <div class="yui-g">
42
                    <h1>Offline circulation</h1>
43
                    <h1>[% t('Offline circulation') %]</h1>
43
                    <div class="yui-u first">
44
                    <div class="yui-u first">
44
                        <ul>
45
                        <ul>
45
                            <li><a id="go-to-circ" href="#offline-circulation">Check out</a></li>
46
                            <li><a id="go-to-circ" href="#offline-circulation">[% t('Check out') %]</a></li>
46
                            <li><a id="go-to-returns" href="#offline-returns">Check in</a></li>
47
                            <li><a id="go-to-returns" href="#offline-returns">[% t('Check in') %]</a></li>
47
                        </ul>
48
                        </ul>
48
                    </div>
49
                    </div>
49
50
50
                    <div class="yui-u">
51
                    <div class="yui-u">
51
                        <p><strong>Note:</strong> You must be online to use these options.</p>
52
                        <p><strong>[% t('Note:') %]</strong> [% t('You must be online to use these options.') %]</p>
52
                        <ul>
53
                        <ul>
53
                            <li><a id="go-to-sync" href="#offline-sync">Synchronize</a></li>
54
                            <li><a id="go-to-sync" href="#offline-sync">[% t('Synchronize') %]</a></li>
54
                            <li><a id="go-to-pending" href="/cgi-bin/koha/offline_circ/list.pl">Pending offline circulation actions</a>
55
                            <li><a id="go-to-pending" href="/cgi-bin/koha/offline_circ/list.pl">[% t('Pending offline circulation actions') %]</a>
55
                        </ul>
56
                        </ul>
56
                    </div>
57
                    </div>
57
                </div>
58
                </div>
Lines 60-79 Link Here
60
            <div id="offline-sync" style="display: none;" class="yui-b offline-sync">
61
            <div id="offline-sync" style="display: none;" class="yui-b offline-sync">
61
                <div id="toolbar" class="btn-toolbar">
62
                <div id="toolbar" class="btn-toolbar">
62
                    [% IF (AllowOfflineCirculation) %]
63
                    [% IF (AllowOfflineCirculation) %]
63
                        <a href="#" id="download-records" class="btn btn-default btn-sm"><i class="fa fa-arrow-down"></i>Download records</a>
64
                        <a href="#" id="download-records" class="btn btn-default btn-sm"><i class="fa fa-arrow-down"></i>[% t('Download records') %]</a>
64
                    [% END %]
65
                    [% END %]
65
                    <a href="#" id="upload-transactions" class="btn btn-default btn-sm"><i class="fa fa-arrow-up"></i>Upload transactions</a>
66
                    <a href="#" id="upload-transactions" class="btn btn-default btn-sm"><i class="fa fa-arrow-up"></i>[% t('Upload transactions') %]</a>
66
                </div>
67
                </div>
67
                <div class="yui-g">
68
                <div class="yui-g">
68
                    <h1>Offline circulation</h1>
69
                    <h1>[% t('Offline circulation') %]</h1>
69
                    <div class="yui-u first">
70
                    <div class="yui-u first">
70
                        <div id="download-message">
71
                        <div id="download-message">
71
                            In order for offline circulation to work on this computer,
72
                            [% t('In order for offline circulation to work on this computer,') %]
72
                            your library's records must be up-to-date on this computer:
73
                            [% t('your library\'s records must be up-to-date on this computer:') %]
73
                            <ul>
74
                            <ul>
74
                                <li>Patron records were last synced on: <span id="patron-timestamp">(checking)</span></li>
75
                                <li>[% t('Patron records were last synced on:') %] <span id="patron-timestamp">[% t('(checking)') %]</span></li>
75
                                <li>Item records were last synced on: <span id="item-timestamp">(checking)</span></li>
76
                                <li>[% t('Item records were last synced on:') %] <span id="item-timestamp">[% t('(checking)') %]</span></li>
76
                                <li>Circulation records were last synced on: <span id="issue-timestamp">(checking)</span></li>
77
                                <li>[% t('Circulation records were last synced on:') %] <span id="issue-timestamp">[% t('(checking)') %]</span></li>
77
                            </ul>
78
                            </ul>
78
                        </div>
79
                        </div>
79
                    </div>
80
                    </div>
Lines 81-99 Link Here
81
                    <div class="yui-u">
82
                    <div class="yui-u">
82
                        <div id="upload-message">
83
                        <div id="upload-message">
83
                        </div>
84
                        </div>
84
                        <div>View <a href="/cgi-bin/koha/offline_circ/list.pl">pending offline circulation actions</a></div>
85
                        <div>[% t('View') %] <a href="/cgi-bin/koha/offline_circ/list.pl">[% t('pending offline circulation actions') %]</a></div>
85
                    </div>
86
                    </div>
86
                </div>
87
                </div>
87
            </div>
88
            </div>
88
89
89
            <div id="offline-returns" style="display: none;" class="yui-b offline-returns">
90
            <div id="offline-returns" style="display: none;" class="yui-b offline-returns">
90
                <div class="yui-g">
91
                <div class="yui-g">
91
                    <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
92
                    <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
92
                        <div class="yui-u first">
93
                        <div class="yui-u first">
93
                            <fieldset>
94
                            <fieldset>
94
                                <legend>Check In</legend>
95
                                <legend>[% t('Check In') %]</legend>
95
                                <label for="checkin-barcode">Enter item barcode: </label>
96
                                <label for="checkin-barcode">[% t('Enter item barcode:') %] </label>
96
                                <input name="barcode" id="checkin-barcode" size="14" class="focus"/>
97
                                <input name="barcode" id="checkin-barcode" size="14" class="focus" />
97
                                <input type="submit" class="submit" value="Submit" />
98
                                <input type="submit" class="submit" value="Submit" />
98
                            </fieldset>
99
                            </fieldset>
99
                        </div>
100
                        </div>
Lines 101-110 Link Here
101
                </div>
102
                </div>
102
103
103
                <div id="session-returned" style="display: none;">
104
                <div id="session-returned" style="display: none;">
104
                    <h2>Checked-in items</h2>
105
                    <h2>[% t('Checked-in items') %]</h2>
105
                    <table id="already-checked-in">
106
                    <table id="already-checked-in">
106
                        <thead>
107
                        <thead>
107
                            <tr><th>Title</th><th>Author</th><th>Barcode</th><th>Home library</th><th>Holding library</th><th>Shelving location</th><th>Call number</th><th>Type</th></tr>
108
                            <tr><th>[% t('Title') %]</th><th>[% t('Author') %]</th><th>[% t('Barcode') %]</th><th>[% t('Home library') %]</th><th>[% t('Holding library') %]</th><th>[% t('Shelving location') %]</th><th>[% t('Call number') %]</th><th>[% t('Type') %]</th></tr>
108
                        </thead>
109
                        </thead>
109
                        <tbody>
110
                        <tbody>
110
                        </tbody>
111
                        </tbody>
Lines 114-120 Link Here
114
115
115
            <div style="display: none;" class="yui-b offline-circulation-instructions">
116
            <div style="display: none;" class="yui-b offline-circulation-instructions">
116
                <div class="yui-g">
117
                <div class="yui-g">
117
                    Scan a patron barcode to start.
118
                    [% t('Scan a patron barcode to start.') %]
118
                </div>
119
                </div>
119
            </div>
120
            </div>
120
121
Lines 122-137 Link Here
122
                <div class="yui-g">
123
                <div class="yui-g">
123
                    <form method="post" action="/cgi-bin/koha/circ/offline.pl" id="mainform" name="mainform" autocomplete="off">
124
                    <form method="post" action="/cgi-bin/koha/circ/offline.pl" id="mainform" name="mainform" autocomplete="off">
124
                        <fieldset id="circ_circulation_issue">
125
                        <fieldset id="circ_circulation_issue">
125
                            <span id="clearscreen"><a href="/cgi-bin/koha/circ/offline.pl" title="Clear screen">x</a></span>
126
                            <span id="clearscreen"><a href="/cgi-bin/koha/circ/offline.pl" title="[% t('Clear screen') %]">[% t('x') %]</a></span>
126
                            <label for="checkout-barcode">Checking out to <span class="patron-title"></span></label>
127
                            <label for="checkout-barcode">[% t('Checking out to') %] <span class="patron-title"></span></label>
127
                            <div class="hint">Enter item barcode:</div>
128
                            <div class="hint">[% t('Enter item barcode:') %]</div>
128
                            <input type="text" name="barcode" id="checkout-barcode" class="barcode focus" size="14" />
129
                            <input type="text" name="barcode" id="checkout-barcode" class="barcode focus" size="14" />
129
                            <input type="submit" value="Check Out" />
130
                            <input type="submit" value="Check Out" />
130
131
131
                            <div class="date-select">
132
                            <div class="date-select">
132
                                <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
133
                                <div class="hint">[% t('Specify due date') %] [% INCLUDE 'date-format.inc' %]: </div>
133
                                <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" />
134
                                <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" />
134
                                <label for="stickyduedate"> Remember for session:</label>
135
                                <label for="stickyduedate"> [% t('Remember for session:') %]</label>
135
                                <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
136
                                <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
136
                                <input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" />
137
                                <input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" />
137
                            </div>
138
                            </div>
Lines 141-148 Link Here
141
142
142
                <div class="yui-g"><div id="patronlists" class="toptabs">
143
                <div class="yui-g"><div id="patronlists" class="toptabs">
143
                    <ul>
144
                    <ul>
144
                        <li><a href="#checkouts"><span class="checkout-count">0</span> Checkouts</a></li>
145
                        <li><a href="#checkouts"><span class="checkout-count">[% t('0') %]</span> [% t('Checkouts') %]</a></li>
145
                        <li><a href="#fines"><span class="fine-amount">0</span> in fines</a></li>
146
                        <li><a href="#fines"><span class="fine-amount">[% t('0') %]</span> [% t('in fines') %]</a></li>
146
                    </ul>
147
                    </ul>
147
148
148
                    <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
149
                    <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
Lines 150-163 Link Here
150
                        <div id="session-issues">
151
                        <div id="session-issues">
151
                            <table id="issuest">
152
                            <table id="issuest">
152
                                <thead><tr>
153
                                <thead><tr>
153
                                    <th scope="col">Due date</th>
154
                                    <th scope="col">[% t('Due date') %]</th>
154
                                    <th scope="col">Title</th>
155
                                    <th scope="col">[% t('Title') %]</th>
155
                                    <th scope="col">Barcode</th>
156
                                    <th scope="col">[% t('Barcode') %]</th>
156
                                    <th scope="col">Item type</th>
157
                                    <th scope="col">[% t('Item type') %]</th>
157
                                    <th scope="col">Checked out on</th>
158
                                    <th scope="col">[% t('Checked out on') %]</th>
158
                                    <th scope="col">Checked out from</th>
159
                                    <th scope="col">[% t('Checked out from') %]</th>
159
                                    <th scope="col">Call no</th>
160
                                    <th scope="col">[% t('Call no') %]</th>
160
                                    <th scope="col">Charge</th>
161
                                    <th scope="col">[% t('Charge') %]</th>
161
                                </tr></thead>
162
                                </tr></thead>
162
                                <tbody>
163
                                <tbody>
163
                                </tbody>
164
                                </tbody>
Lines 165-181 Link Here
165
                        </div>
166
                        </div>
166
167
167
                        <div id="oldissues">
168
                        <div id="oldissues">
168
                            <h5>Previous checkouts</h5>
169
                            <h5>[% t('Previous checkouts') %]</h5>
169
                            <table id="oldissuest">
170
                            <table id="oldissuest">
170
                                <thead><tr>
171
                                <thead><tr>
171
                                    <th scope="col">Due date</th>
172
                                    <th scope="col">[% t('Due date') %]</th>
172
                                    <th scope="col">Title</th>
173
                                    <th scope="col">[% t('Title') %]</th>
173
                                    <th scope="col">Barcode</th>
174
                                    <th scope="col">[% t('Barcode') %]</th>
174
                                    <th scope="col">Item type</th>
175
                                    <th scope="col">[% t('Item type') %]</th>
175
                                    <th scope="col">Checked out on</th>
176
                                    <th scope="col">[% t('Checked out on') %]</th>
176
                                    <th scope="col">Checked out from</th>
177
                                    <th scope="col">[% t('Checked out from') %]</th>
177
                                    <th scope="col">Call no</th>
178
                                    <th scope="col">[% t('Call no') %]</th>
178
                                    <th scope="col">Charge</th>
179
                                    <th scope="col">[% t('Charge') %]</th>
179
                                </tr></thead>
180
                                </tr></thead>
180
                                <tbody>
181
                                <tbody>
181
                                </tbody>
182
                                </tbody>
Lines 184-196 Link Here
184
                    </div>
185
                    </div>
185
186
186
                    <div id="fines">
187
                    <div id="fines">
187
                        <span class="patron-title"></span> has <span class="fine-amount">0</span> in fines. If you would like you can record payments.
188
                        <span class="patron-title"></span> [% t('has') %] <span class="fine-amount">[% t('0') %]</span> [% t('in fines. If you would like you can record payments.') %]
188
                        <fieldset><legend>Pay fines</legend>
189
                        <fieldset><legend>[% t('Pay fines') %]</legend>
189
                            <label for="pay-fine-amount">Fine amount: </label><input type="text" name="pay-fine-amount" id="pay-fine-amount"/>
190
                            <label for="pay-fine-amount">[% t('Fine amount:') %] </label><input type="text" name="pay-fine-amount" id="pay-fine-amount" />
190
                            <button id="pay-fine" class="submit">Pay fine</button>
191
                            <button id="pay-fine" class="submit">[% t('Pay fine') %]</button>
191
192
192
                            <table id="session-payments" style="display: none;">
193
                            <table id="session-payments" style="display: none;">
193
                                <thead><tr><th>Amount</th><th>Timestamp</th></tr></thead>
194
                                <thead><tr><th>[% t('Amount') %]</th><th>[% t('Timestamp') %]</th></tr></thead>
194
                                <tbody></tbody>
195
                                <tbody></tbody>
195
                            </table>
196
                            </table>
196
                        </fieldset>
197
                        </fieldset>
Lines 201-207 Link Here
201
    </div>
202
    </div>
202
203
203
    <div class="yui-b offline-circulation" style="display: none;">
204
    <div class="yui-b offline-circulation" style="display: none;">
204
        <div class="patroninfo"><h5 class="patron-title">&nbsp;</h5>
205
        <div class="patroninfo"><h5 class="patron-title"> </h5>
205
            <ul>
206
            <ul>
206
                <li id="patron-address-1"></li>
207
                <li id="patron-address-1"></li>
207
                <li id="patron-address-2"></li>
208
                <li id="patron-address-2"></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt (-7 / +8 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 5-11 Link Here
5
[% USE AuthorisedValues %]
6
[% USE AuthorisedValues %]
6
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Koha &rsaquo; Circulation &rsaquo; Pending on-site checkouts</title>
9
<title>[% t('Koha › Circulation › Pending on-site checkouts') %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
[% Asset.css("css/datatables.css") %]
11
[% Asset.css("css/datatables.css") %]
11
</head>
12
</head>
Lines 14-31 Link Here
14
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'circ-search.inc' %]
16
[% INCLUDE 'circ-search.inc' %]
16
17
17
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>  &rsaquo; Pending on-site checkouts</div>
18
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a>  [% t('› Pending on-site checkouts') %]</div>
18
19
19
<div id="doc3" class="yui-t2">
20
<div id="doc3" class="yui-t2">
20
  <div id="bd">
21
  <div id="bd">
21
    <div id="yui-main">
22
    <div id="yui-main">
22
      <div class="yui-b">
23
      <div class="yui-b">
23
        <h1>Pending on-site checkouts</h1>
24
        <h1>[% t('Pending on-site checkouts') %]</h1>
24
        [% IF pending_onsite_checkouts %]
25
        [% IF pending_onsite_checkouts %]
25
          <table id="pending_onsite_checkout">
26
          <table id="pending_onsite_checkout">
26
            <thead>
27
            <thead>
27
              <tr>
28
              <tr>
28
                <th>Date</th><th>Patron</th><th>Title</th><th>Callnumber</th><th>Barcode</th><th>Library</th><th>Location</th>
29
                <th>[% t('Date') %]</th><th>[% t('Patron') %]</th><th>[% t('Title') %]</th><th>[% t('Callnumber') %]</th><th>[% t('Barcode') %]</th><th>[% t('Library') %]</th><th>[% t('Location') %]</th>
29
              </tr>
30
              </tr>
30
            </thead>
31
            </thead>
31
            <tbody>
32
            <tbody>
Lines 40-50 Link Here
40
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">[%item.firstname %] [% item.surname %]</a>
41
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">[%item.firstname %] [% item.surname %]</a>
41
                  </td>
42
                  </td>
42
                  <td>
43
                  <td>
43
                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]"><strong>[% item.title |html %]</strong></a>[% IF ( item.author ) %], by [% item.author %][% END %][% IF ( item.itemnotes ) %]- <span class="circ-hlt">[% item.itemnotes %]</span>[% END %]
44
                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]"><strong>[% item.title |html %]</strong></a>[% IF ( item.author ) %][% t(', by') %] [% item.author %][% END %][% IF ( item.itemnotes ) %]- <span class="circ-hlt">[% item.itemnotes %]</span>[% END %]
44
                  </td>
45
                  </td>
45
                  <td>[% item.itemcallnumber %]</td>
46
                  <td>[% item.itemcallnumber %]</td>
46
                  <td>
47
                  <td>
47
                    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber %]&amp;itemnumber=[% item.itemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a>
48
                    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a>
48
                  </td>
49
                  </td>
49
                  <td>[% Branches.GetName(item.branchcode) %]</td>
50
                  <td>[% Branches.GetName(item.branchcode) %]</td>
50
                  <td>[% AuthorisedValues.GetByCode( 'LOC', item.location )%]</td>
51
                  <td>[% AuthorisedValues.GetByCode( 'LOC', item.location )%]</td>
Lines 53-59 Link Here
53
            </tbody>
54
            </tbody>
54
          </table>
55
          </table>
55
        [% ELSE %]
56
        [% ELSE %]
56
          <h3>No pending on-site checkout.</h3>
57
          <h3>[% t('No pending on-site checkout.') %]</h3>
57
        [% END %]
58
        [% END %]
58
      </div>
59
      </div>
59
    </div>
60
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-49 / +50 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[%- USE Branches -%]
4
[%- USE Branches -%]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Circulation &rsaquo; Items overdue as of [% todaysdate %]</title>
7
<title>[% t('Koha › Circulation › Items overdue as of') %] [% todaysdate %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% Asset.css("css/datatables.css") %]
9
[% Asset.css("css/datatables.css") %]
9
<style type="text/css">
10
<style type="text/css">
Lines 15-21 Link Here
15
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'circ-search.inc' %]
17
[% INCLUDE 'circ-search.inc' %]
17
18
18
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Overdues as of [% todaysdate %]</div>
19
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> [% t('› Overdues as of') %] [% todaysdate %]</div>
19
20
20
<div id="doc3" class="yui-t2">
21
<div id="doc3" class="yui-t2">
21
22
Lines 24-42 Link Here
24
	<div class="yui-b">
25
	<div class="yui-b">
25
26
26
[% IF ( noreport ) %]
27
[% IF ( noreport ) %]
27
  <h2>Overdue report</h2>
28
  <h2>[% t('Overdue report') %]</h2>
28
  <p>Please choose one or more filters to proceed.</p>
29
  <p>[% t('Please choose one or more filters to proceed.') %]</p>
29
[% ELSE %]
30
[% ELSE %]
30
31
31
[% IF ( overdueloop ) %]
32
[% IF ( overdueloop ) %]
32
33
33
  <h2>[% nnoverdue %] [% IF ( noverdue_is_plural ) %]Items[% ELSE %]Item[% END %] overdue as of [% todaysdate %][% IF ( isfiltered ) %] <span style="font-size:70%;">(Filtered. <a href="/cgi-bin/koha/circ/overdue.pl">Reset filter</a>)</span>[% END %]</h2>
34
  <h2>[% nnoverdue %] [% IF ( noverdue_is_plural ) %][% t('Items') %][% ELSE %][% t('Item') %][% END %] [% t('overdue as of') %] [% todaysdate %][% IF ( isfiltered ) %] <span style="font-size:70%;">[% t('(Filtered.') %] <a href="/cgi-bin/koha/circ/overdue.pl">[% t('Reset filter') %]</a>)</span>[% END %]</h2>
34
35
35
  <p>
36
  <p>
36
    [% IF ( isfiltered ) %]
37
    [% IF ( isfiltered ) %]
37
      <a href="overdue.pl?op=csv&amp;[% csv_param_string |html %]">Download file of displayed overdues</a>
38
      <a href="overdue.pl?op=csv&[% csv_param_string |html %]">[% t('Download file of displayed overdues') %]</a>
38
    [% ELSE %]
39
    [% ELSE %]
39
      <a href="overdue.pl?op=csv">Download file of all overdues</a>
40
      <a href="overdue.pl?op=csv">[% t('Download file of all overdues') %]</a>
40
    [% END %]
41
    [% END %]
41
  </p>
42
  </p>
42
43
Lines 45-60 Link Here
45
    <table id="overduest">
46
    <table id="overduest">
46
      <thead>
47
      <thead>
47
        <tr>
48
        <tr>
48
          <th class="title-string">Due date</th>
49
          <th class="title-string">[% t('Due date') %]</th>
49
          <th>Patron</th>
50
          <th>[% t('Patron') %]</th>
50
          <th>Library</th>
51
          <th>[% t('Library') %]</th>
51
          <th>Title</th>
52
          <th>[% t('Title') %]</th>
52
          <th>Barcode</th>
53
          <th>[% t('Barcode') %]</th>
53
          <th>Call number</th>
54
          <th>[% t('Call number') %]</th>
54
          <th>Price</th>
55
          <th>[% t('Price') %]</th>
55
        </tr>
56
        </tr>
56
      </thead>
57
      </thead>
57
      [%- BLOCK subject -%]Overdue:[%- END -%]
58
      [%- BLOCK subject -%][% t('Overdue:') %][%- END -%]
58
      <tbody>
59
      <tbody>
59
      [% FOREACH overdueloo IN overdueloop %]
60
      [% FOREACH overdueloo IN overdueloop %]
60
        <tr>
61
        <tr>
Lines 62-73 Link Here
62
          <td>
63
          <td>
63
            [% INCLUDE 'patron-title.inc' patron=overdueloo.patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]
64
            [% INCLUDE 'patron-title.inc' patron=overdueloo.patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]
64
            [% IF logged_in_user.can_see_patron_infos( overdueloo.patron ) %]
65
            [% IF logged_in_user.can_see_patron_infos( overdueloo.patron ) %]
65
                [% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email %]?subject=[% INCLUDE subject %] [% overdueloo.title |html %]">email</a>][% END %]
66
                [% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email %]?subject=[% INCLUDE subject %] [% overdueloo.title |html %]">[% t('email') %]</a>][% END %]
66
                [% IF ( overdueloo.phone ) %]([% overdueloo.phone %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro %])[% END %]</td>
67
                [% IF ( overdueloo.phone ) %]([% overdueloo.phone %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro %])[% END %]</td>
67
            [% END %]
68
            [% END %]
68
          <td>[% IF overdueloo.branchcode %][% Branches.GetName( overdueloo.branchcode ) %][% END %]</td>
69
          <td>[% IF overdueloo.branchcode %][% Branches.GetName( overdueloo.branchcode ) %][% END %]</td>
69
          <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title |html %]  [% overdueloo.subtitle %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron %][% END %]</td>
70
          <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title |html %]  [% overdueloo.subtitle %]</a> [% IF ( overdueloo.author ) %][% t(', by') %] [% overdueloo.author %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron %][% END %]</td>
70
          <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber %]&amp;itemnumber=[% overdueloo.itemnum %]#item[% overdueloo.itemnum %]">[% overdueloo.barcode %]</a></td>
71
          <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber %]&itemnumber=[% overdueloo.itemnum %]#item[% overdueloo.itemnum %]">[% overdueloo.barcode %]</a></td>
71
          <td>[% overdueloo.itemcallnumber %]</td>
72
          <td>[% overdueloo.itemcallnumber %]</td>
72
          <td>[% overdueloo.replacementprice %]</td>
73
          <td>[% overdueloo.replacementprice %]</td>
73
        </tr>
74
        </tr>
Lines 78-88 Link Here
78
79
79
[% ELSE %]
80
[% ELSE %]
80
81
81
  <h2>Overdue report</h2>
82
  <h2>[% t('Overdue report') %]</h2>
82
  [% IF ( isfiltered ) %]
83
  [% IF ( isfiltered ) %]
83
    <p>There are no overdues matching your search. <a href="/cgi-bin/koha/circ/overdue.pl">Reset filter</a></p>
84
    <p>[% t('There are no overdues matching your search.') %] <a href="/cgi-bin/koha/circ/overdue.pl">[% t('Reset filter') %]</a></p>
84
  [% ELSE %]
85
  [% ELSE %]
85
    <p>There are no overdues.</p>
86
    <p>[% t('There are no overdues.') %]</p>
86
  [% END %]
87
  [% END %]
87
88
88
[% END %]  <!-- overdueloop -->
89
[% END %]  <!-- overdueloop -->
Lines 93-126 Link Here
93
<div class="yui-b">
94
<div class="yui-b">
94
<form method="post" action="/cgi-bin/koha/circ/overdue.pl">
95
<form method="post" action="/cgi-bin/koha/circ/overdue.pl">
95
  <fieldset class="brief">
96
  <fieldset class="brief">
96
<h4>Filter on:</h4>
97
<h4>[% t('Filter on:') %]</h4>
97
	<fieldset><legend>Date due:</legend>
98
	<fieldset><legend>[% t('Date due:') %]</legend>
98
	<ol>
99
	<ol>
99
    <li><label for="from">From:</label>
100
    <li><label for="from">[% t('From:') %]</label>
100
    <input type="text" id="from" name="dateduefrom" size="10" value="[% dateduefrom | $KohaDates %]" class="datepickerfrom" />
101
    <input type="text" id="from" name="dateduefrom" size="10" value="[% dateduefrom | $KohaDates %]" class="datepickerfrom" />
101
	</li>
102
	</li>
102
	<li>
103
	<li>
103
    <label for="to">To:</label>
104
    <label for="to">[% t('To:') %]</label>
104
    <input type="text" id="to" name="datedueto" size="10" value="[% datedueto | $KohaDates %]" class="datepickerto" />
105
    <input type="text" id="to" name="datedueto" size="10" value="[% datedueto | $KohaDates %]" class="datepickerto" />
105
    </li>
106
    </li>
106
    </ol></fieldset>
107
    </ol></fieldset>
107
    <ol>
108
    <ol>
108
    <li><label>Name or cardnumber:</label><input type="text" name="borname" value="[% borname |html %]" /></li>
109
    <li><label>[% t('Name or cardnumber:') %]</label><input type="text" name="borname" value="[% borname |html %]" /></li>
109
    <li><label>Patron category:</label><select name="borcat" id="borcat"><option value="">Any</option>
110
    <li><label>[% t('Patron category:') %]</label><select name="borcat" id="borcat"><option value="">[% t('Any') %]</option>
110
      [% FOREACH borcatloo IN borcatloop %]
111
      [% FOREACH borcatloo IN borcatloop %]
111
        [% IF ( borcatloo.selected ) %]<option value="[% borcatloo.value |html %]" selected="selected">[% borcatloo.catname %]</option>[% ELSE %]<option value="[% borcatloo.value |html %]">[% borcatloo.catname %]</option>[% END %]
112
        [% IF ( borcatloo.selected ) %]<option value="[% borcatloo.value |html %]" selected="selected">[% borcatloo.catname %]</option>[% ELSE %]<option value="[% borcatloo.value |html %]">[% borcatloo.catname %]</option>[% END %]
112
      [% END %]
113
      [% END %]
113
      </select>
114
      </select>
114
    </li>
115
    </li>
115
    <li><label>Patron flags:</label>
116
    <li><label>[% t('Patron flags:') %]</label>
116
        <select name="borflag" size="1" id="borflag">
117
        <select name="borflag" size="1" id="borflag">
117
            <option value="">None</option>
118
            <option value="">[% t('None') %]</option>
118
            [% IF ( borflag_gonenoaddress ) %]<option value="gonenoaddress" selected="selected">Address in question</option>
119
            [% IF ( borflag_gonenoaddress ) %]<option value="gonenoaddress" selected="selected">[% t('Address in question') %]</option>
119
            [% ELSE %]<option value="gonenoaddress">Address in question</option>[% END %]
120
            [% ELSE %]<option value="gonenoaddress">[% t('Address in question') %]</option>[% END %]
120
            [% IF ( borflag_debarred ) %]<option value="debarred" selected="selected">Restricted</option>
121
            [% IF ( borflag_debarred ) %]<option value="debarred" selected="selected">[% t('Restricted') %]</option>
121
            [% ELSE %]<option value="debarred">Restricted</option>[% END %]
122
            [% ELSE %]<option value="debarred">[% t('Restricted') %]</option>[% END %]
122
            [% IF ( borflag_lost ) %]<option value="lost" selected="selected">Lost card</option>
123
            [% IF ( borflag_lost ) %]<option value="lost" selected="selected">[% t('Lost card') %]</option>
123
            [% ELSE %]<option value="lost">Lost card</option>[% END %]
124
            [% ELSE %]<option value="lost">[% t('Lost card') %]</option>[% END %]
124
        </select>
125
        </select>
125
    </li>
126
    </li>
126
	[% FOREACH patron_attr_filter_loo IN patron_attr_filter_loop %]
127
	[% FOREACH patron_attr_filter_loo IN patron_attr_filter_loop %]
Lines 131-156 Link Here
131
                <script type="text/javascript" x-code="[% patron_attr_filter_loo.code |html %]">create_auto_completion_responder([% patron_attr_filter_loo.domid %],"[% patron_attr_filter_loo.code |html %]");</script>
132
                <script type="text/javascript" x-code="[% patron_attr_filter_loo.code |html %]">create_auto_completion_responder([% patron_attr_filter_loo.domid %],"[% patron_attr_filter_loo.code |html %]");</script>
132
				<span id="pattrodue-getready-[% patron_attr_filter_loo.domid %]">
133
				<span id="pattrodue-getready-[% patron_attr_filter_loo.domid %]">
133
						<div class="pattrodue-autocomplete">
134
						<div class="pattrodue-autocomplete">
134
							<input autocomplete="off" id="pattrodue-input-[% patron_attr_filter_loo.domid %]" name="patron_attr_filter_[% patron_attr_filter_loo.code |html %]" value="[% patron_attr_filter_loo.cgivalue |html %]"  class="pattrodue-input" type="text" />
135
							<input autocomplete="off" id="pattrodue-input-[% patron_attr_filter_loo.domid %]" name="patron_attr_filter_[% patron_attr_filter_loo.code |html %]" value="[% patron_attr_filter_loo.cgivalue |html %]" class="pattrodue-input" type="text" />
135
						</div>
136
						</div>
136
				</span>
137
				</span>
137
			[% ELSE %]
138
			[% ELSE %]
138
				<input type="text" name="patron_attr_filter_[% patron_attr_filter_loo.code |html %]" value="[% patron_attr_filter_loo.cgivalue |html %]"/>
139
				<input type="text" name="patron_attr_filter_[% patron_attr_filter_loo.code |html %]" value="[% patron_attr_filter_loo.cgivalue |html %]" />
139
			[% END %]
140
			[% END %]
140
			[% IF ( patron_attr_filter_loo.repeatable ) %]
141
			[% IF ( patron_attr_filter_loo.repeatable ) %]
141
                <a href="#" onclick="clone_parent(this); return false;">Add</a>
142
                <a href="#" onclick="clone_parent(this); return false;">[% t('Add') %]</a>
142
                [% IF ( patron_attr_filter_loo.isclone ) %]
143
                [% IF ( patron_attr_filter_loo.isclone ) %]
143
				    <a href="#" onclick="delete_parent(this); return false;" style="visibility: visible">Delete</a>
144
				    <a href="#" onclick="delete_parent(this); return false;" style="visibility: visible">[% t('Delete') %]</a>
144
                [% ELSIF ( patron_attr_filter_loo.ismany ) %]
145
                [% ELSIF ( patron_attr_filter_loo.ismany ) %]
145
				    <a href="#" onclick="delete_parent(this); return false;" style="visibility: visible">Delete</a>
146
				    <a href="#" onclick="delete_parent(this); return false;" style="visibility: visible">[% t('Delete') %]</a>
146
                [% ELSE %]
147
                [% ELSE %]
147
				    <a href="#" onclick="delete_parent(this); return false;" style="visibility: hidden">Delete</a>
148
				    <a href="#" onclick="delete_parent(this); return false;" style="visibility: hidden">[% t('Delete') %]</a>
148
                [% END %]
149
                [% END %]
149
			[% END %]
150
			[% END %]
150
		</li>
151
		</li>
151
	[% END %]
152
	[% END %]
152
153
153
    <li><label>Item type:</label><select name="itemtype" id="itemtype"><option value="">Any</option>
154
    <li><label>[% t('Item type:') %]</label><select name="itemtype" id="itemtype"><option value="">[% t('Any') %]</option>
154
      [% FOREACH itemtypeloo IN itemtypeloop %][% IF ( itemtypeloo.selected ) %]
155
      [% FOREACH itemtypeloo IN itemtypeloop %][% IF ( itemtypeloo.selected ) %]
155
        <option value="[% itemtypeloo.value |html %]" selected="selected">[% itemtypeloo.itemtypename %]</option>[% ELSE %]
156
        <option value="[% itemtypeloo.value |html %]" selected="selected">[% itemtypeloo.itemtypename %]</option>[% ELSE %]
156
        <option value="[% itemtypeloo.value |html %]">[% itemtypeloo.itemtypename %]</option>[% END %]
157
        <option value="[% itemtypeloo.value |html %]">[% itemtypeloo.itemtypename %]</option>[% END %]
Lines 159-188 Link Here
159
    </li>
160
    </li>
160
161
161
    <li>
162
    <li>
162
        <label>Item home library:</label>
163
        <label>[% t('Item home library:') %]</label>
163
        <select name="homebranch" id="homebranch">
164
        <select name="homebranch" id="homebranch">
164
            <option value="">Any</option>
165
            <option value="">[% t('Any') %]</option>
165
            [% PROCESS options_for_libraries libraries => Branches.all( selected => homebranchfilter ) %]
166
            [% PROCESS options_for_libraries libraries => Branches.all( selected => homebranchfilter ) %]
166
        </select>
167
        </select>
167
    </li>
168
    </li>
168
169
169
    <li>
170
    <li>
170
        <label>Item holding library:</label>
171
        <label>[% t('Item holding library:') %]</label>
171
        <select name="holdingbranch" id="holdingbranch">
172
        <select name="holdingbranch" id="holdingbranch">
172
            <option value="">Any</option>
173
            <option value="">[% t('Any') %]</option>
173
            [% PROCESS options_for_libraries libraries => Branches.all( selected => holdingbranchfilter ) %]
174
            [% PROCESS options_for_libraries libraries => Branches.all( selected => holdingbranchfilter ) %]
174
        </select>
175
        </select>
175
    </li>
176
    </li>
176
177
177
    <li>
178
    <li>
178
        <label>Library of the patron:</label>
179
        <label>[% t('Library of the patron:') %]</label>
179
        <select name="branch" id="branch">
180
        <select name="branch" id="branch">
180
            <option value="">Any</option>
181
            <option value="">[% t('Any') %]</option>
181
            [% PROCESS options_for_libraries libraries => Branches.all( selected => branchfilter, only_from_group => 1 ) %]
182
            [% PROCESS options_for_libraries libraries => Branches.all( selected => branchfilter, only_from_group => 1 ) %]
182
        </select>
183
        </select>
183
    </li>
184
    </li>
184
185
185
<li class="radio"><label for="showall">Show any items currently checked out:</label>
186
<li class="radio"><label for="showall">[% t('Show any items currently checked out:') %]</label>
186
	[% IF ( showall ) %]
187
	[% IF ( showall ) %]
187
            <input type="checkbox" id="showall" name="showall" value="show" checked="checked" />
188
            <input type="checkbox" id="showall" name="showall" value="show" checked="checked" />
188
    [% ELSE %]
189
    [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-42 / +43 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 7-13 Link Here
7
[%- USE ItemTypes -%]
8
[%- USE ItemTypes -%]
8
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
9
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Koha &rsaquo; Circulation &rsaquo; Holds to pull</title>
11
<title>[% t('Koha › Circulation › Holds to pull') %]</title>
11
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
12
[% Asset.css("css/datatables.css") %]
13
[% Asset.css("css/datatables.css") %]
13
</head>
14
</head>
Lines 17-23 Link Here
17
[% INCLUDE 'circ-search.inc' %]
18
[% INCLUDE 'circ-search.inc' %]
18
19
19
20
20
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Holds to pull</div>
21
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> [% t('› Holds to pull') %]</div>
21
22
22
<div id="doc3" class="yui-t2">
23
<div id="doc3" class="yui-t2">
23
24
Lines 28-69 Link Here
28
            <div class="dialog [% m.type %]">
29
            <div class="dialog [% m.type %]">
29
                [% SWITCH m.code %]
30
                [% SWITCH m.code %]
30
                [% CASE 'letter_enqueued' %]
31
                [% CASE 'letter_enqueued' %]
31
                    <span>The notice has been correctly enqueued.</span>
32
                    <span>[% t('The notice has been correctly enqueued.') %]</span>
32
                [% CASE 'no_email_address' %]
33
                [% CASE 'no_email_address' %]
33
                    <span>The patron does not have an email address defined.</span>
34
                    <span>[% t('The patron does not have an email address defined.') %]</span>
34
                [% CASE 'no_template_notice' %]
35
                [% CASE 'no_template_notice' %]
35
                    <span>There is no notice template with a code 'CANCEL_HOLD_ON_LOST' defined in your system.</span>
36
                    <span>[% t('There is no notice template with a code \'CANCEL_HOLD_ON_LOST\' defined in your system.') %]</span>
36
                [% CASE 'hold_cancelled' %]
37
                [% CASE 'hold_cancelled' %]
37
                    <span>The hold has been correctly cancelled.</span>
38
                    <span>[% t('The hold has been correctly cancelled.') %]</span>
38
                [% CASE 'hold_placed_at_biblio_level' %]
39
                [% CASE 'hold_placed_at_biblio_level' %]
39
                    <span>The hold has been placed on biblio level. It is not possible to determine the item to mark as lost.</span>
40
                    <span>[% t('The hold has been placed on biblio level. It is not possible to determine the item to mark as lost.') %]</span>
40
                [% CASE %]
41
                [% CASE %]
41
                    [% m.code %]
42
                    [% m.code %]
42
                [% END %]
43
                [% END %]
43
            </div>
44
            </div>
44
        [% END %]
45
        [% END %]
45
46
46
<h2>Holds to pull placed between [% from | $KohaDates %] and [% to | $KohaDates %]</h2>
47
<h2>[% t('Holds to pull placed between') %] [% from | $KohaDates %] [% t('and') %] [% to | $KohaDates %]</h2>
47
<h3>Reported on [% todaysdate | $KohaDates %]</h3>
48
<h3>[% t('Reported on') %] [% todaysdate | $KohaDates %]</h3>
48
<p>The following holds have not been filled. Please retrieve them and check them in.</p>
49
<p>[% t('The following holds have not been filled. Please retrieve them and check them in.') %]</p>
49
<div class="searchresults">
50
<div class="searchresults">
50
    [% IF ( reserveloop ) %]
51
    [% IF ( reserveloop ) %]
51
    <table id="holdst">
52
    <table id="holdst">
52
    <thead>
53
    <thead>
53
        <tr>
54
        <tr>
54
        <th>Pull this many items</th>
55
        <th>[% t('Pull this many items') %]</th>
55
        <th>Items available</th>
56
        <th>[% t('Items available') %]</th>
56
        <th>Patrons with holds</th>
57
        <th>[% t('Patrons with holds') %]</th>
57
        <th>First patron</td>
58
        <th>[% t('First patron') %]</td>
58
        <th class="anti-the">Title</th>
59
        <th class="anti-the">[% t('Title') %]</th>
59
        <th class="string-sort">Libraries</th>
60
        <th class="string-sort">[% t('Libraries') %]</th>
60
        <th>Available call numbers</th>
61
        <th>[% t('Available call numbers') %]</th>
61
        <th>Available copy numbers</th>
62
        <th>[% t('Available copy numbers') %]</th>
62
        <th>Available enumeration</th>
63
        <th>[% t('Available enumeration') %]</th>
63
        <th class="string-sort">Available item types</th>
64
        <th class="string-sort">[% t('Available item types') %]</th>
64
        <th class="string-sort">Available locations</th>
65
        <th class="string-sort">[% t('Available locations') %]</th>
65
        <th class="title-string">Earliest hold date</th>
66
        <th class="title-string">[% t('Earliest hold date') %]</th>
66
        <th>Action</th>
67
        <th>[% t('Action') %]</th>
67
        </tr>
68
        </tr>
68
    </thead>
69
    </thead>
69
    <tbody>
70
    <tbody>
Lines 78-84 Link Here
78
            <p>
79
            <p>
79
                [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
80
                [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
80
                [% reserveloo.title |html %] [% FOREACH s IN reserveloo.subtitle %] [% s %][% END %]</a></p>
81
                [% reserveloo.title |html %] [% FOREACH s IN reserveloo.subtitle %] [% s %][% END %]</a></p>
81
                [% IF ( reserveloo.author ) %]<p> by [% reserveloo.author %]</p>[% END %]
82
                [% IF ( reserveloo.author ) %]<p> [% t('by') %] [% reserveloo.author %]</p>[% END %]
82
            </td>
83
            </td>
83
        [% ELSE %]
84
        [% ELSE %]
84
            <td>"</td>
85
            <td>"</td>
Lines 106-112 Link Here
106
        [% END %]
107
        [% END %]
107
        </td>
108
        </td>
108
        <td>
109
        <td>
109
            <span title="[% reserveloo.reservedate %]">[% reserveloo.reservedate | $KohaDates %] in [% Branches.GetName ( reserveloo.branch ) %]</span>
110
            <span title="[% reserveloo.reservedate %]">[% reserveloo.reservedate | $KohaDates %] [% t('in') %] [% Branches.GetName ( reserveloo.branch ) %]</span>
110
        </td>
111
        </td>
111
        <td>
112
        <td>
112
            <form name="cancelReserve" action="/cgi-bin/koha/circ/pendingreserves.pl" method="post">
113
            <form name="cancelReserve" action="/cgi-bin/koha/circ/pendingreserves.pl" method="post">
Lines 132-138 Link Here
132
                    [% END %]
133
                    [% END %]
133
                </form>
134
                </form>
134
            [% ELSE %]
135
            [% ELSE %]
135
                <span>Biblio level hold.</span>
136
                <span>[% t('Biblio level hold.') %]</span>
136
            [% END %]
137
            [% END %]
137
        [% END %]
138
        [% END %]
138
        </tr>
139
        </tr>
Lines 140-154 Link Here
140
    </tbody>
141
    </tbody>
141
    <tfoot>
142
    <tfoot>
142
        <tr>
143
        <tr>
143
        <td><input type="text" class="filter" data-column_num="0" placeholder="Pull this many items" style="width:95%"/></td>
144
        <td><input type="text" class="filter" data-column_num="0" placeholder="[% t('Pull this many items') %]" style="width:95%" /></td>
144
        <td><input type="text" class="filter" data-column_num="1" placeholder="Items available" style="width:95%"/></td>
145
        <td><input type="text" class="filter" data-column_num="1" placeholder="[% t('Items available') %]" style="width:95%" /></td>
145
        <td><input type="text" class="filter" data-column_num="2" placeholder="Patron holds" style="width:95%"/></td>
146
        <td><input type="text" class="filter" data-column_num="2" placeholder="[% t('Patron holds') %]" style="width:95%" /></td>
146
        <td><input type="text" class="filter" data-column_num="3" placeholder="Patron name" style="width:95%"/></td>
147
        <td><input type="text" class="filter" data-column_num="3" placeholder="[% t('Patron name') %]" style="width:95%" /></td>
147
        <td><input type="text" class="filter" data-column_num="4" placeholder="Title" style="width:95%"/></td>
148
        <td><input type="text" class="filter" data-column_num="4" placeholder="[% t('Title') %]" style="width:95%" /></td>
148
        <td id="homebranchfilter"></td>
149
        <td id="homebranchfilter"></td>
149
        <td><input type="text" class="filter" data-column_num="6" placeholder="Call number" style="width:95%"/></td>
150
        <td><input type="text" class="filter" data-column_num="6" placeholder="[% t('Call number') %]" style="width:95%" /></td>
150
        <td><input type="text" class="filter" data-column_num="7" placeholder="Available copy" style="width:95%"/></td>
151
        <td><input type="text" class="filter" data-column_num="7" placeholder="[% t('Available copy') %]" style="width:95%" /></td>
151
        <td><input type="text" class="filter" data-column_num="8" placeholder="Available enumeration" style="width:95%"/></td>
152
        <td><input type="text" class="filter" data-column_num="8" placeholder="[% t('Available enumeration') %]" style="width:95%" /></td>
152
        <td id="itemtype-filter"></td>
153
        <td id="itemtype-filter"></td>
153
        <td id="locationfilter"></td>
154
        <td id="locationfilter"></td>
154
        <td></td>
155
        <td></td>
Lines 157-163 Link Here
157
    </tfoot>
158
    </tfoot>
158
    </table>
159
    </table>
159
    [% ELSE %]
160
    [% ELSE %]
160
        <b>No items found.</b>
161
        <b>[% t('No items found.') %]</b>
161
    [% END %]
162
    [% END %]
162
</div>
163
</div>
163
164
Lines 166-195 Link Here
166
<div class="yui-b">
167
<div class="yui-b">
167
<div id="filters">
168
<div id="filters">
168
169
169
<form action="/cgi-bin/koha/circ/pendingreserves.pl" method="post" >
170
<form action="/cgi-bin/koha/circ/pendingreserves.pl" method="post">
170
<fieldset class="brief">
171
<fieldset class="brief">
171
<h4>Refine results</h4>
172
<h4>[% t('Refine results') %]</h4>
172
<ol>
173
<ol>
173
<li>
174
<li>
174
<label for="from">
175
<label for="from">
175
    Start date:
176
    [% t('Start date:') %]
176
</label>
177
</label>
177
<input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="datepickerfrom" />
178
<input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="datepickerfrom" />
178
</li>
179
</li>
179
<li><label for="to">
180
<li><label for="to">
180
    End date:
181
    [% t('End date:') %]
181
</label>
182
</label>
182
<input type="text" size="10" id="to" name="to" value="[% to | $KohaDates %]" class="datepickerto" />
183
<input type="text" size="10" id="to" name="to" value="[% to | $KohaDates %]" class="datepickerto" />
183
</li>
184
</li>
184
</ol>
185
</ol>
185
186
186
[% IF ( HoldsToPullEndDate ) %]
187
[% IF ( HoldsToPullEndDate ) %]
187
    <p><i>(Inclusive, default is [% HoldsToPullStartDate %] days ago to [% HoldsToPullEndDate %] days ahead. Set other date ranges as needed.)</i></p>
188
    <p><i>[% t('(Inclusive, default is') %] [% HoldsToPullStartDate %] [% t('days ago to') %] [% HoldsToPullEndDate %] [% t('days ahead. Set other date ranges as needed.)') %]</i></p>
188
[% ELSE %]
189
[% ELSE %]
189
    <p><i>(Inclusive, default is [% HoldsToPullStartDate %] days ago to today. Set other date ranges as needed.)</i></p>
190
    <p><i>[% t('(Inclusive, default is') %] [% HoldsToPullStartDate %] [% t('days ago to today. Set other date ranges as needed.)') %]</i></p>
190
[% END %]
191
[% END %]
191
192
192
<fieldset class="action"><input type="submit" name="run_report" value="Submit" class="submit"/></fieldset>
193
<fieldset class="action"><input type="submit" name="run_report" value="Submit" class="submit" /></fieldset>
193
</fieldset>
194
</fieldset>
194
</form>
195
</form>
195
196
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt (-6 / +7 lines)
Lines 1-14 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% IF ( caller == 'hold-transfer' ) %]
5
[% IF ( caller == 'hold-transfer' ) %]
5
<title>Koha &rsaquo; Circulation &rsaquo; Hold transfer print receipt</title>
6
<title>[% t('Koha › Circulation › Hold transfer print receipt') %]</title>
6
[% ELSIF ( caller == 'transfer' ) %]
7
[% ELSIF ( caller == 'transfer' ) %]
7
<title>Koha &rsaquo; Circulation &rsaquo; Transfers print receipt</title>
8
<title>[% t('Koha › Circulation › Transfers print receipt') %]</title>
8
[% ELSIF ( caller == 'members' ) %]
9
[% ELSIF ( caller == 'members' ) %]
9
<title>Koha &rsaquo; Patrons &rsaquo; Print receipt for [% borrowernumber %]</title>
10
<title>[% t('Koha › Patrons › Print receipt for') %] [% borrowernumber %]</title>
10
[% ELSIF ( title ) %][%# FIXME title is never defined %]
11
[% ELSIF ( title ) %][%# FIXME title is never defined %]
11
<title>Koha &rsaquo; Patrons &rsaquo; [% title %]</title>
12
<title>[% t('Koha › Patrons ›') %] [% title %]</title>
12
[% END %]
13
[% END %]
13
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
14
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
15
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Lines 25-34 Link Here
25
26
26
[% IF plain %]
27
[% IF plain %]
27
<pre>
28
<pre>
28
[% IF ( slip ) %][% slip %][% ELSE %]No slip template found[% END %]
29
[% IF ( slip ) %][% slip %][% ELSE %][% t('No slip template found') %][% END %]
29
</pre>
30
</pre>
30
[% ELSE %]
31
[% ELSE %]
31
[% IF ( slip ) %][% slip %][% ELSE %]No slip template found[% END %]
32
[% IF ( slip ) %][% slip %][% ELSE %][% t('No slip template found') %][% END %]
32
[% END %]
33
[% END %]
33
34
34
[% INCLUDE 'intranet-bottom.inc' %]
35
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt (-34 / +35 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
6
6
<title>Koha &rsaquo; Circulation &rsaquo; Renew [% title |html %]</title>
7
<title>[% t('Koha › Circulation › Renew') %] [% title |html %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
9
</head>
9
10
Lines 12-18 Link Here
12
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'circ-search.inc' %]
14
[% INCLUDE 'circ-search.inc' %]
14
15
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Renew</div>
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> [% t('› Renew') %]</div>
16
17
17
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
18
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
18
    <div id="bd">
19
    <div id="bd">
Lines 20-78 Link Here
20
            [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
21
            [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
21
                [% IF error %]
22
                [% IF error %]
22
                    <div class="dialog alert">
23
                    <div class="dialog alert">
23
                        <h3>Cannot renew:</h3>
24
                        <h3>[% t('Cannot renew:') %]</h3>
24
25
25
                            [% IF error == "no_item" %]
26
                            [% IF error == "no_item" %]
26
27
27
                                <p>No item matches this barcode</p>
28
                                <p>[% t('No item matches this barcode') %]</p>
28
29
29
                            [% ELSIF error == "no_checkout" %]
30
                            [% ELSIF error == "no_checkout" %]
30
31
31
                                <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&amp;biblionumber=[% item.biblio.biblionumber %]&amp;bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> ) is not checked out to a patron.</p>
32
                                <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblio.biblionumber %]&bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> [% t(') is not checked out to a patron.') %]</p>
32
33
33
                            [% ELSIF error == "too_many" %]
34
                            [% ELSIF error == "too_many" %]
34
35
35
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been renewed the maximum number of times by [% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> )</p>
36
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] [% t(') has been renewed the maximum number of times by') %] [% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> )</p>
36
37
37
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
38
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
38
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
39
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
39
                                        <input type="hidden" name="barcode" value="[% item.barcode %]"/>
40
                                        <input type="hidden" name="barcode" value="[% item.barcode %]" />
40
                                        <input type="hidden" name="override_limit" value="1" />
41
                                        <input type="hidden" name="override_limit" value="1" />
41
                                        <button type="submit" class="approve"><i class="fa fa-check"></i> Override limit and renew</button>
42
                                        <button type="submit" class="approve"><i class="fa fa-check"></i> [% t('Override limit and renew') %]</button>
42
                                    </form>
43
                                    </form>
43
                                [% END %]
44
                                [% END %]
44
45
45
                            [% ELSIF error == "too_soon" %]
46
                            [% ELSIF error == "too_soon" %]
46
47
47
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
48
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] [% t(') cannot be renewed before') %] [% soonestrenewdate | $KohaDates %]. </p>
48
49
49
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
50
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
50
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
51
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
51
                                        <input type="hidden" name="barcode" value="[% item.barcode %]"/>
52
                                        <input type="hidden" name="barcode" value="[% item.barcode %]" />
52
                                        <input type="hidden" name="override_limit" value="1" />
53
                                        <input type="hidden" name="override_limit" value="1" />
53
                                        <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
54
                                        <button type="submit" class="approve"><i class="fa fa-check"></i> [% t('Override and renew') %]</button>
54
                                    </form>
55
                                    </form>
55
                                [% END %]
56
                                [% END %]
56
57
57
                            [% ELSIF error == "auto_too_soon" %]
58
                            [% ELSIF error == "auto_too_soon" %]
58
59
59
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
60
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] [% t(') has been scheduled for automatic renewal and cannot be renewed before') %] [% soonestrenewdate | $KohaDates %]. </p>
60
61
61
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
62
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
62
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
63
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
63
                                        <input type="hidden" name="barcode" value="[% item.barcode %]"/>
64
                                        <input type="hidden" name="barcode" value="[% item.barcode %]" />
64
                                        <input type="hidden" name="override_limit" value="1" />
65
                                        <input type="hidden" name="override_limit" value="1" />
65
                                        <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
66
                                        <button type="submit" class="approve"><i class="fa fa-check"></i> [% t('Override and renew') %]</button>
66
                                    </form>
67
                                    </form>
67
                                [% END %]
68
                                [% END %]
68
69
69
                            [% ELSIF error == "auto_too_late" %]
70
                            [% ELSIF error == "auto_too_late" %]
70
71
71
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal and cannot be renewed anymore since [% latestautorenewdate | $KohaDates %]. </p>
72
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] [% t(') has been scheduled for automatic renewal and cannot be renewed anymore since') %] [% latestautorenewdate | $KohaDates %]. </p>
72
73
73
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
74
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
74
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
75
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
75
                                        <input type="hidden" name="barcode" value="[% item.barcode %]"/>
76
                                        <input type="hidden" name="barcode" value="[% item.barcode %]" />
76
                                        <input type="hidden" name="override_limit" value="1" />
77
                                        <input type="hidden" name="override_limit" value="1" />
77
                                        <input type="submit" class="approve" value="Override and renew" />
78
                                        <input type="submit" class="approve" value="Override and renew" />
78
                                    </form>
79
                                    </form>
Lines 80-90 Link Here
80
81
81
                            [% ELSIF error == "auto_account_expired" %]
82
                            [% ELSIF error == "auto_account_expired" %]
82
83
83
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal and cannot be renewed because the patron's account is expired</p>
84
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] [% t(') has been scheduled for automatic renewal and cannot be renewed because the patron\'s account is expired') %]</p>
84
85
85
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
86
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
86
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
87
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
87
                                        <input type="hidden" name="barcode" value="[% item.barcode %]"/>
88
                                        <input type="hidden" name="barcode" value="[% item.barcode %]" />
88
                                        <input type="hidden" name="override_limit" value="1" />
89
                                        <input type="hidden" name="override_limit" value="1" />
89
                                        <input type="submit" class="approve" value="Override and renew" />
90
                                        <input type="submit" class="approve" value="Override and renew" />
90
                                    </form>
91
                                    </form>
Lines 92-121 Link Here
92
93
93
                            [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %]
94
                            [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %]
94
95
95
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) has been scheduled for automatic renewal. </p>
96
                                <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] [% t(') has been scheduled for automatic renewal.') %] </p>
96
97
97
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
98
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
98
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
99
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
99
                                        <input type="hidden" name="barcode" value="[% item.barcode %]"/>
100
                                        <input type="hidden" name="barcode" value="[% item.barcode %]" />
100
                                        <input type="hidden" name="override_limit" value="1" />
101
                                        <input type="hidden" name="override_limit" value="1" />
101
                                        <button type="submit" class="approve"><i class="fa fa-check"></i> Override limit and renew</button>
102
                                        <button type="submit" class="approve"><i class="fa fa-check"></i> [% t('Override limit and renew') %]</button>
102
                                    </form>
103
                                    </form>
103
                                [% END %]
104
                                [% END %]
104
105
105
                            [% ELSIF error == "on_reserve" %]
106
                            [% ELSIF error == "on_reserve" %]
106
107
107
                                <p>This item is on hold for another patron.</p>
108
                                <p>[% t('This item is on hold for another patron.') %]</p>
108
109
109
                                <form method="post" action="/cgi-bin/koha/circ/renew.pl">
110
                                <form method="post" action="/cgi-bin/koha/circ/renew.pl">
110
                                    <input type="hidden" name="barcode" value="[% item.barcode %]"/>
111
                                    <input type="hidden" name="barcode" value="[% item.barcode %]" />
111
                                    <input type="hidden" name="override_limit" value="1" />
112
                                    <input type="hidden" name="override_limit" value="1" />
112
                                    <input type="hidden" name="override_holds" value="1" />
113
                                    <input type="hidden" name="override_holds" value="1" />
113
                                    <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
114
                                    <button type="submit" class="approve"><i class="fa fa-check"></i> [% t('Override and renew') %]</button>
114
                                </form>
115
                                </form>
115
116
116
                            [% ELSIF error == "patron_restricted" %]
117
                            [% ELSIF error == "patron_restricted" %]
117
118
118
                                <p>[% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> ) is currently restricted.</p>
119
                                <p>[% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> [% t(') is currently restricted.') %]</p>
119
120
120
                            [% ELSE %]
121
                            [% ELSE %]
121
122
Lines 124-143 Link Here
124
                            [% END %]
125
                            [% END %]
125
126
126
                                <form method="get" action="/cgi-bin/koha/circ/renew.pl">
127
                                <form method="get" action="/cgi-bin/koha/circ/renew.pl">
127
                                    <button type="submit" class="deny"><i class="fa fa-times"></i> Continue without renewing</button>
128
                                    <button type="submit" class="deny"><i class="fa fa-times"></i> [% t('Continue without renewing') %]</button>
128
                                </form>
129
                                </form>
129
                    </div>
130
                    </div>
130
                [% END %]
131
                [% END %]
131
132
132
                [% IF date_due %]
133
                [% IF date_due %]
133
                    <div class="dialog message">
134
                    <div class="dialog message">
134
                        <h3>Item renewed:</h3>
135
                        <h3>[% t('Item renewed:') %]</h3>
135
                        <p>
136
                        <p>
136
                            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a>
137
                            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a>
137
                            ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&amp;biblionumber=[% item.biblio.biblionumber %]&amp;bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> )
138
                            ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblio.biblionumber %]&bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> )
138
                            renewed for
139
                            [% t('renewed for') %]
139
                            [% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> )
140
                            [% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> )
140
                            now due on [% date_due | $KohaDates %]
141
                            [% t('now due on') %] [% date_due | $KohaDates %]
141
                        </p>
142
                        </p>
142
                    </div>
143
                    </div>
143
                [% END %]
144
                [% END %]
Lines 145-159 Link Here
145
            <div class="yui-g">
146
            <div class="yui-g">
146
147
147
            [% UNLESS error %]
148
            [% UNLESS error %]
148
                <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off" >
149
                <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
149
150
150
                    <div class="yui-u first">
151
                    <div class="yui-u first">
151
                        <fieldset>
152
                        <fieldset>
152
                            <legend>Renew</legend>
153
                            <legend>[% t('Renew') %]</legend>
153
154
154
                            <label for="barcode">Enter item barcode: </label>
155
                            <label for="barcode">[% t('Enter item barcode:') %] </label>
155
156
156
                            <input name="barcode" id="barcode" size="14" class="focus"/>
157
                            <input name="barcode" id="barcode" size="14" class="focus" />
157
158
158
                            <input type="submit" class="submit" value="Submit" />
159
                            <input type="submit" class="submit" value="Submit" />
159
                        </fieldset>
160
                        </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt (-67 / +68 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 6-12 Link Here
6
[% SET article_requests_view = 1 %]
7
[% SET article_requests_view = 1 %]
7
[% SET biblionumber = biblio.biblionumber %]
8
[% SET biblionumber = biblio.biblionumber %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Koha &rsaquo; Circulation &rsaquo; Request article</title>
10
<title>[% t('Koha › Circulation › Request article') %]</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
[% Asset.css("css/datatables.css") %]
12
[% Asset.css("css/datatables.css") %]
12
</head>
13
</head>
Lines 16-28 Link Here
16
    [% INCLUDE 'circ-search.inc' %]
17
    [% INCLUDE 'circ-search.inc' %]
17
18
18
    <div id="breadcrumbs">
19
    <div id="breadcrumbs">
19
        <a href="/cgi-bin/koha/mainpage.pl">Home</a>
20
        <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a>
20
        &rsaquo;
21
21
        <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
22
        <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a>
22
        &rsaquo;
23
23
        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% biblio.title | html %]</a>
24
        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% biblio.title | html %]</a>
24
        &rsaquo;
25
25
        Request article
26
        [% t('Request article') %]
26
    </div>
27
    </div>
27
28
28
    <div id="doc3" class="yui-t2">
29
    <div id="doc3" class="yui-t2">
Lines 30-40 Link Here
30
            <div id="yui-main">
31
            <div id="yui-main">
31
                <div class="yui-b">
32
                <div class="yui-b">
32
33
33
                    <h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id %]">[% biblio.title | html %]</a></h1>
34
                    <h1>[% t('Request article from') %] <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id %]">[% biblio.title | html %]</a></h1>
34
                    [% IF no_patrons_found %]
35
                    [% IF no_patrons_found %]
35
                        <div class="dialog alert">
36
                        <div class="dialog alert">
36
                            <h3>Patron not found</h3>
37
                            <h3>[% t('Patron not found') %]</h3>
37
                            <p>No patron with this name, please, try another</p>
38
                            <p>[% t('No patron with this name, please, try another') %]</p>
38
                        </div>
39
                        </div>
39
                    [% ELSIF patrons %]
40
                    [% ELSIF patrons %]
40
                        <form id="article_request_patron_results" method="post">
41
                        <form id="article_request_patron_results" method="post">
Lines 43-59 Link Here
43
                                    <thead>
44
                                    <thead>
44
                                        <tr>
45
                                        <tr>
45
                                            <th></th>
46
                                            <th></th>
46
                                            <th>Name</th>
47
                                            <th>[% t('Name') %]</th>
47
                                            <th>Cardnumber</th>
48
                                            <th>[% t('Cardnumber') %]</th>
48
                                            <th>Category</th>
49
                                            <th>[% t('Category') %]</th>
49
                                            <th>Library</th>
50
                                            <th>[% t('Library') %]</th>
50
                                            <th>Address</th>
51
                                            <th>[% t('Address') %]</th>
51
                                        </tr>
52
                                        </tr>
52
                                    </thead>
53
                                    </thead>
53
                                    <tbody>
54
                                    <tbody>
54
                                        [% FOREACH patron IN patrons %]
55
                                        [% FOREACH patron IN patrons %]
55
                                            <tr>
56
                                            <tr>
56
                                                <td><input type="radio" name="patron_id" value="[% patron.borrowernumber %]"/></td>
57
                                                <td><input type="radio" name="patron_id" value="[% patron.borrowernumber %]" /></td>
57
                                                <td>[% patron.surname %], [% patron.firstname %]</td>
58
                                                <td>[% patron.surname %], [% patron.firstname %]</td>
58
                                                <td>[% patron.cardnumber %]</td>
59
                                                <td>[% patron.cardnumber %]</td>
59
                                                <td>[% patron.categorycode %]</td>
60
                                                <td>[% patron.categorycode %]</td>
Lines 70-77 Link Here
70
                    [% ELSIF !patron %]
71
                    [% ELSIF !patron %]
71
                        <form id="article_requests_patronsearch" action="request-article.pl" method="post">
72
                        <form id="article_requests_patronsearch" action="request-article.pl" method="post">
72
                            <fieldset class="brief">
73
                            <fieldset class="brief">
73
                                <label for="patron">Patron: </label>
74
                                <label for="patron">[% t('Patron:') %] </label>
74
                                <div class="hint">Enter patron card number or partial name:</div>
75
                                <div class="hint">[% t('Enter patron card number or partial name:') %]</div>
75
                                <input type="text" size="40" id="patron" class="focus" name="patron_cardnumber" />
76
                                <input type="text" size="40" id="patron" class="focus" name="patron_cardnumber" />
76
                                <input type="submit" value="Search" />
77
                                <input type="submit" value="Search" />
77
                                <input type="hidden" name="biblionumber" value="[% biblio.id %]" />
78
                                <input type="hidden" name="biblionumber" value="[% biblio.id %]" />
Lines 86-136 Link Here
86
                                <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.id %]" />
87
                                <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.id %]" />
87
88
88
                                <fieldset class="rows">
89
                                <fieldset class="rows">
89
                                    <legend>Place article request from [% biblio.title %] for [% patron.firstname %] [% patron.surname %] ( [% patron.cardnumber %] )</legend>
90
                                    <legend>[% t('Place article request from') %] [% biblio.title %] [% t('for') %] [% patron.firstname %] [% patron.surname %] ( [% patron.cardnumber %] )</legend>
90
                                    <p/>
91
                                    <p />
91
                                    <ul>
92
                                    <ul>
92
                                        <li>
93
                                        <li>
93
                                            <label for="title">Title:</label>
94
                                            <label for="title">[% t('Title:') %]</label>
94
                                            <input type="text" name="title" id="title" size="50"/>
95
                                            <input type="text" name="title" id="title" size="50" />
95
                                        </li>
96
                                        </li>
96
97
97
                                        <li>
98
                                        <li>
98
                                            <label for="author">Author:</label>
99
                                            <label for="author">[% t('Author:') %]</label>
99
                                            <input type="text" name="author" id="author" size="50"/>
100
                                            <input type="text" name="author" id="author" size="50" />
100
                                        </li>
101
                                        </li>
101
102
102
                                        <li>
103
                                        <li>
103
                                            <label for="volume">Volume:</label>
104
                                            <label for="volume">[% t('Volume:') %]</label>
104
                                            <input type="text" name="volume" id="volume" size="50"/>
105
                                            <input type="text" name="volume" id="volume" size="50" />
105
                                        </li>
106
                                        </li>
106
107
107
                                        <li>
108
                                        <li>
108
                                            <label for="issue">Issue:</label>
109
                                            <label for="issue">[% t('Issue:') %]</label>
109
                                            <input type="text" name="issue" id="issue" size="50"/>
110
                                            <input type="text" name="issue" id="issue" size="50" />
110
                                        </li>
111
                                        </li>
111
112
112
                                        <li>
113
                                        <li>
113
                                            <label for="date">Date:</label>
114
                                            <label for="date">[% t('Date:') %]</label>
114
                                            <input type="text" name="date" id="date" size="50"/>
115
                                            <input type="text" name="date" id="date" size="50" />
115
                                        </li>
116
                                        </li>
116
117
117
                                        <li>
118
                                        <li>
118
                                            <label for="pages">Pages:</label>
119
                                            <label for="pages">[% t('Pages:') %]</label>
119
                                            <input type="text" name="pages" id="pages" size="50"/>
120
                                            <input type="text" name="pages" id="pages" size="50" />
120
                                        </li>
121
                                        </li>
121
122
122
                                        <li>
123
                                        <li>
123
                                            <label for="chapters">Chapters:</label>
124
                                            <label for="chapters">[% t('Chapters:') %]</label>
124
                                            <input type="text" name="chapters" id="chapters" size="50"/>
125
                                            <input type="text" name="chapters" id="chapters" size="50" />
125
                                        </li>
126
                                        </li>
126
127
127
                                        <li>
128
                                        <li>
128
                                            <label for="patron_notes">Patron notes:</label>
129
                                            <label for="patron_notes">[% t('Patron notes:') %]</label>
129
                                            <input type="text" name="patron_notes" id="patron_notes" size="50"/>
130
                                            <input type="text" name="patron_notes" id="patron_notes" size="50" />
130
                                        </li>
131
                                        </li>
131
132
132
                                        <li>
133
                                        <li>
133
                                            <label for="branchcode">Pickup library:</label>
134
                                            <label for="branchcode">[% t('Pickup library:') %]</label>
134
                                            <select name="branchcode" id="branchcode">
135
                                            <select name="branchcode" id="branchcode">
135
                                                [% FOREACH b IN Branches.all %]
136
                                                [% FOREACH b IN Branches.all %]
136
                                                    [% IF b.branchcode == Branches.GetLoggedInBranchcode %]
137
                                                    [% IF b.branchcode == Branches.GetLoggedInBranchcode %]
Lines 147-161 Link Here
147
                                [% SET article_request_type = biblio.article_request_type( patron ) %]
148
                                [% SET article_request_type = biblio.article_request_type( patron ) %]
148
                                [% IF article_request_type != 'bib_only' %]
149
                                [% IF article_request_type != 'bib_only' %]
149
                                    <table id="current-requests-table" class="ar-table table table-bordered table-striped">
150
                                    <table id="current-requests-table" class="ar-table table table-bordered table-striped">
150
                                        <caption>Select item:</caption>
151
                                        <caption>[% t('Select item:') %]</caption>
151
                                        <thead>
152
                                        <thead>
152
                                            <tr>
153
                                            <tr>
153
                                                <th>&nbsp;</th>
154
                                                <th> </th>
154
                                                <th>Item type</th>
155
                                                <th>[% t('Item type') %]</th>
155
                                                <th>Barcode</th>
156
                                                <th>[% t('Barcode') %]</th>
156
                                                <th>Home library</th>
157
                                                <th>[% t('Home library') %]</th>
157
                                                <th>Call number</th>
158
                                                <th>[% t('Call number') %]</th>
158
                                                <th>Enumeration</th>
159
                                                <th>[% t('Enumeration') %]</th>
159
                                            </tr>
160
                                            </tr>
160
                                        </thead>
161
                                        </thead>
161
162
Lines 193-202 Link Here
193
                                            [% IF article_request_type != 'item_only' %]
194
                                            [% IF article_request_type != 'item_only' %]
194
                                                <tr>
195
                                                <tr>
195
                                                    <td>
196
                                                    <td>
196
                                                        <input type="radio" name="itemnumber" value="" checked="checked"/>
197
                                                        <input type="radio" name="itemnumber" value="" checked="checked" />
197
                                                    </td>
198
                                                    </td>
198
                                                    <td colspan="5">
199
                                                    <td colspan="5">
199
                                                        Any item
200
                                                        [% t('Any item') %]
200
                                                    </td>
201
                                                    </td>
201
                                                </tr>
202
                                                </tr>
202
                                            [% END %]
203
                                            [% END %]
Lines 209-239 Link Here
209
                                </p>
210
                                </p>
210
                            </form>
211
                            </form>
211
                        [% ELSE %]
212
                        [% ELSE %]
212
                            No article requests can be made for this record.
213
                            [% t('No article requests can be made for this record.') %]
213
                        [% END %]
214
                        [% END %]
214
215
215
                    [% END %]
216
                    [% END %]
216
217
217
                    [% IF biblio.article_requests_current && !patron %]
218
                    [% IF biblio.article_requests_current && !patron %]
218
                        <fieldset class="rows left" id="current-article-requests-fieldset">
219
                        <fieldset class="rows left" id="current-article-requests-fieldset">
219
                            <legend>Current article requests</legend>
220
                            <legend>[% t('Current article requests') %]</legend>
220
221
221
                            <table id="current-article-requests-table">
222
                            <table id="current-article-requests-table">
222
                                <tr>
223
                                <tr>
223
                                    <th>Placed on</th>
224
                                    <th>[% t('Placed on') %]</th>
224
                                    <th>Patron</th>
225
                                    <th>[% t('Patron') %]</th>
225
                                    <th>Title</th>
226
                                    <th>[% t('Title') %]</th>
226
                                    <th>Author</th>
227
                                    <th>[% t('Author') %]</th>
227
                                    <th>Volume</th>
228
                                    <th>[% t('Volume') %]</th>
228
                                    <th>Issue</th>
229
                                    <th>[% t('Issue') %]</th>
229
                                    <th>Date</th>
230
                                    <th>[% t('Date') %]</th>
230
                                    <th>Pages</th>
231
                                    <th>[% t('Pages') %]</th>
231
                                    <th>Chapters</th>
232
                                    <th>[% t('Chapters') %]</th>
232
                                    <th>Patron notes</th>
233
                                    <th>[% t('Patron notes') %]</th>
233
                                    <th>Item</th>
234
                                    <th>[% t('Item') %]</th>
234
                                    <th>Status</th>
235
                                    <th>[% t('Status') %]</th>
235
                                    <th>Pickup library</th>
236
                                    <th>[% t('Pickup library') %]</th>
236
                                    <th>&nbsp;</th>
237
                                    <th> </th>
237
                                </tr>
238
                                </tr>
238
239
239
                                [% FOREACH ar IN biblio.article_requests_current %]
240
                                [% FOREACH ar IN biblio.article_requests_current %]
Lines 255-267 Link Here
255
                                        </td>
256
                                        </td>
256
                                        <td>
257
                                        <td>
257
                                            [% IF ar.status == 'PENDING' %]
258
                                            [% IF ar.status == 'PENDING' %]
258
                                                Pending
259
                                                [% t('Pending') %]
259
                                            [% ELSIF ar.status == 'PROCESSING' %]
260
                                            [% ELSIF ar.status == 'PROCESSING' %]
260
                                                Processing
261
                                                [% t('Processing') %]
261
                                            [% ELSIF ar.status == 'COMPLETED' %]
262
                                            [% ELSIF ar.status == 'COMPLETED' %]
262
                                                Completed
263
                                                [% t('Completed') %]
263
                                            [% ELSIF ar.status == 'CANCELED' %]
264
                                            [% ELSIF ar.status == 'CANCELED' %]
264
                                                Canceled
265
                                                [% t('Canceled') %]
265
                                            [% END %]
266
                                            [% END %]
266
                                        </td>
267
                                        </td>
267
                                        <td>
268
                                        <td>
Lines 277-283 Link Here
277
                                            </select>
278
                                            </select>
278
                                        </td>
279
                                        </td>
279
                                        <td>
280
                                        <td>
280
                                            <a title="Cancel article request" href="#" id="cancel-[% ar.id %]" class="ar-cancel-request">
281
                                            <a title="[% t('Cancel article request') %]" href="#" id="cancel-[% ar.id %]" class="ar-cancel-request">
281
                                                <i id="cancel-processing-spinner-[% ar.id %]" class="fa fa-cog fa-spin hide"></i>
282
                                                <i id="cancel-processing-spinner-[% ar.id %]" class="fa fa-cog fa-spin hide"></i>
282
                                                <i id="cancel-processing-[% ar.id %]" class="fa fa-times fa-lg" style="color:red"></i>
283
                                                <i id="cancel-processing-[% ar.id %]" class="fa fa-times fa-lg" style="color:red"></i>
283
                                            </a>
284
                                            </a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-30 / +31 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
Lines 5-11 Link Here
5
[% USE ItemTypes %]
6
[% USE ItemTypes %]
6
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Koha &rsaquo; Circulation &rsaquo; Hold ratios</title>
9
<title>[% t('Koha › Circulation › Hold ratios') %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
[% Asset.css("css/datatables.css") %]
11
[% Asset.css("css/datatables.css") %]
11
<style type="text/css">
12
<style type="text/css">
Lines 20-51 Link Here
20
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'circ-search.inc' %]
22
[% INCLUDE 'circ-search.inc' %]
22
23
23
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Hold ratios</div>
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> [% t('› Hold ratios') %]</div>
24
25
25
<div id="doc3" class="yui-t2">
26
<div id="doc3" class="yui-t2">
26
   <div id="bd">
27
   <div id="bd">
27
    <div id="yui-main">
28
    <div id="yui-main">
28
    <div class="yui-b">
29
    <div class="yui-b">
29
<h1>Hold ratios to calculate items needed</h1>
30
<h1>[% t('Hold ratios to calculate items needed') %]</h1>
30
   <h3>Calculated on [% todaysdate | $KohaDates %]. From [% from | $KohaDates %]
31
   <h3>[% t('Calculated on') %] [% todaysdate | $KohaDates %][% t('. From') %] [% from | $KohaDates %]
31
    to [% to | $KohaDates %]</h3>
32
    [% t('to') %] [% to | $KohaDates %]</h3>
32
<p>These items have a hold ratio &ge; [% ratio %].</p>
33
<p>[% t('These items have a hold ratio ≥') %] [% ratio %].</p>
33
<div class="sql">[% sql %]</div>
34
<div class="sql">[% sql %]</div>
34
35
35
[% IF ( reserveloop ) %]
36
[% IF ( reserveloop ) %]
36
    <table id="holdst">
37
    <table id="holdst">
37
      <thead>
38
      <thead>
38
        <tr>
39
        <tr>
39
          <th>Holds</th>
40
          <th>[% t('Holds') %]</th>
40
          <th>Items</th>
41
          <th>[% t('Items') %]</th>
41
          <th>Hold ratio</th>
42
          <th>[% t('Hold ratio') %]</th>
42
          <th>Title</th>
43
          <th>[% t('Title') %]</th>
43
          <th>Home libraries</th>
44
          <th>[% t('Home libraries') %]</th>
44
          <th>Holding libraries</th>
45
          <th>[% t('Holding libraries') %]</th>
45
          <th>Location</th>
46
          <th>[% t('Location') %]</th>
46
          <th>Itype</th>
47
          <th>[% t('Itype') %]</th>
47
          <th>Call numbers</th>
48
          <th>[% t('Call numbers') %]</th>
48
          <th>Items needed</th>
49
          <th>[% t('Items needed') %]</th>
49
        </tr>
50
        </tr>
50
      </thead>
51
      </thead>
51
      <tbody>
52
      <tbody>
Lines 54-60 Link Here
54
            <td><p>[% reserveloo.reservecount %]</p></td>
55
            <td><p>[% reserveloo.reservecount %]</p></td>
55
            <td><p>[% reserveloo.itemcount %]</p></td>
56
            <td><p>[% reserveloo.itemcount %]</p></td>
56
            <td><p class="ratiolimit">[% reserveloo.thisratio %]</p></td>
57
            <td><p class="ratiolimit">[% reserveloo.thisratio %]</p></td>
57
            <td> [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% reserveloo.title |html %] [% IF ( reserveloo.subtitle ) %][% FOREACH subtitl IN reserveloo.subtitle %][% subtitl.subfield %][% END %][% END %]</a>[% IF ( reserveloo.author ) %] by [% reserveloo.author %][% END %]
58
            <td> [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% reserveloo.title |html %] [% IF ( reserveloo.subtitle ) %][% FOREACH subtitl IN reserveloo.subtitle %][% subtitl.subfield %][% END %][% END %]</a>[% IF ( reserveloo.author ) %] [% t('by') %] [% reserveloo.author %][% END %]
58
            </td>
59
            </td>
59
            <td>
60
            <td>
60
                  <ul>
61
                  <ul>
Lines 91-139 Link Here
91
                      [% END %]
92
                      [% END %]
92
                  </ul>
93
                  </ul>
93
            </td>
94
            </td>
94
            <td>[% IF ( reserveloo.thisratio_atleast1 ) %]<p>[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]<!-- [% reserveloo.ratiocalc %] --><a href="/cgi-bin/koha/acqui/neworderempty.pl?biblionumber=[% reserveloo.biblionumber %]&amp;booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;rr_quantity_to_order=[% reserveloo.ratiocalc %]">[% END %]<b>[% reserveloo.ratiocalc %] to order</b>[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]</a>[% END %]
95
            <td>[% IF ( reserveloo.thisratio_atleast1 ) %]<p>[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]<!-- [% reserveloo.ratiocalc %] --><a href="/cgi-bin/koha/acqui/neworderempty.pl?biblionumber=[% reserveloo.biblionumber %]&booksellerid=[% booksellerid %]&basketno=[% basketno %]&rr_quantity_to_order=[% reserveloo.ratiocalc %]">[% END %]<b>[% reserveloo.ratiocalc %] [% t('to order') %]</b>[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]</a>[% END %]
95
            [% IF ( reserveloo.pendingorders ) %]<br><b>[% reserveloo.pendingorders %] pending</b>[% END %]</p>[% END %]</td>
96
            [% IF ( reserveloo.pendingorders ) %]<br><b>[% reserveloo.pendingorders %] [% t('pending') %]</b>[% END %]</p>[% END %]</td>
96
        </tr>
97
        </tr>
97
      [% END %]
98
      [% END %]
98
      </tbody>
99
      </tbody>
99
    </table>
100
    </table>
100
    [% ELSE %]
101
    [% ELSE %]
101
        <b>No items found.</b>
102
        <b>[% t('No items found.') %]</b>
102
    [% END %]
103
    [% END %]
103
</div>
104
</div>
104
</div>
105
</div>
105
<div class="yui-b">
106
<div class="yui-b">
106
<form action="/cgi-bin/koha/circ/reserveratios.pl" method="post" >
107
<form action="/cgi-bin/koha/circ/reserveratios.pl" method="post">
107
<fieldset class="brief">
108
<fieldset class="brief">
108
<h4>Refine results:</h4>
109
<h4>[% t('Refine results:') %]</h4>
109
<ol>
110
<ol>
110
    <li>
111
    <li>
111
        <label for="ratio">Hold ratio:</label>
112
        <label for="ratio">[% t('Hold ratio:') %]</label>
112
        <input type="text" size="5" id="ratio" name="ratio" value="[% ratio %]" />
113
        <input type="text" size="5" id="ratio" name="ratio" value="[% ratio %]" />
113
    <li>
114
    <li>
114
115
115
    <li>
116
    <li>
116
        <label for="include_ordered">Included ordered:</label>
117
        <label for="include_ordered">[% t('Included ordered:') %]</label>
117
        [% IF include_ordered %]
118
        [% IF include_ordered %]
118
            <input id="include_ordered" name="include_ordered" type="checkbox" checked="checked"/>
119
            <input id="include_ordered" name="include_ordered" type="checkbox" checked="checked" />
119
        [% ELSE %]
120
        [% ELSE %]
120
            <input id="include_ordered" name="include_ordered" type="checkbox"/>
121
            <input id="include_ordered" name="include_ordered" type="checkbox" />
121
        [% END %]
122
        [% END %]
122
    <li>
123
    <li>
123
124
124
    <li>
125
    <li>
125
        <label for="from">Start date:</label>
126
        <label for="from">[% t('Start date:') %]</label>
126
        <input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="datepickerfrom" />
127
        <input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="datepickerfrom" />
127
    </li>
128
    </li>
128
129
129
    <li>
130
    <li>
130
        <label for="to">End date:</label>
131
        <label for="to">[% t('End date:') %]</label>
131
        <input size="10" id="to" name="to" value="[% to | $KohaDates %]" type="text" class="datepickerto" />
132
        <input size="10" id="to" name="to" value="[% to | $KohaDates %]" type="text" class="datepickerto" />
132
    </li>
133
    </li>
133
</ol>
134
</ol>
134
(inclusive)
135
[% t('(inclusive)') %]
135
136
136
<fieldset class="action"><input type="submit" value="Go" class="submit"/></fieldset>
137
<fieldset class="action"><input type="submit" value="Go" class="submit" /></fieldset>
137
</fieldset>
138
</fieldset>
138
[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]
139
[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]
139
<input type="hidden" name="booksellerid" value="[% booksellerid %]" />
140
<input type="hidden" name="booksellerid" value="[% booksellerid %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-123 / +124 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
Lines 9-24 Link Here
9
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %]
10
[% BLOCK display_bormessagepref %]
11
[% BLOCK display_bormessagepref %]
11
    [% IF ( bormessagepref ) %]
12
    [% IF ( bormessagepref ) %]
12
        <li>Patron notification:
13
        <li>[% t('Patron notification:') %]
13
            [% FOREACH mtt IN bormessagepref.keys %]
14
            [% FOREACH mtt IN bormessagepref.keys %]
14
                [%~ IF ( mtt == 'email' ) %] Email[% END ~%]
15
                [%~ IF ( mtt == 'email' ) %] [% t('Email') %][% END ~%]
15
                [%~ IF ( mtt == 'phone' ) %] Phone[% END ~%]
16
                [%~ IF ( mtt == 'phone' ) %] [% t('Phone') %][% END ~%]
16
                [%~ IF ( mtt == 'sms' ) %] SMS[% END ~%]
17
                [%~ IF ( mtt == 'sms' ) %] [% t('SMS') %][% END ~%]
17
                [%~ UNLESS loop.last %], [% ELSE %].[% END ~%]
18
                [%~ UNLESS loop.last %], [% ELSE %].[% END ~%]
18
            [% END %]
19
            [% END %]
19
        </li>
20
        </li>
20
           [% ELSE %]
21
           [% ELSE %]
21
        <li>Patron is not notified.</li>
22
        <li>[% t('Patron is not notified.') %]</li>
22
    [% END %]
23
    [% END %]
23
[% END %]
24
[% END %]
24
25
Lines 31-37 Link Here
31
[% END %]
32
[% END %]
32
33
33
[% INCLUDE 'doc-head-open.inc' %]
34
[% INCLUDE 'doc-head-open.inc' %]
34
<title>Koha &rsaquo; Circulation &rsaquo; Check in [% title |html %]</title>
35
<title>[% t('Koha › Circulation › Check in') %] [% title |html %]</title>
35
[% Asset.css("css/datatables.css") %]
36
[% Asset.css("css/datatables.css") %]
36
[% INCLUDE 'doc-head-close.inc' %]
37
[% INCLUDE 'doc-head-close.inc' %]
37
</head>
38
</head>
Lines 42-48 Link Here
42
[% INCLUDE 'header.inc' %]
43
[% INCLUDE 'header.inc' %]
43
[% INCLUDE 'checkin-search.inc' %]
44
[% INCLUDE 'checkin-search.inc' %]
44
45
45
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Check in</div>
46
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a> [% t('› Check in') %]</div>
46
47
47
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
48
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
48
49
Lines 52-81 Link Here
52
<div class="yui-g">
53
<div class="yui-g">
53
54
54
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
55
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
55
    <div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div>
56
    <div class="dialog alert"><strong>[% t('Error:') %]</strong> [% t('This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.') %]</div>
56
[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %]
57
[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %]
57
    <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div>
58
    <div class="dialog alert"><strong>[% t('Error:') %]</strong> [% t('The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.') %]</div>
58
[% END %]
59
[% END %]
59
60
60
[% IF additional_materials %]
61
[% IF additional_materials %]
61
    <div class="dialog message" id="materials">Note about the accompanying materials: <br />
62
    <div class="dialog message" id="materials">[% t('Note about the accompanying materials:') %] <br />
62
    [% additional_materials %]
63
    [% additional_materials %]
63
    </div>
64
    </div>
64
[% END %]
65
[% END %]
65
66
66
[% IF ( collectionItemNeedsTransferred ) %]
67
[% IF ( collectionItemNeedsTransferred ) %]
67
 <div id="rotating-collection" class="dialog message">
68
 <div id="rotating-collection" class="dialog message">
68
        <h3>Please transfer item to: [% Branches.GetName( collectionBranch ) %]</h3>
69
        <h3>[% t('Please transfer item to:') %] [% Branches.GetName( collectionBranch ) %]</h3>
69
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
70
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
70
            <p>This item is part of a rotating collection.</p>
71
            <p>[% t('This item is part of a rotating collection.') %]</p>
71
            <p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;branchcode=[% collectionBranch %]&amp;op=slip"><i class="fa fa-print"></i> Print slip</button></p>
72
            <p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% collectionBranch %]&op=slip"><i class="fa fa-print"></i> [% t('Print slip') %]</button></p>
72
</div>
73
</div>
73
[% END %]
74
[% END %]
74
75
75
<!-- Patron has added an issue note -->
76
<!-- Patron has added an issue note -->
76
[% IF ( issue.note) %]
77
[% IF ( issue.note) %]
77
    <div class="dialog message">
78
    <div class="dialog message">
78
        <h1>Patron note</h1>
79
        <h1>[% t('Patron note') %]</h1>
79
        <p>[% issue.notedate | $KohaDates %]</p>
80
        <p>[% issue.notedate | $KohaDates %]</p>
80
        <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]"> [% title |html %]</a> [% author %]</p>
81
        <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]"> [% title |html %]</a> [% author %]</p>
81
        <p>[% issue.note | html %]</p>
82
        <p>[% issue.note | html %]</p>
Lines 85-100 Link Here
85
<!-- Patron has fines -->
86
<!-- Patron has fines -->
86
[% IF ( fines ) %]
87
[% IF ( fines ) %]
87
    <div class="dialog alert">
88
    <div class="dialog alert">
88
        <h3>Patron has outstanding fines of [% fines %].</h3>
89
        <h3>[% t('Patron has outstanding fines of') %] [% fines %].</h3>
89
        <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
90
        <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">[% t('Make payment') %]</a>.</p>
90
    </div>
91
    </div>
91
[% END %]
92
[% END %]
92
93
93
<!-- Patron has waiting holds -->
94
<!-- Patron has waiting holds -->
94
[% IF ( waiting_holds ) %]
95
[% IF ( waiting_holds ) %]
95
    <div id="awaiting-pickup" class="dialog message">
96
    <div id="awaiting-pickup" class="dialog message">
96
        <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
97
        <h3>[% holdsfirstname %] [% holdssurname %] [% t('has') %] [% waiting_holds %] [% t('hold(s) waiting for pickup.') %]</h3>
97
        <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
98
        <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">[% t('Check out to this patron') %]</a>.</p>
98
    </div>
99
    </div>
99
[% END %]
100
[% END %]
100
101
Lines 105-120 Link Here
105
            <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">
106
            <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">
106
                [% patron.firstname %] [% patron.surname %]
107
                [% patron.firstname %] [% patron.surname %]
107
            </a>
108
            </a>
108
            is restricted. Please verify this patron should still be restricted.
109
            [% t('is restricted. Please verify this patron should still be restricted.') %]
109
        </h3>
110
        </h3>
110
    </div>
111
    </div>
111
[% END %]
112
[% END %]
112
113
113
[% IF ( wrongbranch ) %]
114
[% IF ( wrongbranch ) %]
114
    <div class="dialog alert"><h3>Cannot check in</h3>
115
    <div class="dialog alert"><h3>[% t('Cannot check in') %]</h3>
115
        <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
116
        <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
116
        </p><strong>NOT CHECKED IN</strong></p>
117
        </p><strong>[% t('NOT CHECKED IN') %]</strong></p>
117
        <p>This item must be checked in at following library: <strong>[% Branches.GetName( rightbranch ) %]</strong></p>
118
        <p>[% t('This item must be checked in at following library:') %] <strong>[% Branches.GetName( rightbranch ) %]</strong></p>
118
    </div>
119
    </div>
119
[% END %]
120
[% END %]
120
121
Lines 122-132 Link Here
122
[% IF ( WrongTransfer ) %]
123
[% IF ( WrongTransfer ) %]
123
    <div id="return2" class="dialog message">
124
    <div id="return2" class="dialog message">
124
        <!-- WrongTransfer -->
125
        <!-- WrongTransfer -->
125
        <h3>Please return item to: [% Branches.GetName( TransferWaitingAt ) %]</h3>
126
        <h3>[% t('Please return item to:') %] [% Branches.GetName( TransferWaitingAt ) %]</h3>
126
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
127
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
127
        <button type="submit" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;&amp;branchcode=[% TransferWaitingAt %]&amp;op=slip"><i class="fa fa-print"></i> Print transfer slip</button>
128
        <button type="submit" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% TransferWaitingAt %]&op=slip"><i class="fa fa-print"></i> [% t('Print transfer slip') %]</button>
128
        <button class="deny" type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&amp;canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button>
129
        <button class="deny" type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1'"><i class="fa fa-times"></i> [% t('Cancel transfer') %]</button>
129
[% IF ( patron.cardnumber ) %]<h5>Hold for:</h5>
130
[% IF ( patron.cardnumber ) %]<h5>[% t('Hold for:') %]</h5>
130
        <ul>
131
        <ul>
131
            <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">
132
            <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">
132
            [% patron.surname %], [% patron.firstname %]</a> ([% patron.cardnumber %]) <span class="patron-category"> - [% patron.category.description %]</span> </li>
133
            [% patron.surname %], [% patron.firstname %]</a> ([% patron.cardnumber %]) <span class="patron-category"> - [% patron.category.description %]</span> </li>
Lines 139-149 Link Here
139
            <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
140
            <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
140
            <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
141
            <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
141
            <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
142
            <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
142
            <button type="submit" class="approve"><i class="fa fa-check"></i> Confirm</button>
143
            <button type="submit" class="approve"><i class="fa fa-check"></i> [% t('Confirm') %]</button>
143
            <input type="hidden" name="print_slip" value="0" />
144
            <input type="hidden" name="print_slip" value="0" />
144
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
145
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
145
            <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
146
            <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
146
            <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>
147
            <button type="submit" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> [% t('Print slip and confirm') %]</button>
147
        <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
148
        <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
148
        <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
149
        <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
149
    </form>
150
    </form>
Lines 158-166 Link Here
158
            <form method="post" action="returns.pl" class="confirm">
159
            <form method="post" action="returns.pl" class="confirm">
159
                <div class="modal-header">
160
                <div class="modal-header">
160
                    <h3>
161
                    <h3>
161
                        Hold found (item is already waiting):
162
                        [% t('Hold found (item is already waiting):') %]
162
                        <br/>
163
                        <br />
163
                        <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">
164
                        <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">
164
                            [% itembarcode |html %]: [% title |html %]
165
                            [% itembarcode |html %]: [% title |html %]
165
                        </a>
166
                        </a>
166
                    </h3>
167
                    </h3>
Lines 168-177 Link Here
168
169
169
                <div class="modal-body">
170
                <div class="modal-body">
170
                    [% IF ( reservenotes ) %]
171
                    [% IF ( reservenotes ) %]
171
                        <h4>Notes: [% reservenotes %]</h4>
172
                        <h4>[% t('Notes:') %] [% reservenotes %]</h4>
172
                    [% END %]
173
                    [% END %]
173
174
174
                    <h4>Hold for:</h4>
175
                    <h4>[% t('Hold for:') %]</h4>
175
                    <ul>
176
                    <ul>
176
                    <li>
177
                    <li>
177
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">[% patron.surname %], [% patron.firstname %]</a> ([% patron.cardnumber %])
178
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">[% patron.surname %], [% patron.firstname %]</a> ([% patron.cardnumber %])
Lines 187-204 Link Here
187
                    [% END %]
188
                    [% END %]
188
189
189
                    [% IF ( patron.debarred ) %]
190
                    [% IF ( patron.debarred ) %]
190
                        <li class="error">Patron is RESTRICTED</li>
191
                        <li class="error">[% t('Patron is RESTRICTED') %]</li>
191
                    [% END %]
192
                    [% END %]
192
193
193
                    [% IF ( patron.gonenoaddress ) %]
194
                    [% IF ( patron.gonenoaddress ) %]
194
                        <li class="error">Patron's address is in doubt</li>
195
                        <li class="error">[% t('Patron\'s address is in doubt') %]</li>
195
                    [% END %]
196
                    [% END %]
196
                    </ul>
197
                    </ul>
197
198
198
                    [% IF ( transfertodo ) %]
199
                    [% IF ( transfertodo ) %]
199
                        <h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) %]</h4>
200
                        <h4><strong>[% t('Transfer to:') %]</strong> [% Branches.GetName( destbranch ) %]</h4>
200
                    [% ELSE %]
201
                    [% ELSE %]
201
                        <h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) %]</h4>
202
                        <h4><strong>[% t('Hold at') %]</strong> [% Branches.GetName( destbranch ) %]</h4>
202
                    [% END %]
203
                    [% END %]
203
204
204
                    [% FOREACH inputloo IN inputloop %]
205
                    [% FOREACH inputloo IN inputloop %]
Lines 224-239 Link Here
224
                    <input type="hidden" name="cancel_reserve" value="0" />
225
                    <input type="hidden" name="cancel_reserve" value="0" />
225
226
226
                    <button type="submit" class="btn btn-default approve" data-dismiss="modal">
227
                    <button type="submit" class="btn btn-default approve" data-dismiss="modal">
227
                        <i class="fa fa-check"></i> Confirm
228
                        <i class="fa fa-check"></i> [% t('Confirm') %]
228
                    </button>
229
                    </button>
229
230
230
                    <input type="hidden" name="print_slip" value="0" />
231
                    <input type="hidden" name="print_slip" value="0" />
231
                    <button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();">
232
                    <button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();">
232
                        <i class="fa fa-print"></i> Print and confirm
233
                        <i class="fa fa-print"></i> [% t('Print and confirm') %]
233
                    </button>
234
                    </button>
234
235
235
                    <button type="submit" class="btn btn-default deny" onclick="this.form.cancel_reserve.value = 1; this.form.submit();">
236
                    <button type="submit" class="btn btn-default deny" onclick="this.form.cancel_reserve.value = 1; this.form.submit();">
236
                        <i class="fa fa-times"></i> Cancel hold
237
                        <i class="fa fa-times"></i> [% t('Cancel hold') %]
237
                    </button>
238
                    </button>
238
                </div>
239
                </div>
239
            </form>
240
            </form>
Lines 245-273 Link Here
245
    [% IF ( diffbranch ) %]
246
    [% IF ( diffbranch ) %]
246
		<!-- diffbranch -->
247
		<!-- diffbranch -->
247
        <div id="transfer-needed" class="dialog message audio-alert-action">
248
        <div id="transfer-needed" class="dialog message audio-alert-action">
248
            <h3>Hold needing transfer found</h3>
249
            <h3>[% t('Hold needing transfer found') %]</h3>
249
                <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
250
                <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
250
                <h4>Hold for: </h4>
251
                <h4>[% t('Hold for:') %] </h4>
251
                    <ul>
252
                    <ul>
252
                        <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">[% patron.surname %], [% patron.firstname %]</a> ([% patron.cardnumber %]) <span class="patron-category"> - [% patron.category.description %]</span> </li>
253
                        <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">[% patron.surname %], [% patron.firstname %]</a> ([% patron.cardnumber %]) <span class="patron-category"> - [% patron.category.description %]</span> </li>
253
                        [% INCLUDE display_holdpatron_address %]
254
                        [% INCLUDE display_holdpatron_address %]
254
                        [% IF ( patron.phone ) %]<li>[% patron.phone %]</li>[% END %]
255
                        [% IF ( patron.phone ) %]<li>[% patron.phone %]</li>[% END %]
255
                        [% IF ( patron.email ) %]<li>[% IF ( transfertodo ) %][% patron.email %][% ELSE %]<a id="boremail" href="mailto:[% patron.email %]">[% patron.email %]</a>[% END %]</li>[% END %]
256
                        [% IF ( patron.email ) %]<li>[% IF ( transfertodo ) %][% patron.email %][% ELSE %]<a id="boremail" href="mailto:[% patron.email %]">[% patron.email %]</a>[% END %]</li>[% END %]
256
[% IF ( patron.debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
257
[% IF ( patron.debarred ) %]<li class="error">[% t('Patron is RESTRICTED') %]</li>[% END %]
257
[% IF ( patron.gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
258
[% IF ( patron.gonenoaddress ) %]<li class="error">[% t('Patron\'s address is in doubt') %]</li>[% END %]
258
                    </ul>
259
                    </ul>
259
        [% IF ( transfertodo ) %]
260
        [% IF ( transfertodo ) %]
260
            <h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) %]</h4>
261
            <h4><strong>[% t('Transfer to:') %]</strong> [% Branches.GetName( destbranch ) %]</h4>
261
        [% ELSE %]
262
        [% ELSE %]
262
            <h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) %]</h4>
263
            <h4><strong>[% t('Hold at') %]</strong> [% Branches.GetName( destbranch ) %]</h4>
263
        [% END %]
264
        [% END %]
264
265
265
        <form method="post" action="returns.pl" class="confirm">
266
        <form method="post" action="returns.pl" class="confirm">
266
            <button type="submit" class="approve"><i class="fa fa-check"></i> Confirm</button>
267
            <button type="submit" class="approve"><i class="fa fa-check"></i> [% t('Confirm') %]</button>
267
            <input type="hidden" name="print_slip" value="0" />
268
            <input type="hidden" name="print_slip" value="0" />
268
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
269
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
269
            <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
270
            <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
270
            <button type="submit" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> Print slip and continue</button>
271
            <button type="submit" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> [% t('Print slip and continue') %]</button>
271
            [% FOREACH inputloo IN inputloop %]
272
            [% FOREACH inputloo IN inputloop %]
272
                <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
273
                <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
273
                <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
274
                <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
Lines 288-309 Link Here
288
    [% IF ( transfer ) %]
289
    [% IF ( transfer ) %]
289
    <!-- transfer: item with no reservation, must be returned according to home library circulation rules -->
290
    <!-- transfer: item with no reservation, must be returned according to home library circulation rules -->
290
        <div id="return1" class="dialog message audio-alert-action">
291
        <div id="return1" class="dialog message audio-alert-action">
291
            <h3>Please return item to: [% Branches.GetName( returnbranch ) %]</h3>
292
            <h3>[% t('Please return item to:') %] [% Branches.GetName( returnbranch ) %]</h3>
292
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
293
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
293
            <p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;branchcode=[% returnbranch %]&amp;op=slip"><i class="fa fa-print"></i> Print slip</button></p>
294
            <p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> [% t('Print slip') %]</button></p>
294
        </div>
295
        </div>
295
    [% END %]
296
    [% END %]
296
297
297
    [% IF ( needstransfer ) %]
298
    [% IF ( needstransfer ) %]
298
	<!-- needstransfer -->
299
	<!-- needstransfer -->
299
    <div id="item-transfer" class="dialog message audio-alert-action"><h3> This item needs to be transferred to [% Branches.GetName( returnbranch ) %]</h3>
300
    <div id="item-transfer" class="dialog message audio-alert-action"><h3> [% t('This item needs to be transferred to') %] [% Branches.GetName( returnbranch ) %]</h3>
300
    Transfer now?<br />
301
    [% t('Transfer now?') %]<br />
301
    <form method="post" action="returns.pl" name="mainform" id="mainform">
302
    <form method="post" action="returns.pl" name="mainform" id="mainform">
302
    [% IF itemnumber %]
303
    [% IF itemnumber %]
303
        <button type="submit" name="dotransfer" value="Yes" class="print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&amp;&amp;branchcode=[% returnbranch %]&amp;op=slip"><i class="fa fa-print"></i> Yes, print slip</button>
304
        <button type="submit" name="dotransfer" value="Yes" class="print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> [% t('Yes, print slip') %]</button>
304
    [% END %]
305
    [% END %]
305
    <button type="submit" name="dotransfer" value="Yes" class="submit"><i class="fa fa-check"></i> Yes</button>
306
    <button type="submit" name="dotransfer" value="Yes" class="submit"><i class="fa fa-check"></i> [% t('Yes') %]</button>
306
    <button type="submit" name="notransfer" value="No" class="submit"><i class="fa fa-times"></i> No</button>
307
    <button type="submit" name="notransfer" value="No" class="submit"><i class="fa fa-times"></i> [% t('No') %]</button>
307
    <input type="hidden" name="tobranch" value="[% returnbranch %]" />
308
    <input type="hidden" name="tobranch" value="[% returnbranch %]" />
308
	<input type="hidden" name="transferitem" value="[% itemnumber %]" />
309
	<input type="hidden" name="transferitem" value="[% itemnumber %]" />
309
        <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
310
        <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
Lines 322-332 Link Here
322
323
323
    [% IF ( diffbranch ) %]
324
    [% IF ( diffbranch ) %]
324
	<!-- diffbranch -->
325
	<!-- diffbranch -->
325
        <h3 class="audio-alert-action">Item consigned:</h3>
326
        <h3 class="audio-alert-action">[% t('Item consigned:') %]</h3>
326
        <table>
327
        <table>
327
        <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
328
        <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
328
        <tr>
329
        <tr>
329
            <th>Hold for:</th>
330
            <th>[% t('Hold for:') %]</th>
330
            <td>[% INCLUDE 'patron-title.inc' patron=patron %]</td>
331
            <td>[% INCLUDE 'patron-title.inc' patron=patron %]</td>
331
        </tr>
332
        </tr>
332
        </table>
333
        </table>
Lines 356-373 Link Here
356
            <form method="post" action="returns.pl" class="confirm">
357
            <form method="post" action="returns.pl" class="confirm">
357
                <div class="modal-header">
358
                <div class="modal-header">
358
                    <h3>
359
                    <h3>
359
                        Hold found:
360
                        [% t('Hold found:') %]
360
                        <br/>
361
                        <br />
361
                        <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">
362
                        <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">
362
                            [% itembarcode |html %]: [% title |html %]
363
                            [% itembarcode |html %]: [% title |html %]
363
                        </a>
364
                        </a>
364
                </div>
365
                </div>
365
366
366
                <div class="modal-body">
367
                <div class="modal-body">
367
                    [% IF ( reservenotes ) %]
368
                    [% IF ( reservenotes ) %]
368
                        <h4>Notes: [% reservenotes %]</h4>
369
                        <h4>[% t('Notes:') %] [% reservenotes %]</h4>
369
                    [% END %]
370
                    [% END %]
370
                    <h5>Hold for:</h5>
371
                    <h5>[% t('Hold for:') %]</h5>
371
                        <li>
372
                        <li>
372
                            [% INCLUDE 'patron-title.inc' patron=patron %]
373
                            [% INCLUDE 'patron-title.inc' patron=patron %]
373
                            <span class="patron-category"> - [% patron.category.description %]</span>
374
                            <span class="patron-category"> - [% patron.category.description %]</span>
Lines 394-410 Link Here
394
                        [% END %]
395
                        [% END %]
395
396
396
                        [% IF ( patron.debarred ) %]
397
                        [% IF ( patron.debarred ) %]
397
                            <li class="error">Patron is RESTRICTED</li>
398
                            <li class="error">[% t('Patron is RESTRICTED') %]</li>
398
                        [% END %]
399
                        [% END %]
399
400
400
                        [% IF ( patron.gonenoaddress ) %]
401
                        [% IF ( patron.gonenoaddress ) %]
401
                            <li class="error">Patron's address is in doubt</li>
402
                            <li class="error">[% t('Patron\'s address is in doubt') %]</li>
402
                        [% END %]
403
                        [% END %]
403
404
404
                    [% IF ( transfertodo ) %]
405
                    [% IF ( transfertodo ) %]
405
                        <h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) %]</h4>
406
                        <h4><strong>[% t('Transfer to:') %]</strong> [% Branches.GetName( destbranch ) %]</h4>
406
                    [% ELSE %]
407
                    [% ELSE %]
407
                        <h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) %]</h4>
408
                        <h4><strong>[% t('Hold at') %]</strong> [% Branches.GetName( destbranch ) %]</h4>
408
                    [% END %]
409
                    [% END %]
409
410
410
                    <input type="hidden" name="print_slip" value="0" />
411
                    <input type="hidden" name="print_slip" value="0" />
Lines 431-452 Link Here
431
                <div class="modal-footer">
432
                <div class="modal-footer">
432
                    [% IF ( transfertodo ) %]
433
                    [% IF ( transfertodo ) %]
433
                        <button type="submit" class="btn btn-default approve">
434
                        <button type="submit" class="btn btn-default approve">
434
                            <i class="fa fa-check"></i> Confirm hold and transfer
435
                            <i class="fa fa-check"></i> [% t('Confirm hold and transfer') %]
435
                        </button>
436
                        </button>
436
                        <button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit()">
437
                        <button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit()">
437
                            <i class="fa fa-print"></i> Print slip, transfer, and confirm
438
                            <i class="fa fa-print"></i> [% t('Print slip, transfer, and confirm') %]
438
                        </button>
439
                        </button>
439
                    [% ELSE %]
440
                    [% ELSE %]
440
                        <button type="submit" class="btn btn-default approve">
441
                        <button type="submit" class="btn btn-default approve">
441
                            <i class="fa fa-check"></i> Confirm hold
442
                            <i class="fa fa-check"></i> [% t('Confirm hold') %]
442
                        </button>
443
                        </button>
443
                        <button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();">
444
                        <button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();">
444
                            <i class="fa fa-print"></i> Print slip and confirm
445
                            <i class="fa fa-print"></i> [% t('Print slip and confirm') %]
445
                        </button>
446
                        </button>
446
                    [% END %]
447
                    [% END %]
447
448
448
                    <button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-danger deny" onclick="$('#barcode').focus(); return false;">
449
                    <button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-danger deny" onclick="$('#barcode').focus(); return false;">
449
                        <i class="fa fa-times"></i> Ignore
450
                        <i class="fa fa-times"></i> [% t('Ignore') %]
450
                    </button>
451
                    </button>
451
                </div>
452
                </div>
452
            </form>
453
            </form>
Lines 458-527 Link Here
458
459
459
[% IF ( errmsgloop ) %]
460
[% IF ( errmsgloop ) %]
460
    <div class="dialog alert audio-alert-warning">
461
    <div class="dialog alert audio-alert-warning">
461
        <h3>Check in message</h3>
462
        <h3>[% t('Check in message') %]</h3>
462
        [% IF itembiblionumber %]
463
        [% IF itembiblionumber %]
463
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
464
            <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p>
464
        [% END %]
465
        [% END %]
465
        [% FOREACH errmsgloo IN errmsgloop %]
466
        [% FOREACH errmsgloo IN errmsgloop %]
466
            [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
467
            [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
467
                <p class="problem">
468
                <p class="problem">
468
                    Not for loan status updated.
469
                    [% t('Not for loan status updated.') %]
469
                    <br />Old value:
470
                    <br />[% t('Old value:') %]
470
                    [% IF errmsgloo.NotForLoanStatusUpdated.from %]
471
                    [% IF errmsgloo.NotForLoanStatusUpdated.from %]
471
                        [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %].
472
                        [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %].
472
                    [% ELSE %]
473
                    [% ELSE %]
473
                        Available for loan.
474
                        [% t('Available for loan.') %]
474
                    [% END %]
475
                    [% END %]
475
                    <br />New value:
476
                    <br />[% t('New value:') %]
476
                    [% IF errmsgloo.NotForLoanStatusUpdated.to %]
477
                    [% IF errmsgloo.NotForLoanStatusUpdated.to %]
477
                        [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %].
478
                        [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %].
478
                    [% ELSE %]
479
                    [% ELSE %]
479
                        Available for loan.
480
                        [% t('Available for loan.') %]
480
                    [% END %]
481
                    [% END %]
481
                </p>
482
                </p>
482
            [% END %]
483
            [% END %]
483
            [% IF ( errmsgloo.badbarcode ) %]
484
            [% IF ( errmsgloo.badbarcode ) %]
484
                <p class="problem">No item with barcode: [% errmsgloo.msg | html %]</p>
485
                <p class="problem">[% t('No item with barcode:') %] [% errmsgloo.msg | html %]</p>
485
            [% END %]
486
            [% END %]
486
            [% IF ( errmsgloo.ispermanent ) %]
487
            [% IF ( errmsgloo.ispermanent ) %]
487
                <p class="problem">Please return item to: [% Branches.GetName( errmsgloo.msg ) %]</p>
488
                <p class="problem">[% t('Please return item to:') %] [% Branches.GetName( errmsgloo.msg ) %]</p>
488
            [% END %]
489
            [% END %]
489
            [% IF ( errmsgloo.notissued ) %]
490
            [% IF ( errmsgloo.notissued ) %]
490
                <p class="problem">Not checked out.</p>
491
                <p class="problem">[% t('Not checked out.') %]</p>
491
            [% END %]
492
            [% END %]
492
            [% IF ( errmsgloo.localuse) %]
493
            [% IF ( errmsgloo.localuse) %]
493
                <p class="problem">Local use recorded</p>
494
                <p class="problem">[% t('Local use recorded') %]</p>
494
            [% END %]
495
            [% END %]
495
            [% IF ( errmsgloo.waslost ) %]
496
            [% IF ( errmsgloo.waslost ) %]
496
                <p class="problem">Item was lost, now found.</p>
497
                <p class="problem">[% t('Item was lost, now found.') %]</p>
497
                [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %]
498
                [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %]
498
                    <p class="problem">A refund has been applied to the borrowing patron's account.</p>
499
                    <p class="problem">[% t('A refund has been applied to the borrowing patron\'s account.') %]</p>
499
                [% ELSIF Koha.Preference('BlockReturnOfLostItems') %]
500
                [% ELSIF Koha.Preference('BlockReturnOfLostItems') %]
500
                   <h5>Cannot check in</h5>
501
                   <h5>[% t('Cannot check in') %]</h5>
501
                   <p><strong>NOT CHECKED IN</strong></p>
502
                   <p><strong>[% t('NOT CHECKED IN') %]</strong></p>
502
                [% ELSE %]
503
                [% ELSE %]
503
                    <p class="problem">Any lost item fees for this item will remain on the patron's account.</p>
504
                    <p class="problem">[% t('Any lost item fees for this item will remain on the patron\'s account.') %]</p>
504
                [% END %]
505
                [% END %]
505
            [% END %]
506
            [% END %]
506
            [% IF ( errmsgloo.withdrawn ) %]
507
            [% IF ( errmsgloo.withdrawn ) %]
507
                [% IF Koha.Preference('BlockReturnOfWithdrawnItems') %]
508
                [% IF Koha.Preference('BlockReturnOfWithdrawnItems') %]
508
                   <h5>Cannot check in</h5>
509
                   <h5>[% t('Cannot check in') %]</h5>
509
                   <p><strong>NOT CHECKED IN</strong></p>
510
                   <p><strong>[% t('NOT CHECKED IN') %]</strong></p>
510
                [% END %]
511
                [% END %]
511
               <p class="problem">Item is withdrawn.</p>
512
               <p class="problem">[% t('Item is withdrawn.') %]</p>
512
            [% END %]
513
            [% END %]
513
            [% IF ( errmsgloo.debarred ) %]
514
            [% IF ( errmsgloo.debarred ) %]
514
                <p class="problem"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber %]">[% errmsgloo.debarname %]([% errmsgloo.debarcardnumber %])</a> is now debarred until [% errmsgloo.debarred | $KohaDates %].</p>
515
                <p class="problem"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber %]">[% errmsgloo.debarname %]([% errmsgloo.debarcardnumber %])</a> [% t('is now debarred until') %] [% errmsgloo.debarred | $KohaDates %].</p>
515
            [% END %]
516
            [% END %]
516
            [% IF ( errmsgloo.prevdebarred ) %]
517
            [% IF ( errmsgloo.prevdebarred ) %]
517
                <p class="problem"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].</p>
518
                <p class="problem"><b>[% t('Reminder:') %] </b>[% t('Patron was earlier restricted until') %] [% errmsgloo.prevdebarred | $KohaDates %].</p>
518
            [% END %]
519
            [% END %]
519
            [% IF ( errmsgloo.foreverdebarred ) %]
520
            [% IF ( errmsgloo.foreverdebarred ) %]
520
                <p class="problem"><b>Reminder: </b>Patron has an indefinite restriction.</p>
521
                <p class="problem"><b>[% t('Reminder:') %] </b>[% t('Patron has an indefinite restriction.') %]</p>
521
            [% END %]
522
            [% END %]
522
523
523
            [% IF errmsgloo.data_corrupted %]
524
            [% IF errmsgloo.data_corrupted %]
524
                <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>
525
                <p class="problem">[% t('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">[% t('about page') %]</a> [% t('and search for the &#34;data problems&#34; section') %]</p>
525
            [% END %]
526
            [% END %]
526
        [% END %]
527
        [% END %]
527
    </div>
528
    </div>
Lines 538-574 Link Here
538
[% END%]
539
[% END%]
539
540
540
    <div id="exemptfines" class="dialog message" style="display:none;">
541
    <div id="exemptfines" class="dialog message" style="display:none;">
541
        <p>Fines for returned items are forgiven.</p>
542
        <p>[% t('Fines for returned items are forgiven.') %]</p>
542
    </div>
543
    </div>
543
    <div id="forgivemanualholdsexpire-alert" class="dialog message" style="display:none;">
544
    <div id="forgivemanualholdsexpire-alert" class="dialog message" style="display:none;">
544
        <p>Fines are not charged for manually cancelled holds.</p>
545
        <p>[% t('Fines are not charged for manually cancelled holds.') %]</p>
545
    </div>
546
    </div>
546
    <div id="dropboxmode" class="dialog message" style="display:none;">
547
    <div id="dropboxmode" class="dialog message" style="display:none;">
547
        <p>Book drop mode.  (Effective checkin date is [% dropboxdate %] ).</p>
548
        <p>[% t('Book drop mode.') %]  [% t('(Effective checkin date is') %] [% dropboxdate %] ).</p>
548
    </div>
549
    </div>
549
</div>
550
</div>
550
<div class="yui-g">
551
<div class="yui-g">
551
    <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
552
    <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
552
    <div class="yui-u first">
553
    <div class="yui-u first">
553
            <fieldset>
554
            <fieldset>
554
	<legend>Check in</legend>
555
	<legend>[% t('Check in') %]</legend>
555
            <label for="barcode">Enter item barcode: </label>
556
            <label for="barcode">[% t('Enter item barcode:') %] </label>
556
			[% IF ( exemptfine ) %]
557
			[% IF ( exemptfine ) %]
557
			<input name="barcode" id="barcode" size="14" class="focus alert"/>
558
			<input name="barcode" id="barcode" size="14" class="focus alert" />
558
			[% ELSIF ( dropboxmode ) %]
559
			[% ELSIF ( dropboxmode ) %]
559
			<input name="barcode" id="barcode" size="14" class="focus alert"/>
560
			<input name="barcode" id="barcode" size="14" class="focus alert" />
560
			[% ELSE %]
561
			[% ELSE %]
561
			<input name="barcode" id="barcode" size="14" class="focus"/>
562
			<input name="barcode" id="barcode" size="14" class="focus" />
562
			[% END %]
563
			[% END %]
563
            <input type="submit" class="submit" value="Submit" />
564
            <input type="submit" class="submit" value="Submit" />
564
565
565
            [% IF Koha.Preference('SpecifyReturnDate') %]
566
            [% IF Koha.Preference('SpecifyReturnDate') %]
566
                <div class="date-select" id="return_date_override_fields">
567
                <div class="date-select" id="return_date_override_fields">
567
                    <div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div>
568
                    <div class="hint">[% t('Specify return date') %] [% INCLUDE 'date-format.inc' %]: </div>
568
569
569
                    <input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" />
570
                    <input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" />
570
571
571
                    <label for="return_date_override_remember"> Remember for next check in:</label>
572
                    <label for="return_date_override_remember"> [% t('Remember for next check in:') %]</label>
572
                    [% IF ( return_date_override_remember ) %]
573
                    [% IF ( return_date_override_remember ) %]
573
                        <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" />
574
                        <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" />
574
                    [% ELSE %]
575
                    [% ELSE %]
Lines 589-595 Link Here
589
            </div>
590
            </div>
590
            <div class="yui-u">
591
            <div class="yui-u">
591
            <fieldset id="checkin_options">
592
            <fieldset id="checkin_options">
592
                <legend>Options</legend>
593
                <legend>[% t('Options') %]</legend>
593
                    [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %]
594
                    [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %]
594
                    <p>
595
                    <p>
595
                        [% IF ( exemptfine ) %]
596
                        [% IF ( exemptfine ) %]
Lines 597-603 Link Here
597
                        [% ELSE %]
598
                        [% ELSE %]
598
                        <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
599
                        <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
599
                        [% END %]
600
                        [% END %]
600
                        <label for="exemptcheck">Forgive overdue charges</label>
601
                        <label for="exemptcheck">[% t('Forgive overdue charges') %]</label>
601
                    </p>
602
                    </p>
602
                    [% END %] <!-- overduecharges -->
603
                    [% END %] <!-- overduecharges -->
603
                    <p>
604
                    <p>
Lines 606-612 Link Here
606
                        [% ELSE %]
607
                        [% ELSE %]
607
                        <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
608
                        <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
608
                        [% END %]
609
                        [% END %]
609
                        <label for="dropboxcheck">Book drop mode</label>
610
                        <label for="dropboxcheck">[% t('Book drop mode') %]</label>
610
                    </p>
611
                    </p>
611
                    [% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %]
612
                    [% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %]
612
                    <p>
613
                    <p>
Lines 615-621 Link Here
615
                        [% ELSE %]
616
                        [% ELSE %]
616
                        <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" />
617
                        <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" />
617
                        [% END %]
618
                        [% END %]
618
                        <label for="forgivemanualholdsexpire">Forgive fees for manually expired holds</label>
619
                        <label for="forgivemanualholdsexpire">[% t('Forgive fees for manually expired holds') %]</label>
619
                    </p>
620
                    </p>
620
                    [% END %] <!-- overduecharges -->
621
                    [% END %] <!-- overduecharges -->
621
            </fieldset>
622
            </fieldset>
Lines 624-653 Link Here
624
</div>
625
</div>
625
626
626
[% IF ( riloop ) %]
627
[% IF ( riloop ) %]
627
    <h2>Checked-in items</h2>
628
    <h2>[% t('Checked-in items') %]</h2>
628
    <table id="checkedintable">
629
    <table id="checkedintable">
629
    <thead><tr><th class="ci-duedate">Due date</th><th class="ci-title">Title</th><th class="ci-author">Author</th><th class="ci-barcode">Barcode</th><th class="ci-homelibrary">Home library</th><th class="ci-holdinglibrary">Holding library</th><th class="ci-shelvinglocation">Shelving location</th><th class="ci-callnumber">Call number</th><th class="ci-dateaccessioned">Date acquired</th><th class="ci-type">Type</th><th class="ci-patron">Patron</th><th class="ci-note">Note</th></tr></thead>
630
    <thead><tr><th class="ci-duedate">[% t('Due date') %]</th><th class="ci-title">[% t('Title') %]</th><th class="ci-author">[% t('Author') %]</th><th class="ci-barcode">[% t('Barcode') %]</th><th class="ci-homelibrary">[% t('Home library') %]</th><th class="ci-holdinglibrary">[% t('Holding library') %]</th><th class="ci-shelvinglocation">[% t('Shelving location') %]</th><th class="ci-callnumber">[% t('Call number') %]</th><th class="ci-dateaccessioned">[% t('Date acquired') %]</th><th class="ci-type">[% t('Type') %]</th><th class="ci-patron">[% t('Patron') %]</th><th class="ci-note">[% t('Note') %]</th></tr></thead>
630
631
631
        [% FOREACH riloo IN riloop %]
632
        [% FOREACH riloo IN riloop %]
632
            <tr>
633
            <tr>
633
            <td class="ci-duedate">[% IF ( riloo.duedate ) %]
634
            <td class="ci-duedate">[% IF ( riloo.duedate ) %]
634
                    [% IF ( riloo.return_overdue ) %]
635
                    [% IF ( riloo.return_overdue ) %]
635
                        <span class="overdue">[% riloo.duedate %] (overdue)</span>
636
                        <span class="overdue">[% riloo.duedate %] [% t('(overdue)') %]</span>
636
                    [% ELSE %][% riloo.duedate %]
637
                    [% ELSE %][% riloo.duedate %]
637
                    [% END %]
638
                    [% END %]
638
                [% ELSE %]Not checked out
639
                [% ELSE %][% t('Not checked out') %]
639
                [% END %]
640
                [% END %]
640
            </td>
641
            </td>
641
            <td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
642
            <td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
642
                    [% riloo.itemtitle |html %]
643
                    [% riloo.itemtitle |html %]
643
                </a>
644
                </a>
644
                [% IF ( riloo.enumchron ) %]
645
                [% IF ( riloo.enumchron ) %]
645
                    <br/>
646
                    <br />
646
                    <span class="item_enumeration" style="white-space: nowrap;">[% riloo.enumchron %]</span>
647
                    <span class="item_enumeration" style="white-space: nowrap;">[% riloo.enumchron %]</span>
647
                [% END %]
648
                [% END %]
648
            </td>
649
            </td>
649
            <td class="ci-author">[% riloo.itemauthor %]</td>
650
            <td class="ci-author">[% riloo.itemauthor %]</td>
650
            <td class="ci-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&amp;itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
651
            <td class="ci-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
651
            <td class="ci-homelibrary">[% Branches.GetName( riloo.homebranch ) %]</td>
652
            <td class="ci-homelibrary">[% Branches.GetName( riloo.homebranch ) %]</td>
652
            <td class="ci-holdinglibrary">[% Branches.GetName( riloo.holdingbranch ) %]</td>
653
            <td class="ci-holdinglibrary">[% Branches.GetName( riloo.holdingbranch ) %]</td>
653
            <td class="ci-shelvinglocation">[% riloo.location %]</td>
654
            <td class="ci-shelvinglocation">[% riloo.location %]</td>
Lines 660-672 Link Here
660
                </a>
661
                </a>
661
                [% IF riloo.borissuescount %]
662
                [% IF riloo.borissuescount %]
662
                    <span class="results_summary nowrap">
663
                    <span class="results_summary nowrap">
663
                        <span class="label">Checkouts:</span>
664
                        <span class="label">[% t('Checkouts:') %]</span>
664
                        <span class="number_box">
665
                        <span class="number_box">
665
                            <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% riloo.patron.borrowernumber %]">[% riloo.borissuescount %]</a>
666
                            <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% riloo.patron.borrowernumber %]">[% riloo.borissuescount %]</a>
666
                        </span>
667
                        </span>
667
                    </span>
668
                    </span>
668
                [% END %]
669
                [% END %]
669
            [% ELSE %]Not checked out[% END %]</td>
670
            [% ELSE %][% t('Not checked out') %][% END %]</td>
670
            <td class="ci-note">
671
            <td class="ci-note">
671
                [% IF ( riloo.patron.borrowernotes ) %]<p><span class="circ-hlt patron-note">[% riloo.patron.borrowernotes %]</p></span>[% END %]
672
                [% IF ( riloo.patron.borrowernotes ) %]<p><span class="circ-hlt patron-note">[% riloo.patron.borrowernotes %]</p></span>[% END %]
672
                [% IF ( riloo.itemnote ) %]<p><span class="circ-hlt item-note-public">[% riloo.itemnote %]</p></span>[% END %]
673
                [% IF ( riloo.itemnote ) %]<p><span class="circ-hlt item-note-public">[% riloo.itemnote %]</p></span>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt (-14 / +15 lines)
Lines 1-7 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Circulation &rsaquo; Set library</title>
5
<title>[% t('Koha › Circulation › Set library') %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
<style type="text/css">
7
<style type="text/css">
7
    .noshow {display: none;}
8
    .noshow {display: none;}
Lines 12-20 Link Here
12
[% INCLUDE 'circ-search.inc' %]
13
[% INCLUDE 'circ-search.inc' %]
13
14
14
<div id="breadcrumbs">
15
<div id="breadcrumbs">
15
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16
         <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a>
16
&rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
17
› <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a>
17
&rsaquo; <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
18
› <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">[% t('Set library') %]</a>
18
</div>
19
</div>
19
20
20
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
21
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
Lines 24-38 Link Here
24
25
25
[% IF ( updated ) %]
26
[% IF ( updated ) %]
26
27
27
<h2>Update succeeded</h2>
28
<h2>[% t('Update succeeded') %]</h2>
28
Updated:<ul>
29
[% t('Updated:') %]<ul>
29
    [% FOREACH update IN updated %]
30
    [% FOREACH update IN updated %]
30
    [% IF ( update.updated_branch ) %]
31
    [% IF ( update.updated_branch ) %]
31
        <li>Library: [% update.old_branch or "?" %] &rArr; [% update.LoginBranchcode or "?" %]</li>
32
        <li>[% t('Library:') %] [% update.old_branch or "?" %] ⇒ [% update.LoginBranchcode or "?" %]</li>
32
    [% ELSIF ( update.updated_printer ) %]
33
    [% ELSIF ( update.updated_printer ) %]
33
      <!-- FIXME:  <li>Printer: [% update.old_printer or "?" %] &rArr; [% update.new_printer or "?" %]</li> -->
34
      <!-- FIXME:  <li>Printer: [% update.old_printer or "?" %] ⇒ [% update.new_printer or "?" %]</li> -->
34
    [% ELSE %]
35
    [% ELSE %]
35
        <li>ERROR - unknown</li>
36
        <li>[% t('ERROR - unknown') %]</li>
36
    [% END %]
37
    [% END %]
37
    [% END %]
38
    [% END %]
38
    </ul>
39
    </ul>
Lines 42-60 Updated:<ul> Link Here
42
        <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
43
        <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
43
        [% END %]
44
        [% END %]
44
    </div>
45
    </div>
45
    <button type="submit">Continue</button>
46
    <button type="submit">[% t('Continue') %]</button>
46
</form>
47
</form>
47
48
48
[% ELSE %]
49
[% ELSE %]
49
50
50
<form method="post" action="selectbranchprinter.pl">
51
<form method="post" action="selectbranchprinter.pl">
51
<fieldset class="rows">
52
<fieldset class="rows">
52
    <legend>Set library</legend>
53
    <legend>[% t('Set library') %]</legend>
53
    <ol>
54
    <ol>
54
    [% IF ( singleBranchMode && !CAN_user_superlibrarian ) %]
55
    [% IF ( singleBranchMode && !CAN_user_superlibrarian ) %]
55
        <li>SingleBranchMode is ON.</li>
56
        <li>[% t('SingleBranchMode is ON.') %]</li>
56
    [% ELSE %]
57
    [% ELSE %]
57
        <li><label for="branch">Choose library:</label>
58
        <li><label for="branch">[% t('Choose library:') %]</label>
58
        <select name="branch" id="branch">
59
        <select name="branch" id="branch">
59
            [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
60
            [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
60
        </select></li>
61
        </select></li>
Lines 76-82 Updated:<ul> Link Here
76
</fieldset>
77
</fieldset>
77
<fieldset class="action">
78
<fieldset class="action">
78
    <input type="submit" value="Submit" />
79
    <input type="submit" value="Submit" />
79
    <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">Cancel</a>
80
    <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">[% t('Cancel') %]</a>
80
</fieldset>
81
</fieldset>
81
<div class="noshow">
82
<div class="noshow">
82
    [% FOREACH recycle_loo IN recycle_loop %]
83
    [% FOREACH recycle_loo IN recycle_loop %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfer-slip.tt (-4 / +5 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Circulation &rsaquo; Transfers</title>
3
<title>[% t('Koha › Circulation › Transfers') %]</title>
3
[% INCLUDE 'doc-head-close-receipt.inc' %]
4
[% INCLUDE 'doc-head-close-receipt.inc' %]
4
<script type="text/javascript">
5
<script type="text/javascript">
5
function printandclose()
6
function printandclose()
Lines 12-21 window.close(); Link Here
12
<body id="circ_transfer-slip" class="circ" onload="printandclose();">
13
<body id="circ_transfer-slip" class="circ" onload="printandclose();">
13
<div id="main">
14
<div id="main">
14
15
15
<h5>Date: [% pulldate %]</h5>
16
<h5>[% t('Date:') %] [% pulldate %]</h5>
16
<h3>Transfer to [% branchname %]</h3>
17
<h3>[% t('Transfer to') %] [% branchname %]</h3>
17
18
18
<h3>ITEM</h3>
19
<h3>[% t('ITEM') %]</h3>
19
 <h4>[% biblio.title |html %]</h4>
20
 <h4>[% biblio.title |html %]</h4>
20
 <h5>[% biblio.author %] </h5>
21
 <h5>[% biblio.author %] </h5>
21
 <ul>
22
 <ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-19 / +20 lines)
Lines 1-10 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
4
[% USE Branches %]
5
[% USE Branches %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Circulation &rsaquo; Transfers to receive</title>
8
<title>[% t('Koha › Circulation › Transfers to receive') %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% Asset.css("css/datatables.css") %]
10
[% Asset.css("css/datatables.css") %]
10
</head>
11
</head>
Lines 13-19 Link Here
13
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'circ-search.inc' %]
15
[% INCLUDE 'circ-search.inc' %]
15
16
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>  &rsaquo; Transfers to receive</div>
17
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a>  [% t('› Transfers to receive') %]</div>
17
18
18
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
19
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
19
20
Lines 22-43 Link Here
22
        [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
23
        [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
23
	<div class="yui-g">
24
	<div class="yui-g">
24
25
25
        <h1>Transfers made to your library as of [% show_date | $KohaDates %]</h1>
26
        <h1>[% t('Transfers made to your library as of') %] [% show_date | $KohaDates %]</h1>
26
	[% IF ( branchesloop ) %]
27
	[% IF ( branchesloop ) %]
27
        <p>Your library is the destination for the following transfer(s)</p>
28
        <p>[% t('Your library is the destination for the following transfer(s)') %]</p>
28
		[% IF ( latetransfers ) %]<p>Transfers are <span class="error">considered late</span> after [% TransfersMaxDaysWarning %] days.</p>[% END %]
29
		[% IF ( latetransfers ) %]<p>[% t('Transfers are') %] <span class="error">[% t('considered late') %]</span> [% t('after') %] [% TransfersMaxDaysWarning %] [% t('days.') %]</p>[% END %]
29
        <div id="resultlist">
30
        <div id="resultlist">
30
        [% FOREACH branchesloo IN branchesloop %]
31
        [% FOREACH branchesloo IN branchesloop %]
31
            [% IF ( branchesloo.branchcode ) %]
32
            [% IF ( branchesloo.branchcode ) %]
32
            <table style="width: 100%" id="transferst[% branchesloo.branchcode %]">
33
            <table style="width: 100%" id="transferst[% branchesloo.branchcode %]">
33
            <caption>Coming from [% branchesloo.branchname %]</caption>
34
            <caption>[% t('Coming from') %] [% branchesloo.branchname %]</caption>
34
            <thead><tr>
35
            <thead><tr>
35
                <th class="title-string">Date of transfer</th>
36
                <th class="title-string">[% t('Date of transfer') %]</th>
36
                <th class="anti-the">Title</th>
37
                <th class="anti-the">[% t('Title') %]</th>
37
                <th>On hold for</th>
38
                <th>[% t('On hold for') %]</th>
38
                <th>Home library</th>
39
                <th>[% t('Home library') %]</th>
39
                <th>Call no.</th>
40
                <th>[% t('Call no.') %]</th>
40
                <th>&nbsp;</th>
41
                <th> </th>
41
            </tr></thead>
42
            </tr></thead>
42
            <tbody>[% FOREACH reser IN branchesloo.reserv %]
43
            <tbody>[% FOREACH reser IN branchesloo.reserv %]
43
                [% IF ( reser.messcompa ) %]
44
                [% IF ( reser.messcompa ) %]
Lines 45-55 Link Here
45
                [% ELSE %]
46
                [% ELSE %]
46
                <tr>
47
                <tr>
47
                [% END %]
48
                [% END %]
48
                    <td><p><span title="[% reser.datetransfer %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">Transfer is [% reser.diff %] days late</span>[% END %]</td>
49
                    <td><p><span title="[% reser.datetransfer %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">[% t('Transfer is') %] [% reser.diff %] [% t('days late') %]</span>[% END %]</td>
49
                    <td>
50
                    <td>
50
                        [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% reser.title |html %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl.subfield %][% END %][% END %]</a> [% IF ( reser.author ) %]by [% reser.author %][% END %]
51
                        [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% reser.title |html %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl.subfield %][% END %][% END %]</a> [% IF ( reser.author ) %][% t('by') %] [% reser.author %][% END %]
51
                            [% IF ( reser.itemtype ) %] (<b>[% reser.itemtype %]</b>)[% END %]
52
                            [% IF ( reser.itemtype ) %] (<b>[% reser.itemtype %]</b>)[% END %]
52
                            <br />Barcode: [% reser.barcode %]
53
                            <br />[% t('Barcode:') %] [% reser.barcode %]
53
                    </td>
54
                    </td>
54
                    <td>[% IF ( reser.patron ) %]
55
                    <td>[% IF ( reser.patron ) %]
55
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reser.patron.borrowernumber %]">
56
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reser.patron.borrowernumber %]">
Lines 58-75 Link Here
58
                        [% IF ( reser.patron.phone ) %]<br />[% reser.patron.phone %][% END %]
59
                        [% IF ( reser.patron.phone ) %]<br />[% reser.patron.phone %][% END %]
59
                            [% IF ( reser.patron.first_valid_email_address ) %]
60
                            [% IF ( reser.patron.first_valid_email_address ) %]
60
                                <br />
61
                                <br />
61
                                [% BLOCK subject %]Hold:[% END %]
62
                                [% BLOCK subject %][% t('Hold:') %][% END %]
62
                                <a href="mailto:[% reser.patron.first_valid_email_address %]?subject=[% INCLUDE subject %] [% reser.title |html %]">
63
                                <a href="mailto:[% reser.patron.first_valid_email_address %]?subject=[% INCLUDE subject %] [% reser.title |html %]">
63
                                    [% reser.patron.first_valid_email_address %]
64
                                    [% reser.patron.first_valid_email_address %]
64
                                </a>
65
                                </a>
65
                            [% END %]
66
                            [% END %]
66
                        [% ELSE %]
67
                        [% ELSE %]
67
                        <p>None</p>
68
                        <p>[% t('None') %]</p>
68
                    [% END %]
69
                    [% END %]
69
                    </td>
70
                    </td>
70
                    <td>[% IF reser.homebranch %][% Branches.GetName( reser.homebranch ) %][% END %]</td>
71
                    <td>[% IF reser.homebranch %][% Branches.GetName( reser.homebranch ) %][% END %]</td>
71
                    <td>[% reser.itemcallnumber %]</td>
72
                    <td>[% reser.itemcallnumber %]</td>
72
                    <td class="actions"><a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% reser.itemnumber %]&amp;canceltransfer=1&amp;dest=ttr" class="btn btn-default btn-xs"><i class="fa fa-times"></i> Cancel transfer</a></td>
73
                    <td class="actions"><a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% reser.itemnumber %]&canceltransfer=1&dest=ttr" class="btn btn-default btn-xs"><i class="fa fa-times"></i> [% t('Cancel transfer') %]</a></td>
73
                </tr>
74
                </tr>
74
            [% END %]</tbody>
75
            [% END %]</tbody>
75
            </table>
76
            </table>
Lines 77-83 Link Here
77
        [% END %]
78
        [% END %]
78
        </div>
79
        </div>
79
    [% ELSE %]
80
    [% ELSE %]
80
        <p>No transfers to receive</p>
81
        <p>[% t('No transfers to receive') %]</p>
81
    [% END %]
82
    [% END %]
82
83
83
</div>
84
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-36 / +37 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 8-14 Link Here
8
[% USE Koha %]
9
[% USE Koha %]
9
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %]
10
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
11
<title>Koha &rsaquo; Circulation &rsaquo; Holds queue</title>
12
<title>[% t('Koha › Circulation › Holds queue') %]</title>
12
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
13
<style type="text/css"> p { margin-top: 0; }</style>
14
<style type="text/css"> p { margin-top: 0; }</style>
14
[% Asset.css("css/datatables.css") %]
15
[% Asset.css("css/datatables.css") %]
Lines 18-27 Link Here
18
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'cat-search.inc' %]
20
[% INCLUDE 'cat-search.inc' %]
20
21
21
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
22
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a>
22
&rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
23
› <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a>
23
&rsaquo; <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a>
24
› <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">[% t('Holds queue') %]</a>
24
[% IF ( run_report ) %] &rsaquo; Results[% END %]
25
[% IF ( run_report ) %] [% t('› Results') %][% END %]
25
</div>
26
</div>
26
27
27
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc2" class="yui-t7">[% END %]
28
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc2" class="yui-t7">[% END %]
Lines 31-116 Link Here
31
        [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
32
        [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
32
	<div class="yui-g">
33
	<div class="yui-g">
33
34
34
<h1>Holds queue</h1>
35
<h1>[% t('Holds queue') %]</h1>
35
36
36
[% IF ( run_report ) %]
37
[% IF ( run_report ) %]
37
    [% IF ( total ) %]
38
    [% IF ( total ) %]
38
        <div class="results">[% total %] items found for
39
        <div class="results">[% total %] [% t('items found for') %]
39
            [% IF ( branchlimit ) %][% Branches.GetName( branchlimit ) %][% ELSE %]All libraries[% END %]
40
            [% IF ( branchlimit ) %][% Branches.GetName( branchlimit ) %][% ELSE %][% t('All libraries') %][% END %]
40
        </div>
41
        </div>
41
    [% ELSE %]
42
    [% ELSE %]
42
        <div class="dialog message">No items found.</div>
43
        <div class="dialog message">[% t('No items found.') %]</div>
43
    [% END %]
44
    [% END %]
44
    [% IF ( itemsloop ) %]
45
    [% IF ( itemsloop ) %]
45
<table id="holdst">
46
<table id="holdst">
46
	<thead>
47
	<thead>
47
    <tr>
48
    <tr>
48
        <th class="hq-title">Title</th>
49
        <th class="hq-title">[% t('Title') %]</th>
49
        <th class="hq-collection">Collection</th>
50
        <th class="hq-collection">[% t('Collection') %]</th>
50
        <th class="hq-itemtype">Item type</th>
51
        <th class="hq-itemtype">[% t('Item type') %]</th>
51
        <th class="hq-callnumber">Call number</th>
52
        <th class="hq-callnumber">[% t('Call number') %]</th>
52
        <th class="hq-copynumber">Copy number</th>
53
        <th class="hq-copynumber">[% t('Copy number') %]</th>
53
        <th class="hq-enumchron">Enumeration</th>
54
        <th class="hq-enumchron">[% t('Enumeration') %]</th>
54
        <th class="hq-barcode">Barcode</th>
55
        <th class="hq-barcode">[% t('Barcode') %]</th>
55
        <th class="hq-patron">Patron</th>
56
        <th class="hq-patron">[% t('Patron') %]</th>
56
        <th class="hq-sendto">Send to</th>
57
        <th class="hq-sendto">[% t('Send to') %]</th>
57
        <th class="hq-date">Date</th>
58
        <th class="hq-date">[% t('Date') %]</th>
58
        <th class="hq-notes">Notes</th>
59
        <th class="hq-notes">[% t('Notes') %]</th>
59
    </tr>
60
    </tr>
60
    <tr>
61
    <tr>
61
        <td class="hq-title">
62
        <td class="hq-title">
62
            <span class="filter_column filter_text">
63
            <span class="filter_column filter_text">
63
                <input class="text_filter" type="text" placeholder="Title">
64
                <input class="text_filter" type="text" placeholder="[% t('Title') %]">
64
            </span>
65
            </span>
65
        </td>
66
        </td>
66
        <td class="hq-collection">
67
        <td class="hq-collection">
67
            <span class="filter_column filter_text">
68
            <span class="filter_column filter_text">
68
                <input type="text" placeholder="Collection">
69
                <input type="text" placeholder="[% t('Collection') %]">
69
            </span>
70
            </span>
70
        </td>
71
        </td>
71
        <td class="hq-itemtype">
72
        <td class="hq-itemtype">
72
            <span class="filter_column filter_text">
73
            <span class="filter_column filter_text">
73
                <input type="text" placeholder="Item type">
74
                <input type="text" placeholder="[% t('Item type') %]">
74
            </span>
75
            </span>
75
        </td>
76
        </td>
76
        <td class="hq-callnumber">
77
        <td class="hq-callnumber">
77
            <span class="filter_column filter_text">
78
            <span class="filter_column filter_text">
78
                <input type="text" placeholder="Call number">
79
                <input type="text" placeholder="[% t('Call number') %]">
79
            </span>
80
            </span>
80
        </td>
81
        </td>
81
        <td class="hq-copynumber">
82
        <td class="hq-copynumber">
82
            <span class="filter_column filter_text">
83
            <span class="filter_column filter_text">
83
                <input type="text" placeholder="Copy number">
84
                <input type="text" placeholder="[% t('Copy number') %]">
84
            </span>
85
            </span>
85
        </td>
86
        </td>
86
        <td class="hq-enumchron">
87
        <td class="hq-enumchron">
87
            <span class="filter_column filter_text">
88
            <span class="filter_column filter_text">
88
                <input type="text" placeholder="Enumeration">
89
                <input type="text" placeholder="[% t('Enumeration') %]">
89
            </span>
90
            </span>
90
        </td>
91
        </td>
91
        <td class="hq-barcode">
92
        <td class="hq-barcode">
92
            <span class="filter_column filter_text">
93
            <span class="filter_column filter_text">
93
                <input type="text" placeholder="Barcode">
94
                <input type="text" placeholder="[% t('Barcode') %]">
94
            </span>
95
            </span>
95
        </td>
96
        </td>
96
        <td class="hq-patron">
97
        <td class="hq-patron">
97
            <span class="filter_column filter_text">
98
            <span class="filter_column filter_text">
98
                <input type="text" placeholder="Patron">
99
                <input type="text" placeholder="[% t('Patron') %]">
99
            </span>
100
            </span>
100
        </td>
101
        </td>
101
        <td class="hq-sendto">
102
        <td class="hq-sendto">
102
            <span class="filter_column filter_text">
103
            <span class="filter_column filter_text">
103
                <input type="text" placeholder="Send to">
104
                <input type="text" placeholder="[% t('Send to') %]">
104
            </span>
105
            </span>
105
        </td>
106
        </td>
106
        <td class="hq-date">
107
        <td class="hq-date">
107
            <span class="filter_column filter_text">
108
            <span class="filter_column filter_text">
108
                <input type="text" placeholder="Date">
109
                <input type="text" placeholder="[% t('Date') %]">
109
            </span>
110
            </span>
110
        </td>
111
        </td>
111
        <td class="hq-notes">
112
        <td class="hq-notes">
112
            <span class="filter_column filter_text">
113
            <span class="filter_column filter_text">
113
                <input type="text" placeholder="Notes">
114
                <input type="text" placeholder="[% t('Notes') %]">
114
            </span>
115
            </span>
115
        </td>
116
        </td>
116
    </tr>
117
    </tr>
Lines 135-141 Link Here
135
136
136
                        [% IF ( itemsloo.item('size') ) %][% itemsloo.item('size') %][% END %]
137
                        [% IF ( itemsloo.item('size') ) %][% itemsloo.item('size') %][% END %]
137
138
138
                        [% IF ( itemsloo.isbn ) %]ISBN: [% itemsloo.isbn %][% END %]
139
                        [% IF ( itemsloo.isbn ) %][% t('ISBN:') %] [% itemsloo.isbn %][% END %]
139
                    </div>
140
                    </div>
140
                </p>
141
                </p>
141
            </td>
142
            </td>
Lines 146-154 Link Here
146
            <td class="hq-enumchron">[% itemsloo.enumchron %]</td>
147
            <td class="hq-enumchron">[% itemsloo.enumchron %]</td>
147
            <td class="hq-barcode">
148
            <td class="hq-barcode">
148
                [% IF ( itemsloo.item_level_request ) %]
149
                [% IF ( itemsloo.item_level_request ) %]
149
                    <em>Only item:</em> <strong>[% itemsloo.barcode %]</strong>
150
                    <em>[% t('Only item:') %]</em> <strong>[% itemsloo.barcode %]</strong>
150
                [% ELSE %]
151
                [% ELSE %]
151
                    <strong>[% itemsloo.barcode %]</strong> <em>or any available</em>
152
                    <strong>[% itemsloo.barcode %]</strong> <em>[% t('or any available') %]</em>
152
                [% END %]
153
                [% END %]
153
            </td>
154
            </td>
154
            <td class="hq-patron">
155
            <td class="hq-patron">
Lines 173-181 Link Here
173
	<fieldset class="rows">
174
	<fieldset class="rows">
174
	<ol>
175
	<ol>
175
        <li>
176
        <li>
176
            <label for="branchlimit">Library: </label>
177
            <label for="branchlimit">[% t('Library:') %] </label>
177
            <select name="branchlimit" id="branchlimit">
178
            <select name="branchlimit" id="branchlimit">
178
                <option value="">All</option>
179
                <option value="">[% t('All') %]</option>
179
                [% PROCESS options_for_libraries libraries => Branches.all( only_from_group => 1 ) %]
180
                [% PROCESS options_for_libraries libraries => Branches.all( only_from_group => 1 ) %]
180
            </select>
181
            </select>
181
        </li>
182
        </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt (-45 / +45 lines)
Lines 1-10 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
4
[% USE Branches %]
5
[% USE Branches %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Circulation &rsaquo; Holds awaiting pickup</title>
8
<title>[% t('Koha › Circulation › Holds awaiting pickup') %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% Asset.css("css/datatables.css") %]
10
[% Asset.css("css/datatables.css") %]
10
</head>
11
</head>
Lines 13-21 Link Here
13
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'circ-search.inc' %]
15
[% INCLUDE 'circ-search.inc' %]
15
16
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
17
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a>
17
&rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
18
› <a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a>
18
&rsaquo; <a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a>
19
› <a href="/cgi-bin/koha/circ/waitingreserves.pl">[% t('Holds awaiting pickup') %]</a>
19
</div>
20
</div>
20
21
21
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
22
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
Lines 25-57 Link Here
25
    [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
26
    [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
26
    <div class="yui-g">
27
    <div class="yui-g">
27
28
28
        <h2>Holds awaiting pickup for your library on: [% show_date | $KohaDates %]
29
        <h2>[% t('Holds awaiting pickup for your library on:') %] [% show_date | $KohaDates %]
29
            [% IF ( all_branches_link ) %]
30
            [% IF ( all_branches_link ) %]
30
            <span style="margin-left:20px"><a href="[% all_branches_link %]">
31
            <span style="margin-left:20px"><a href="[% all_branches_link %]">
31
            View all libraries</a></span>
32
            [% t('View all libraries') %]</a></span>
32
            [% END %]
33
            [% END %]
33
        </h2>
34
        </h2>
34
    [% IF ( cancel_result ) %]
35
    [% IF ( cancel_result ) %]
35
        [% FOREACH cancel_result %]
36
        [% FOREACH cancel_result %]
36
            [% IF ( messagetransfert ) %]
37
            [% IF ( messagetransfert ) %]
37
                <div class="dialog message">
38
                <div class="dialog message">
38
                    <h2>This item is on hold for pick-up at [% Branches.GetName( branchname ) %]</h2>
39
                    <h2>[% t('This item is on hold for pick-up at') %] [% Branches.GetName( branchname ) %]</h2>
39
                    <p><strong>[% nextreservtitle %]</strong> is on hold for <strong> [% nextreservsurname %], [% nextreservfirstname %]</strong>.
40
                    <p><strong>[% nextreservtitle %]</strong> [% t('is on hold for') %] <strong> [% nextreservsurname %], [% nextreservfirstname %]</strong>.
40
                    Please retain this item and check it in to process the hold.
41
                    [% t('Please retain this item and check it in to process the hold.') %]
41
                    </p>
42
                    </p>
42
                    <form name="cancelReservewithtransfert" action="waitingreserves.pl#[% tab %]" method="post">
43
                    <form name="cancelReservewithtransfert" action="waitingreserves.pl#[% tab %]" method="post">
43
                        <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
44
                        <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> [% t('OK') %]</button>
44
                    </form>
45
                    </form>
45
                </div>
46
                </div>
46
            [% END %]
47
            [% END %]
47
            [% IF ( waiting ) %]
48
            [% IF ( waiting ) %]
48
                <div class="dialog message">
49
                <div class="dialog message">
49
                    <h2>This item is on hold for pick-up at your library</h2>
50
                    <h2>[% t('This item is on hold for pick-up at your library') %]</h2>
50
                    <p><strong>[% nextreservtitle %]</strong> is on hold for <strong>[% nextreservsurname %], [% nextreservfirstname %]</strong>.
51
                    <p><strong>[% nextreservtitle %]</strong> [% t('is on hold for') %] <strong>[% nextreservsurname %], [% nextreservfirstname %]</strong>.
51
                    Please retain this item and check it in to process the hold.
52
                    [% t('Please retain this item and check it in to process the hold.') %]
52
                    </p>
53
                    </p>
53
                    <form name="cancelReservewithwaiting" action="waitingreserves.pl#[% tab %]" method="post">
54
                    <form name="cancelReservewithwaiting" action="waitingreserves.pl#[% tab %]" method="post">
54
                        <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
55
                        <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> [% t('OK') %]</button>
55
                    </form>
56
                    </form>
56
                </div>
57
                </div>
57
            [% END %]
58
            [% END %]
Lines 59-68 Link Here
59
    [% ELSE %]
60
    [% ELSE %]
60
        <div id="resultlist" class="toptabs">
61
        <div id="resultlist" class="toptabs">
61
            <ul>
62
            <ul>
62
                <li><a href="#holdswaiting">Holds waiting: [% reservecount %]</a></li>
63
                <li><a href="#holdswaiting">[% t('Holds waiting:') %] [% reservecount %]</a></li>
63
                <li>
64
                <li>
64
                    <a href="#holdsover">
65
                    <a href="#holdsover">
65
                        Holds waiting over [% ReservesMaxPickUpDelay %] days: [% overcount %]
66
                        [% t('Holds waiting over') %] [% ReservesMaxPickUpDelay %] [% t('days:') %] [% overcount %]
66
                    </a>
67
                    </a>
67
                </li>
68
                </li>
68
            </ul>
69
            </ul>
Lines 70-85 Link Here
70
            [% IF ( reserveloop ) %]
71
            [% IF ( reserveloop ) %]
71
               <table id="holdst">
72
               <table id="holdst">
72
               <thead><tr>
73
               <thead><tr>
73
                    <th class="title-string">Waiting since</th>
74
                    <th class="title-string">[% t('Waiting since') %]</th>
74
                    <th class="title-string">Date hold placed</th>
75
                    <th class="title-string">[% t('Date hold placed') %]</th>
75
                    <th class="anti-the">Title</th>
76
                    <th class="anti-the">[% t('Title') %]</th>
76
                    <th>Patron</th>
77
                    <th>[% t('Patron') %]</th>
77
                    <th>Home branch</th>
78
                    <th>[% t('Home branch') %]</th>
78
                    <th>Current location</th>
79
                    <th>[% t('Current location') %]</th>
79
                    <th>Call number</th>
80
                    <th>[% t('Call number') %]</th>
80
                    <th>Copy number</th>
81
                    <th>[% t('Copy number') %]</th>
81
                    <th>Enumeration</th>
82
                    <th>[% t('Enumeration') %]</th>
82
                    <th>Action</th>
83
                    <th>[% t('Action') %]</th>
83
               </tr></thead>
84
               </tr></thead>
84
               <tbody>[% FOREACH reserveloo IN reserveloop %]
85
               <tbody>[% FOREACH reserveloo IN reserveloop %]
85
                <tr>
86
                <tr>
Lines 88-95 Link Here
88
                    <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
89
                    <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
89
                        [% reserveloo.title |html %] [% FOREACH subtitl IN reserveloo.subtitle %] [% subtitl.subfield %][% END %]
90
                        [% reserveloo.title |html %] [% FOREACH subtitl IN reserveloo.subtitle %] [% subtitl.subfield %][% END %]
90
                        </a>
91
                        </a>
91
                            [% UNLESS ( item_level_itypes ) %][% IF ( reserveloo.itemtype ) %]&nbsp; (<b>[% reserveloo.itemtype %]</b>)[% END %][% END %]
92
                            [% UNLESS ( item_level_itypes ) %][% IF ( reserveloo.itemtype ) %]  (<b>[% reserveloo.itemtype %]</b>)[% END %][% END %]
92
                            <br />Barcode: [% reserveloo.barcode %]
93
                            <br />[% t('Barcode:') %] [% reserveloo.barcode %]
93
                    </td>
94
                    </td>
94
                    <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.patron.borrowernumber %]">[% reserveloo.patron.surname%], [% reserveloo.patron.firstname %]</a>
95
                    <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.patron.borrowernumber %]">[% reserveloo.patron.surname%], [% reserveloo.patron.firstname %]</a>
95
                        [% IF ( reserveloo.patron.phone ) %]<br />[% reserveloo.patron.phone %][% END %]
96
                        [% IF ( reserveloo.patron.phone ) %]<br />[% reserveloo.patron.phone %][% END %]
Lines 119-129 Link Here
119
                [% END %]</tbody>
120
                [% END %]</tbody>
120
        </table>
121
        </table>
121
        [% ELSE %]
122
        [% ELSE %]
122
            <div class="dialog message">No holds found.</div>
123
            <div class="dialog message">[% t('No holds found.') %]</div>
123
        [% END %]
124
        [% END %]
124
        </div>
125
        </div>
125
        <div id="holdsover">
126
        <div id="holdsover">
126
                [% IF ( ReservesMaxPickUpDelay ) %]<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay %] days.</p>[% END %]
127
                [% IF ( ReservesMaxPickUpDelay ) %]<p>[% t('Holds listed here have been awaiting pickup for more than') %] [% ReservesMaxPickUpDelay %] [% t('days.') %]</p>[% END %]
127
               [% IF ( overloop ) %]
128
               [% IF ( overloop ) %]
128
               <form name="cancelAllReserve" action="waitingreserves.pl" method="post">
129
               <form name="cancelAllReserve" action="waitingreserves.pl" method="post">
129
                   <input type="hidden" name="cancelall" value="1" />
130
                   <input type="hidden" name="cancelall" value="1" />
Lines 136-156 Link Here
136
                   [% END %]
137
                   [% END %]
137
               </form>
138
               </form>
138
               [% UNLESS TransferWhenCancelAllWaitingHolds %]
139
               [% UNLESS TransferWhenCancelAllWaitingHolds %]
139
                    Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds sypref)
140
                    [% t('Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds sypref)') %]
140
               [% END %]
141
               [% END %]
141
142
142
               <table id="holdso">
143
               <table id="holdso">
143
               <thead><tr>
144
               <thead><tr>
144
                    <th class="title-string">Waiting since</th>
145
                    <th class="title-string">[% t('Waiting since') %]</th>
145
                    <th class="title-string">Date hold placed</th>
146
                    <th class="title-string">[% t('Date hold placed') %]</th>
146
                    <th class="anti-the">Title</th>
147
                    <th class="anti-the">[% t('Title') %]</th>
147
                    <th>Patron</th>
148
                    <th>[% t('Patron') %]</th>
148
                    <th>Home branch</th>
149
                    <th>[% t('Home branch') %]</th>
149
                    <th>Current location</th>
150
                    <th>[% t('Current location') %]</th>
150
                    <th>Call number</th>
151
                    <th>[% t('Call number') %]</th>
151
                    <th>Copy number</th>
152
                    <th>[% t('Copy number') %]</th>
152
                    <th>Enumeration</th>
153
                    <th>[% t('Enumeration') %]</th>
153
                    <th>Action</th>
154
                    <th>[% t('Action') %]</th>
154
               </tr></thead>
155
               </tr></thead>
155
               <tbody>[% FOREACH overloo IN overloop %]
156
               <tbody>[% FOREACH overloo IN overloop %]
156
                    <tr>
157
                    <tr>
Lines 159-166 Link Here
159
                        <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overloo.biblionumber %][% overloo.title |html %]
160
                        <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overloo.biblionumber %][% overloo.title |html %]
160
                            [% FOREACH subtitl IN overloo.subtitle %] [% subtitl.subfield %][% END %]
161
                            [% FOREACH subtitl IN overloo.subtitle %] [% subtitl.subfield %][% END %]
161
                        </a>
162
                        </a>
162
                            [% UNLESS ( item_level_itypes ) %][% IF ( overloo.itemtype ) %]&nbsp; (<b>[% overloo.itemtype %]</b>)[% END %][% END %]
163
                            [% UNLESS ( item_level_itypes ) %][% IF ( overloo.itemtype ) %]  (<b>[% overloo.itemtype %]</b>)[% END %][% END %]
163
                        <br />Barcode: [% overloo.barcode %]
164
                        <br />[% t('Barcode:') %] [% overloo.barcode %]
164
                    </td>
165
                    </td>
165
                    <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overloo.patron.borrowernumber %]">[% overloo.patron.surname %], [% overloo.patron.firstname %]</a><br />[% overloo.patron.phone %]<br />
166
                    <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overloo.patron.borrowernumber %]">[% overloo.patron.surname %], [% overloo.patron.firstname %]</a><br />[% overloo.patron.phone %]<br />
166
                        [% IF ( overloo.patron.first_valid_email_address ) %]<a href="mailto:[% overloo.patron.first_valid_email_address %]?subject=Reservation: [% overloo.title |url %]">
167
                        [% IF ( overloo.patron.first_valid_email_address ) %]<a href="mailto:[% overloo.patron.first_valid_email_address %]?subject=Reservation: [% overloo.title |url %]">
Lines 188-194 Link Here
188
                [% END %]</tbody>
189
                [% END %]</tbody>
189
        </table>
190
        </table>
190
        [% ELSE %]
191
        [% ELSE %]
191
            <div class="dialog message">No holds found.</div>
192
            <div class="dialog message">[% t('No holds found.') %]</div>
192
                [% END %]
193
                [% END %]
193
        </div>
194
        </div>
194
        </div>
195
        </div>
195
- 

Return to bug 20988