|
Lines 315-321
canned reports and writing custom SQL reports.</p>
Link Here
|
| 315 |
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Show%20SQL">Show</a> |
315 |
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Show%20SQL">Show</a> |
| 316 |
[% IF ( CAN_user_reports_create_reports ) %] |
316 |
[% IF ( CAN_user_reports_create_reports ) %] |
| 317 |
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Edit%20SQL">Edit</a> |
317 |
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id %]&phase=Edit%20SQL">Edit</a> |
| 318 |
<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> |
318 |
<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> |
| 319 |
[% END %] |
319 |
[% END %] |
| 320 |
</td> |
320 |
</td> |
| 321 |
<td> |
321 |
<td> |
|
Lines 375-383
canned reports and writing custom SQL reports.</p>
Link Here
|
| 375 |
[% END %] |
375 |
[% END %] |
| 376 |
</select></li> |
376 |
</select></li> |
| 377 |
[% IF (public) %] |
377 |
[% IF (public) %] |
| 378 |
<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> |
378 |
<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> |
| 379 |
[% ELSE %] |
379 |
[% ELSE %] |
| 380 |
<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> |
380 |
<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> |
| 381 |
[% END %] |
381 |
[% END %] |
| 382 |
[% IF (usecache) %] <li> |
382 |
[% IF (usecache) %] <li> |
| 383 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
383 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
|
Lines 389-395
canned reports and writing custom SQL reports.</p>
Link Here
|
| 389 |
</select> |
389 |
</select> |
| 390 |
</li>[% END %] |
390 |
</li>[% END %] |
| 391 |
</ol> |
391 |
</ol> |
| 392 |
<ofieldset> |
392 |
</fieldset> |
| 393 |
<fieldset class="action"> |
393 |
<fieldset class="action"> |
| 394 |
<input type="hidden" name="phase" value="Report on this Area" /> |
394 |
<input type="hidden" name="phase" value="Report on this Area" /> |
| 395 |
<input type="submit" name="submit" value="Next >>" /> |
395 |
<input type="submit" name="submit" value="Next >>" /> |
|
Lines 537-547
canned reports and writing custom SQL reports.</p>
Link Here
|
| 537 |
</fieldset> |
537 |
</fieldset> |
| 538 |
|
538 |
|
| 539 |
[% IF ( definitions ) %] |
539 |
[% IF ( definitions ) %] |
| 540 |
<fieldset><legend>Dictionary definitions</legend><table> |
540 |
<fieldset><legend>Dictionary definitions</legend> |
|
|
541 |
<table> |
| 541 |
[% FOREACH definition IN definitions %] |
542 |
[% FOREACH definition IN definitions %] |
| 542 |
<tr><td><input type="checkbox" name="definition" value="[% definition.id %]" /> [% definition.name %]</td></tr> |
543 |
<tr><td><input type="checkbox" name="definition" value="[% definition.id %]" /> [% definition.name %]</td></tr> |
| 543 |
[% END %] |
544 |
[% END %] |
| 544 |
</table> |
545 |
</table> |
|
|
546 |
</fieldset> |
| 545 |
[% END %] |
547 |
[% END %] |
| 546 |
|
548 |
|
| 547 |
<fieldset class="action"><input type="hidden" name="phase" value="Choose these criteria" /> |
549 |
<fieldset class="action"><input type="hidden" name="phase" value="Choose these criteria" /> |
|
Lines 741-749
$(document).ready(function() {
Link Here
|
| 741 |
[% PROCESS group_and_subgroup_selection %] |
743 |
[% PROCESS group_and_subgroup_selection %] |
| 742 |
|
744 |
|
| 743 |
[% IF (public) %] |
745 |
[% IF (public) %] |
| 744 |
<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> |
746 |
<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> |
| 745 |
[% ELSE %] |
747 |
[% ELSE %] |
| 746 |
<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> |
748 |
<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> |
| 747 |
[% END %] |
749 |
[% END %] |
| 748 |
[% IF (usecache) %] <li> |
750 |
[% IF (usecache) %] <li> |
| 749 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
751 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
|
Lines 833-841
Sub report:<select name="subreport">
Link Here
|
| 833 |
<li><label for="reportname">Report name:</label><input type="text" id="reportname" name="reportname" value="[% reportname %]" size="50" /></li> |
835 |
<li><label for="reportname">Report name:</label><input type="text" id="reportname" name="reportname" value="[% reportname %]" size="50" /></li> |
| 834 |
[% PROCESS group_and_subgroup_selection %] |
836 |
[% PROCESS group_and_subgroup_selection %] |
| 835 |
[% IF (public) %] |
837 |
[% IF (public) %] |
| 836 |
<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> |
838 |
<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> |
| 837 |
[% ELSE %] |
839 |
[% ELSE %] |
| 838 |
<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> |
840 |
<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> |
| 839 |
[% END %] |
841 |
[% END %] |
| 840 |
[% IF (usecache) %] <li> |
842 |
[% IF (usecache) %] <li> |
| 841 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
843 |
<label for="cache_expiry">Cache expiry:</label><input type="text" id="cache_expiry" name="cache_expiry" value="[% cache_expiry %]"></input> |
|
Lines 912-917
Sub report:<select name="subreport">
Link Here
|
| 912 |
<li><label for="filter_author">Author:</label> <input type="text" id="filter_author" name="filter_author" value="[% filter_author %]" /></li> |
914 |
<li><label for="filter_author">Author:</label> <input type="text" id="filter_author" name="filter_author" value="[% filter_author %]" /></li> |
| 913 |
<li><label for="filter_keyword">Keyword:</label> <input type="text" id="filter_keyword" name="filter_keyword" value="[% filter_keyword %]" /></li> |
915 |
<li><label for="filter_keyword">Keyword:</label> <input type="text" id="filter_keyword" name="filter_keyword" value="[% filter_keyword %]" /></li> |
| 914 |
</ol> |
916 |
</ol> |
|
|
917 |
</fieldset> |
| 915 |
<fieldset class="action"><input type="submit" value="Apply filter" /></fieldset> |
918 |
<fieldset class="action"><input type="submit" value="Apply filter" /></fieldset> |
| 916 |
</form> |
919 |
</form> |
| 917 |
</div> |
920 |
</div> |
| 918 |
- |
|
|