Lines 1-5
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %]<title>Koha › Acquisitions › |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% IF ( op_save ) %][% IF ( suttesionid ) %]Edit purchase suggestion #[% suggestionid %][% ELSE %]Enter a new purchase suggestion[% END %][% ELSE %]Suggestions Management[% END %]</title> |
2 |
<title>Koha › Acquisitions › |
|
|
3 |
[% IF ( op_save ) %] |
4 |
[% IF ( suggestionid) %] |
5 |
[% IF ( op == 'show' ) %] |
6 |
Show purchase suggestion #[% suggestionid %] |
7 |
[% ELSE %] |
8 |
Edit purchase suggestion #[% suggestionid %] |
9 |
[% END %] |
10 |
[% ELSE %] |
11 |
Enter a new purchase suggestion |
12 |
[% END %] |
13 |
[% ELSE %] |
14 |
Suggestions Management |
15 |
[% END %] |
16 |
</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
17 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'calendar.inc' %] |
18 |
[% INCLUDE 'calendar.inc' %] |
5 |
[% IF ( op_else ) %] <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
19 |
[% IF ( op_else ) %] <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
Lines 91-97
$(document).ready(function() { calcNewsuggTotal(); });
Link Here
|
91 |
<body> |
105 |
<body> |
92 |
[% INCLUDE 'header.inc' %] |
106 |
[% INCLUDE 'header.inc' %] |
93 |
[% INCLUDE 'cat-search.inc' %] |
107 |
[% INCLUDE 'cat-search.inc' %] |
94 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › [% IF ( op_save ) %] <a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a> › [% IF ( suggestionid ) %]Suggestion edit #[% suggestionid %][% ELSE %]New purchase suggestion[% END %][% ELSE %]Suggestions Management[% END %] </div> |
108 |
<div id="breadcrumbs"> |
|
|
109 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › |
110 |
[% IF ( op_save ) %] |
111 |
<a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a> › |
112 |
[% IF ( op == 'show' ) %] |
113 |
Show suggestion #[% suggestionid %] |
114 |
[% ELSE %] |
115 |
Suggestion edit #[% suggestionid %] |
116 |
[% END %] |
117 |
[% ELSE %] |
118 |
Suggestions Management |
119 |
[% END %] |
120 |
</div> |
121 |
|
122 |
[% IF ( op == 'show' ) %] |
123 |
<div id="doc" class="yui-t7"> <!-- <div id="doc3" class="yui-t2"> --> |
124 |
<div id="bd"> |
125 |
<div id="yui-main"> |
126 |
<div class="yui-b"> |
127 |
|
128 |
<fieldset class="rows"> |
129 |
<legend>Bibliographic information</legend> |
130 |
<ol> |
131 |
<li><span class="label">Title:</span>[% title |html %]</li> |
132 |
<li><span class="label">Author:</span>[% author %]</li> |
133 |
<li><span class="label">Copyright date:</span>[% copyrightdate %]</li> |
134 |
<li><span class="label">ISBN or ISSN or other standard number:</span>[% isbn %]</li> |
135 |
<li><span class="label">Publisher:</span>[% publishercode %]</li> |
136 |
<li><span class="label">Publication Place:</span>[% place %]</li> |
137 |
<li><span class="label">Collection Title:</span>[% collectiontitle %]</li> |
138 |
<li><span class="label">Document Type:</span> |
139 |
[% FOREACH itemtypeloo IN itemtypeloop %] |
140 |
[% IF ( itemtypeloo.selected ) %][% itemtypeloo.description %][% END %] |
141 |
[% END %] |
142 |
</li> |
143 |
[% IF ( patron_reason_loop ) %] |
144 |
<li><span class="label">Reason for suggestion: </span> |
145 |
[% FOREACH patron_reason_loo IN patron_reason_loop %] |
146 |
[% IF ( patron_reason_loo.selected ) %][% patron_reason_loo.lib %][% END %] |
147 |
[% END %] |
148 |
</li> |
149 |
[% END %] |
150 |
<li><span class="label">Notes:</span>[% note %]</li> |
151 |
</ol> |
152 |
</fieldset> |
153 |
<fieldset class="rows"> <legend>Suggestion management</legend> |
154 |
<ol> |
155 |
<li> |
156 |
<span class="label">Status:</span> |
157 |
[% IF ( STATUS == 'ASKED' ) %]Pending |
158 |
[% ELSIF ( STATUS == 'ACCEPTED' ) %]Accepted |
159 |
[% ELSIF ( STATUS == 'CHECKED' ) %]Checked |
160 |
[% ELSIF ( STATUS == 'REJECTED' ) %]Rejected |
161 |
[% ELSE %]No Status |
162 |
[% END %] |
163 |
</li> |
164 |
<li> |
165 |
<table> |
166 |
<thead><tr><th> </th><th>Date</th><th>By</th></tr></thead> |
167 |
<tbody> |
168 |
<tr> |
169 |
<th><span class="label">Suggestion creation</span> </th> |
170 |
<td>[% suggesteddate %]</td> |
171 |
<td>[% IF ( suggestedby_borrowernumber ) %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggestedby_borrowernumber %]">[% suggestedby_surname %], [% suggestedby_firstname %]</a> [% suggestedby_branchcode %] ([% suggestedby_description %])[% END %] |
172 |
</td> |
173 |
</tr> |
174 |
<tr> |
175 |
<th><span class="label">Suggestion management</span> </th> |
176 |
<td>[% manageddate %]</td> |
177 |
<td>[% IF ( managedby_borrowernumber ) %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% managedby_borrowernumber %]">[% managedby_surname %], [% managedby_firstname %]</a> [% managedby_branchcode %] ([% managedby_description %])[% END %]</td> |
178 |
</tr> |
179 |
<tr> |
180 |
<th><span class="label">Suggestion Accepted</span> </th> |
181 |
<td>[% accepteddate %]</td> |
182 |
<td>[% IF ( acceptedby_borrowernumber ) %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% acceptedby_borrowernumber %]">[% acceptedby_surname %], [% acceptedby_firstname %]</a> [% acceptedby_branchcode %] ([% acceptedby_description %])[% END %]</td> |
183 |
</tr> |
184 |
</tbody> |
185 |
</table></li></ol> |
186 |
</fieldset> |
187 |
<fieldset class="rows"> <legend>Acquisition information</legend> |
188 |
<ol> |
189 |
<li> |
190 |
<span class="label">Library:</span> [% branchname %] |
191 |
</li> |
192 |
<li> |
193 |
<span class="label">Budget:</span> [% budgetname %] |
194 |
</li> |
195 |
<li> |
196 |
<span class="label">Copies:</span>[% quantity %] |
197 |
</li> |
198 |
<li> |
199 |
<span class="label">Currency:</span>[% currency %] |
200 |
</li> |
201 |
<li> |
202 |
<span class="label">Price:</span>[% price %] |
203 |
</li> |
204 |
<li> |
205 |
<span class="label">Total</span>[% total %] |
206 |
</li> |
207 |
</ol> |
208 |
</fieldset> |
209 |
|
210 |
<a class="cancel" href="suggestion.pl"><<Back to the list</a> |
211 |
|
212 |
</div> |
213 |
</div> |
214 |
</div> |
215 |
[% ELSE %] |
95 |
|
216 |
|
96 |
[% IF ( op_save ) %]<div id="doc" class="yui-t7">[% ELSE %]<div id="doc3" class="yui-t2">[% END %] |
217 |
[% IF ( op_save ) %]<div id="doc" class="yui-t7">[% ELSE %]<div id="doc3" class="yui-t2">[% END %] |
97 |
<div id="bd"> |
218 |
<div id="bd"> |
Lines 189-195
$(document).ready(function() { calcNewsuggTotal(); });
Link Here
|
189 |
<input type="text" readonly="readonly" id="total" name="total" size="10" value="[% total %]"/> |
310 |
<input type="text" readonly="readonly" id="total" name="total" size="10" value="[% total %]"/> |
190 |
</li></ol> |
311 |
</li></ol> |
191 |
</fieldset><input type="hidden" id="returnsuggested" name="returnsuggested" value="[% IF ( returnsuggestedby ) %][% returnsuggestedby %][% ELSE %]noone[% END %]"/> |
312 |
</fieldset><input type="hidden" id="returnsuggested" name="returnsuggested" value="[% IF ( returnsuggestedby ) %][% returnsuggestedby %][% ELSE %]noone[% END %]"/> |
192 |
<fieldset class="action"><input type="hidden" name="op" value="[% op %]" />[% IF ( suggestionid ) %]<input type="submit" value="Save" /> <a class="cancel" href="[% IF ( returnsuggestedby ) %]/cgi-bin/koha/members/moremember.pl?borrowernumber=[% returnsuggestedby %]#suggestions[% ELSE %]suggestion.pl?suggestionid=[% suggestionid %][% END %]">Cancel</a>[% ELSE %]<input type="submit" value="Submit Your Suggestion" /> <a class="cancel" href="suggestion.pl">Cancel</a>[% END %] |
313 |
<fieldset class="action"><input type="hidden" name="op" value="[% op %]" />[% IF ( suggestionid ) %]<input type="submit" value="Save" /> <a class="cancel" href="[% IF ( returnsuggestedby ) %]/cgi-bin/koha/members/moremember.pl?borrowernumber=[% returnsuggestedby %]#suggestions[% ELSE %]suggestion.pl?suggestionid=[% suggestionid %]&op=show[% END %]">Cancel</a>[% ELSE %]<input type="submit" value="Submit Your Suggestion" /> <a class="cancel" href="suggestion.pl">Cancel</a>[% END %] |
193 |
</fieldset> |
314 |
</fieldset> |
194 |
</form> |
315 |
</form> |
195 |
[% END %] |
316 |
[% END %] |
Lines 245-253
$(document).ready(function() { calcNewsuggTotal(); });
Link Here
|
245 |
<input type="checkbox" name="edit_field" value="[% suggestions_loo.suggestionid %]" /> |
366 |
<input type="checkbox" name="edit_field" value="[% suggestions_loo.suggestionid %]" /> |
246 |
</td> |
367 |
</td> |
247 |
<td> |
368 |
<td> |
248 |
<a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&op=edit" title="suggestion" > |
369 |
<a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&op=show" title="suggestion" > |
249 |
[% suggestions_loo.title |html %][% IF ( suggestions_loo.author ) %], by [% suggestions_loo.author %][% END %] |
370 |
[% suggestions_loo.title |html %][% IF ( suggestions_loo.author ) %], by [% suggestions_loo.author %][% END %]</a> |
250 |
</a> |
371 |
[<a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&op=edit" title="suggestion" >edit</a>] |
251 |
<br /> |
372 |
<br /> |
252 |
[% IF ( suggestions_loo.copyrightdate ) %]© [% suggestions_loo.copyrightdate %] [% END %] |
373 |
[% IF ( suggestions_loo.copyrightdate ) %]© [% suggestions_loo.copyrightdate %] [% END %] |
253 |
[% IF ( suggestions_loo.volumedesc ) %]; Volume:<i>[% suggestions_loo.volumedesc %]</i> [% END %] |
374 |
[% IF ( suggestions_loo.volumedesc ) %]; Volume:<i>[% suggestions_loo.volumedesc %]</i> [% END %] |
Lines 314-320
$(document).ready(function() { calcNewsuggTotal(); });
Link Here
|
314 |
</div> |
435 |
</div> |
315 |
</div> |
436 |
</div> |
316 |
|
437 |
|
317 |
[% UNLESS ( op_save ) %] <div class="yui-b"> |
438 |
[% UNLESS ( op_save ) %] [% UNLESS ( op == 'show' ) %]<div class="yui-b"> |
318 |
<form name="suggestionfilter" action="suggestion.pl" method="get"> |
439 |
<form name="suggestionfilter" action="suggestion.pl" method="get"> |
319 |
<fieldset class="brief"><ol style="display:block;"><li><label for="displayby">Organize by: </label> |
440 |
<fieldset class="brief"><ol style="display:block;"><li><label for="displayby">Organize by: </label> |
320 |
<select name="displayby" id="displayby" style="width:auto;"> |
441 |
<select name="displayby" id="displayby" style="width:auto;"> |
Lines 458-464
$(document).ready(function() { calcNewsuggTotal(); });
Link Here
|
458 |
</fieldset> |
579 |
</fieldset> |
459 |
</div> |
580 |
</div> |
460 |
</form> |
581 |
</form> |
461 |
</div>[% END %] |
582 |
</div> |
|
|
583 |
[% END %] |
584 |
[% END %] |
462 |
</div> |
585 |
</div> |
|
|
586 |
[% END %] |
463 |
[% INCLUDE 'intranet-bottom.inc' %] |
587 |
[% INCLUDE 'intranet-bottom.inc' %] |
464 |
|
588 |
|