|
Lines 87-92
$(document).ready(function(){
Link Here
|
| 87 |
<div id="bd"> |
87 |
<div id="bd"> |
| 88 |
<div id="yui-main"> |
88 |
<div id="yui-main"> |
| 89 |
<div class="yui-b"> |
89 |
<div class="yui-b"> |
|
|
90 |
[% INCLUDE "reports-toolbar.inc" %] |
| 90 |
|
91 |
|
| 91 |
[% IF ( start ) %] |
92 |
[% IF ( start ) %] |
| 92 |
<h2>Guided Reports</h2> |
93 |
<h2>Guided Reports</h2> |
|
Lines 548-554
canned reports and writing custom SQL reports.</p>
Link Here
|
| 548 |
</fieldset> |
549 |
</fieldset> |
| 549 |
|
550 |
|
| 550 |
<fieldset class="action"><input type="hidden" name="phase" value="Save Report" /> |
551 |
<fieldset class="action"><input type="hidden" name="phase" value="Save Report" /> |
| 551 |
<input type="submit" name="submit" value="Save Report" /></fieldset> |
552 |
<input type="submit" name="submit" value="Save Report" /> <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a> |
|
|
553 |
</fieldset> |
| 552 |
</form> |
554 |
</form> |
| 553 |
[% END %] |
555 |
[% END %] |
| 554 |
|
556 |
|
|
Lines 589-595
Sub report:<select name="subreport">
Link Here
|
| 589 |
[% END %] |
591 |
[% END %] |
| 590 |
|
592 |
|
| 591 |
[% IF ( showsql ) %] |
593 |
[% IF ( showsql ) %] |
| 592 |
<textarea id="sql">[% sql %]</textarea> |
594 |
<fieldset class="rows"> |
|
|
595 |
<legend>[% reportname %]</legend> |
| 596 |
<ol> |
| 597 |
[% IF ( notes ) %]<li><span class="label">Notes:</span> [% notes %]</li>[% ELSE %][% END %] |
| 598 |
<li><textarea id="sql">[% sql %]</textarea></li> |
| 599 |
</ol> |
| 600 |
</fieldset> |
| 593 |
[% END %] |
601 |
[% END %] |
| 594 |
|
602 |
|
| 595 |
[% IF ( editsql ) %] |
603 |
[% IF ( editsql ) %] |
|
Lines 597-612
Sub report:<select name="subreport">
Link Here
|
| 597 |
<input type="hidden" name="phase" value="Update SQL" /> |
605 |
<input type="hidden" name="phase" value="Update SQL" /> |
| 598 |
<input type="hidden" name="id" value="[% id %]"/> |
606 |
<input type="hidden" name="id" value="[% id %]"/> |
| 599 |
<fieldset class="rows"> |
607 |
<fieldset class="rows"> |
| 600 |
<legend>Edit SQL</legend> |
608 |
<legend>Edit SQL report</legend> |
| 601 |
<ol> |
609 |
<ol> |
| 602 |
<li><label for="reportname">Report Name:</label><input type="text" id="reportname" name="reportname" value="[% reportname %]" /></li> |
610 |
<li><label for="reportname">Report Name:</label><input type="text" id="reportname" name="reportname" value="[% reportname %]" size="50" /></li> |
| 603 |
<li><label for="notes">Notes:</label><textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> |
611 |
<li><label for="notes">Notes:</label><textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li> |
| 604 |
<li><textarea id="sql" name="sql" rows="10" cols="60">[% sql %]</textarea></li> |
612 |
<li><textarea id="sql" name="sql" rows="10" cols="60">[% sql %]</textarea></li> |
| 605 |
</ol> |
613 |
</ol> |
| 606 |
</fieldset> |
614 |
</fieldset> |
| 607 |
|
615 |
|
| 608 |
<fieldset class="action"> |
616 |
<fieldset class="action"> |
| 609 |
<input type="submit" name="submit" value="Update SQL" /></fieldset> |
617 |
<input type="submit" name="submit" value="Update SQL" /> <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a> |
|
|
618 |
</fieldset> |
| 610 |
</form> |
619 |
</form> |
| 611 |
|
620 |
|
| 612 |
|
621 |
|
|
Lines 615-621
Sub report:<select name="subreport">
Link Here
|
| 615 |
[% IF ( save_successful ) %] |
624 |
[% IF ( save_successful ) %] |
| 616 |
[% UNLESS ( errors ) %] |
625 |
[% UNLESS ( errors ) %] |
| 617 |
<h2>Your report has been saved</h2> |
626 |
<h2>Your report has been saved</h2> |
| 618 |
<p>The report you have created has now been saved. You can now</p> |
627 |
<h4>[% reportname %]</h4> |
| 619 |
<ul> |
628 |
<ul> |
| 620 |
[% IF ( id ) %] |
629 |
[% IF ( id ) %] |
| 621 |
<li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Run%20this%20report">Run this report</a></li> |
630 |
<li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Run%20this%20report">Run this report</a></li> |