Lines 1-9
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Branches %] |
2 |
[% USE Branches %] |
3 |
[% USE KohaDates %] |
3 |
[% USE KohaDates %] |
|
|
4 |
[% PROCESS 'i18n.inc' %] |
4 |
[% SET footerjs = 1 %] |
5 |
[% SET footerjs = 1 %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
<title>Check expiration › Serials › Koha</title> |
7 |
<title>[% FILTER collapse %] |
|
|
8 |
[% t("Check expiration") | html %] › |
9 |
[% t("Serials") | html %] › |
10 |
[% t("Koha") | html %] |
11 |
[% END %]</title> |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
12 |
[% INCLUDE 'doc-head-close.inc' %] |
8 |
</head> |
13 |
</head> |
9 |
|
14 |
|
Lines 70-142
Link Here
|
70 |
</form> |
75 |
</form> |
71 |
|
76 |
|
72 |
[% IF ( subscriptions_loop ) %] |
77 |
[% IF ( subscriptions_loop ) %] |
73 |
<p> |
78 |
<h2> |
74 |
<strong>[% numsubscription | html %]</strong> subscription(s) |
79 |
[% expirydate = date | $KohaDates %] |
75 |
[% IF ( title ) %] |
80 |
[% tnx("Your search returned 1 subscription expiring before {date}", "Your search returned {count} subscriptions expiring before {date}", numsubscription, { date = expirydate, count = numsubscription }) %] |
76 |
with title matching <span class="title">[% title | html %]</class> |
81 |
</h2> |
77 |
[% IF ( issn ) %]and [% END %] |
82 |
|
78 |
[% END %] |
83 |
<div class="page-section"> |
79 |
[% IF ( issn ) %] |
84 |
<div class="checkexpiration-table_table_controls"> |
80 |
with ISSN matching <strong>[% issn | html %]</strong> |
85 |
<a href="#" class="SelectAll"><i class="fa fa-check"></i> Select all</a> | |
81 |
[% END %] |
86 |
<a href="#" class="ClearAll"><i class="fa fa-times"></i> Clear all</a> |
82 |
will expire before <strong>[% date | $KohaDates %]</strong> |
87 |
<span class="itemselection_actions"> |
83 |
</p> |
88 |
| Actions: |
84 |
|
89 |
<a class="itemselection_action_renew" title="Renew selected subscriptions"><i class="fa-solid fa-rotate"></i> Renew selected subscriptions</a> |
85 |
<div class="checkexpiration-table_table_controls"> |
90 |
</span> |
86 |
<a href="#" class="SelectAll"><i class="fa fa-check"></i> Select all</a> | |
91 |
</div> |
87 |
<a href="#" class="ClearAll"><i class="fa fa-times"></i> Clear all</a> |
92 |
|
88 |
<span class="itemselection_actions"> |
93 |
|
89 |
| Actions: |
94 |
<table> |
90 |
<a class="itemselection_action_renew" title="Renew selected subscriptions"><i class="fa-solid fa-rotate"></i> Renew selected subscriptions</a> |
95 |
<tr> |
91 |
</span> |
96 |
<th></th> |
92 |
</div> |
97 |
<th>ISSN</th> |
93 |
|
98 |
<th>Title</th> |
94 |
|
99 |
[% IF can_change_library %]<th>Library</th>[% END %] |
95 |
<table> |
100 |
<th>OPAC note</th> |
96 |
<tr> |
101 |
<th>Nonpublic note</th> |
97 |
<th></th> |
102 |
<th>Expiration date</th> |
98 |
<th>ISSN</th> |
103 |
<th class="noExport">Actions</th> |
99 |
<th>Title</th> |
104 |
</tr> |
100 |
[% IF can_change_library %]<th>Library</th>[% END %] |
105 |
[% FOREACH subscriptions_loo IN subscriptions_loop %] |
101 |
<th>OPAC note</th> |
106 |
<tr> |
102 |
<th>Nonpublic note</th> |
107 |
<td style="text-align:center;vertical-align:middle"> |
103 |
<th>Expiration date</th> |
108 |
<input type="checkbox" value="[% subscriptions_loo.subscriptionid | html %]" name="subscriptionid" /> |
104 |
<th class="noExport">Actions</th> |
109 |
</td> |
105 |
</tr> |
110 |
<td> |
106 |
[% FOREACH subscriptions_loo IN subscriptions_loop %] |
111 |
[% subscriptions_loo.issn | html %] |
107 |
<tr> |
112 |
</td> |
108 |
<td style="text-align:center;vertical-align:middle"> |
113 |
<td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %] |
109 |
<input type="checkbox" value="[% subscriptions_loo.subscriptionid | html %]" name="subscriptionid" /> |
114 |
[% subscriptions_loo.title | html %] |
110 |
</td> |
115 |
[% ELSE %] |
111 |
<td> |
116 |
| |
112 |
[% subscriptions_loo.issn | html %] |
117 |
[% END %] |
113 |
</td> |
118 |
</a> |
114 |
<td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %] |
119 |
</td> |
115 |
[% subscriptions_loo.title | html %] |
120 |
[% IF can_change_library %]<td> |
116 |
[% ELSE %] |
121 |
[% Branches.GetName( subscriptions_loo.branchcode ) | html %] |
117 |
| |
122 |
</td>[% END %] |
118 |
[% END %] |
123 |
<td> |
119 |
</a> |
124 |
[% subscriptions_loo.notes | html %] |
120 |
</td> |
125 |
</td> |
121 |
[% IF can_change_library %]<td> |
126 |
<td> |
122 |
[% Branches.GetName( subscriptions_loo.branchcode ) | html %] |
127 |
[% subscriptions_loo.internalnotes | html %] |
123 |
</td>[% END %] |
128 |
</td> |
124 |
<td> |
129 |
<td> |
125 |
[% subscriptions_loo.notes | html %] |
130 |
[% subscriptions_loo.expirationdate | $KohaDates %] |
126 |
</td> |
131 |
</td> |
127 |
<td> |
132 |
<td class="actions"> |
128 |
[% subscriptions_loo.internalnotes | html %] |
133 |
<a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&subscriptionid=[% subscriptions_loo.subscriptionid | uri %]" class="btn btn-default btn-xs"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> |
129 |
</td> |
134 |
<a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid | uri %]" data-subscriptionid="[% subscriptions_loo.subscriptionid | html %]" class="btn btn-default btn-xs renew_subscription"><i class="fa-solid fa-rotate"></i> Renew</a> |
130 |
<td> |
135 |
</td> |
131 |
[% subscriptions_loo.expirationdate | $KohaDates %] |
136 |
</tr> |
132 |
</td> |
137 |
[% END %] |
133 |
<td class="actions"> |
138 |
</table> |
134 |
<a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&subscriptionid=[% subscriptions_loo.subscriptionid | uri %]" class="btn btn-default btn-xs"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> |
139 |
</div> <!-- /.page-section --> |
135 |
<a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid | uri %]" data-subscriptionid="[% subscriptions_loo.subscriptionid | html %]" class="btn btn-default btn-xs renew_subscription"><i class="fa-solid fa-rotate"></i> Renew</a> |
|
|
136 |
</td> |
137 |
</tr> |
138 |
[% END %] |
139 |
</table> |
140 |
[% ELSIF searched %] |
140 |
[% ELSIF searched %] |
141 |
<p>No results for your query</p> |
141 |
<p>No results for your query</p> |
142 |
[% END %] |
142 |
[% END %] |