|
Lines 856-863
$(document).ready(function() {
Link Here
|
| 856 |
<legend>Create report from SQL</legend> |
856 |
<legend>Create report from SQL</legend> |
| 857 |
<ol> |
857 |
<ol> |
| 858 |
<li><label for="reportname" class="required">Report name:</label> |
858 |
<li><label for="reportname" class="required">Report name:</label> |
| 859 |
[% IF ( reportname ) %]<input type="text" class="required" required="required" id="reportname" name="reportname" value="[% reportname %]" /> |
859 |
[% IF ( reportname ) %]<input type="text" class="required" required="required" id="reportname" name="reportname" value="[% reportname %]" size="50"/> |
| 860 |
[% ELSE %]<input type="text" class="required" required="required" id="reportname" name="reportname" />[% END %] <span class="required">Required</span> |
860 |
[% ELSE %]<input type="text" class="required" required="required" id="reportname" name="reportname" size="50" />[% END %] <span class="required">Required</span> |
| 861 |
</li> |
861 |
</li> |
| 862 |
[% PROCESS group_and_subgroup_selection %] |
862 |
[% PROCESS group_and_subgroup_selection %] |
| 863 |
|
863 |
|
|
Lines 876-888
$(document).ready(function() {
Link Here
|
| 876 |
</select> |
876 |
</select> |
| 877 |
</li>[% END %] |
877 |
</li>[% END %] |
| 878 |
<li><label for="notes">Notes:</label> <textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> |
878 |
<li><label for="notes">Notes:</label> <textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> |
| 879 |
<li><label for="types">Type:</label> |
|
|
| 880 |
<select id="types" name="types"> |
| 881 |
<option value="1">Tabular</option> |
| 882 |
<option value="2" disabled="disabled">Summary</option> |
| 883 |
<option value="3" disabled="disabled">Matrix</option> |
| 884 |
</select> |
| 885 |
</li> |
| 886 |
</ol> |
879 |
</ol> |
| 887 |
</fieldset> |
880 |
</fieldset> |
| 888 |
<fieldset class="rows"> |
881 |
<fieldset class="rows"> |
|
Lines 945-957
Sub report:<select name="subreport">
Link Here
|
| 945 |
[% END %] |
938 |
[% END %] |
| 946 |
|
939 |
|
| 947 |
[% IF ( editsql ) %] |
940 |
[% IF ( editsql ) %] |
| 948 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
941 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" class="validated"> |
| 949 |
<input type="hidden" name="phase" value="Update SQL" /> |
942 |
<input type="hidden" name="phase" value="Update SQL" /> |
| 950 |
<input type="hidden" name="id" value="[% id %]"/> |
943 |
<input type="hidden" name="id" value="[% id %]"/> |
| 951 |
<fieldset class="rows"> |
944 |
<fieldset class="rows"> |
| 952 |
<legend>Edit SQL report</legend> |
945 |
<legend>Edit SQL report</legend> |
| 953 |
<ol> |
946 |
<ol> |
| 954 |
<li><label for="reportname">Report name:</label><input type="text" id="reportname" name="reportname" value="[% reportname %]" size="50" /></li> |
947 |
<li><label for="reportname" class="required">Report name: </label><input type="text" id="reportname" name="reportname" value="[% reportname %]" size="50" class="required" required="required" /> <span class="required">Required</span></li> |
| 955 |
[% PROCESS group_and_subgroup_selection %] |
948 |
[% PROCESS group_and_subgroup_selection %] |
| 956 |
[% IF (public) %] |
949 |
[% IF (public) %] |
| 957 |
<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> |
950 |
<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> |
|
Lines 968-977
Sub report:<select name="subreport">
Link Here
|
| 968 |
</select> |
961 |
</select> |
| 969 |
</li>[% END %] |
962 |
</li>[% END %] |
| 970 |
<li><label for="notes">Notes:</label><textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> |
963 |
<li><label for="notes">Notes:</label><textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> |
| 971 |
<li><textarea id="sql" name="sql" rows="10" cols="60">[% sql %]</textarea></li> |
|
|
| 972 |
</ol> |
964 |
</ol> |
| 973 |
</fieldset> |
965 |
</fieldset> |
| 974 |
|
966 |
|
|
|
967 |
<fieldset class="rows"> |
| 968 |
<legend>SQL:</legend> |
| 969 |
<div style="margin:1em;"> |
| 970 |
<textarea id="sql" name="sql" class="required" required="required" cols="50" rows="10">[% sql %]</textarea> <span class="required">Required</span> |
| 971 |
</div> |
| 972 |
</fieldset> |
| 973 |
|
| 975 |
<fieldset class="action"> |
974 |
<fieldset class="action"> |
| 976 |
<input type="submit" name="submit" value="Update SQL" /> <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a> |
975 |
<input type="submit" name="submit" value="Update SQL" /> <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a> |
| 977 |
</fieldset> |
976 |
</fieldset> |
| 978 |
- |
|
|