|
Lines 306-312
canned reports and writing custom SQL reports.</p>
Link Here
|
| 306 |
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Show%20SQL">Show</a> |
306 |
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Show%20SQL">Show</a> |
| 307 |
[% IF ( CAN_user_reports_create_reports ) %] |
307 |
[% IF ( CAN_user_reports_create_reports ) %] |
| 308 |
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Edit%20SQL">Edit</a> |
308 |
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Edit%20SQL">Edit</a> |
| 309 |
<a title="Duplicate this saved report" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create report from SQL&sql=[% savedreport.savedsql |uri %]&reportname=[% savedreport.report_name |uri %]¬es=[% savedreport.notes |uri %]">Duplicate</a> |
309 |
<a title="Duplicate this saved report" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create report from SQL&sql=[% savedreport.savedsql |uri %]&reportname=[% savedreport.report_name |uri %]&notes=[% savedreport.notes |uri %]">Duplicate</a> |
| 310 |
[% END %] |
310 |
[% END %] |
| 311 |
</td> |
311 |
</td> |
| 312 |
<td> |
312 |
<td> |
|
Lines 366-374
canned reports and writing custom SQL reports.</p>
Link Here
|
| 366 |
[% END %] |
366 |
[% END %] |
| 367 |
</select></li> |
367 |
</select></li> |
| 368 |
[% IF (public) %] |
368 |
[% IF (public) %] |
| 369 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0">No (default)</option> <option value="1" selected="selected">Yes</public> </select></li> |
369 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0">No (default)</option> <option value="1" selected="selected">Yes</option> </select></li> |
| 370 |
[% ELSE %] |
370 |
[% ELSE %] |
| 371 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0" selected="selected">No (default)</option> <option value="1">Yes</public> </select></li> |
371 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0" selected="selected">No (default)</option> <option value="1">Yes</option> </select></li> |
| 372 |
[% END %] |
372 |
[% END %] |
| 373 |
[% IF (usecache) %] <li> |
373 |
[% IF (usecache) %] <li> |
| 374 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
374 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
|
Lines 380-386
canned reports and writing custom SQL reports.</p>
Link Here
|
| 380 |
</select> |
380 |
</select> |
| 381 |
</li>[% END %] |
381 |
</li>[% END %] |
| 382 |
</ol> |
382 |
</ol> |
| 383 |
<ofieldset> |
383 |
</fieldset> |
| 384 |
<fieldset class="action"> |
384 |
<fieldset class="action"> |
| 385 |
<input type="hidden" name="phase" value="Report on this Area" /> |
385 |
<input type="hidden" name="phase" value="Report on this Area" /> |
| 386 |
<input type="submit" name="submit" value="Next >>" /> |
386 |
<input type="submit" name="submit" value="Next >>" /> |
|
Lines 528-538
canned reports and writing custom SQL reports.</p>
Link Here
|
| 528 |
</fieldset> |
528 |
</fieldset> |
| 529 |
|
529 |
|
| 530 |
[% IF ( definitions ) %] |
530 |
[% IF ( definitions ) %] |
| 531 |
<fieldset><legend>Dictionary definitions</legend><table> |
531 |
<fieldset><legend>Dictionary definitions</legend> |
|
|
532 |
<table> |
| 532 |
[% FOREACH definition IN definitions %] |
533 |
[% FOREACH definition IN definitions %] |
| 533 |
<tr><td><input type="checkbox" name="definition" value="[% definition.id %]" /> [% definition.name %]</td></tr> |
534 |
<tr><td><input type="checkbox" name="definition" value="[% definition.id %]" /> [% definition.name %]</td></tr> |
| 534 |
[% END %] |
535 |
[% END %] |
| 535 |
</table> |
536 |
</table> |
|
|
537 |
</fieldset> |
| 536 |
[% END %] |
538 |
[% END %] |
| 537 |
|
539 |
|
| 538 |
<fieldset class="action"><input type="hidden" name="phase" value="Choose these criteria" /> |
540 |
<fieldset class="action"><input type="hidden" name="phase" value="Choose these criteria" /> |
|
Lines 712-720
$(document).ready(function() {
Link Here
|
| 712 |
[% PROCESS group_and_subgroup_selection %] |
714 |
[% PROCESS group_and_subgroup_selection %] |
| 713 |
|
715 |
|
| 714 |
[% IF (public) %] |
716 |
[% IF (public) %] |
| 715 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0">No (default)</option> <option value="1" selected="selected">Yes</public> </select></li> |
717 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0">No (default)</option> <option value="1" selected="selected">Yes</option> </select></li> |
| 716 |
[% ELSE %] |
718 |
[% ELSE %] |
| 717 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0" selected="selected">No (default)</option> <option value="1">Yes</public> </select></li> |
719 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0" selected="selected">No (default)</option> <option value="1">Yes</option> </select></li> |
| 718 |
[% END %] |
720 |
[% END %] |
| 719 |
[% IF (usecache) %] <li> |
721 |
[% IF (usecache) %] <li> |
| 720 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
722 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
|
Lines 804-812
Sub report:<select name="subreport">
Link Here
|
| 804 |
<li><label for="reportname">Report name:</label><input type="text" id="reportname" name="reportname" value="[% reportname %]" size="50" /></li> |
806 |
<li><label for="reportname">Report name:</label><input type="text" id="reportname" name="reportname" value="[% reportname %]" size="50" /></li> |
| 805 |
[% PROCESS group_and_subgroup_selection %] |
807 |
[% PROCESS group_and_subgroup_selection %] |
| 806 |
[% IF (public) %] |
808 |
[% IF (public) %] |
| 807 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0">No (default)</option> <option value="1" selected="selected">Yes</public> </select></li> |
809 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0">No (default)</option> <option value="1" selected="selected">Yes</option> </select></li> |
| 808 |
[% ELSE %] |
810 |
[% ELSE %] |
| 809 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0" selected="selelcted">No (default)</option> <option value="1">Yes</public> </select></li> |
811 |
<li><label for="public">Report is public:</label><select id="public" name="public"> <option value="0" selected="selelcted">No (default)</option> <option value="1">Yes</option> </select></li> |
| 810 |
[% END %] |
812 |
[% END %] |
| 811 |
[% IF (usecache) %] <li> |
813 |
[% IF (usecache) %] <li> |
| 812 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
814 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
|
Lines 883-888
Sub report:<select name="subreport">
Link Here
|
| 883 |
<li><label for="filter_author">Author:</label> <input type="text" id="filter_author" name="filter_author" value="[% filter_author %]" /></li> |
885 |
<li><label for="filter_author">Author:</label> <input type="text" id="filter_author" name="filter_author" value="[% filter_author %]" /></li> |
| 884 |
<li><label for="filter_keyword">Keyword:</label> <input type="text" id="filter_keyword" name="filter_keyword" value="[% filter_keyword %]" /></li> |
886 |
<li><label for="filter_keyword">Keyword:</label> <input type="text" id="filter_keyword" name="filter_keyword" value="[% filter_keyword %]" /></li> |
| 885 |
</ol> |
887 |
</ol> |
|
|
888 |
</fieldset> |
| 886 |
<fieldset class="action"><input type="submit" value="Apply filter" /></fieldset> |
889 |
<fieldset class="action"><input type="submit" value="Apply filter" /></fieldset> |
| 887 |
</form> |
890 |
</form> |
| 888 |
</div> |
891 |
</div> |
| 889 |
- |
|
|