Lines 702-755
canned reports and writing custom SQL reports.</p>
Link Here
|
702 |
[% END %] |
702 |
[% END %] |
703 |
|
703 |
|
704 |
[% IF ( warn_authval_problem ) %] |
704 |
[% IF ( warn_authval_problem ) %] |
705 |
<form action='/cgi-bin/koha/reports/guided_reports.pl'> |
705 |
<div class="dialog alert"> |
|
|
706 |
<h3>Errors found when processing parameters for report: [% name %]</h3> |
707 |
[% FOREACH problematic_authval IN problematic_authvals %] |
708 |
<p> |
709 |
<strong>[% problematic_authval.name %]:</strong> The authorized value category (<strong>[% problematic_authval.authval %]</strong>) |
710 |
you selected does not exist. |
711 |
</p> |
712 |
[% END %] |
713 |
<!-- Save Anyway Form --> |
714 |
<form action='/cgi-bin/koha/reports/guided_reports.pl'> |
706 |
<!--Every parameter the user issued is provided as a hidden field for recovery--> |
715 |
<!--Every parameter the user issued is provided as a hidden field for recovery--> |
707 |
<input type='hidden' name='id' value='[% id %]' /> |
716 |
<input type='hidden' name='id' value='[% id %]' /> |
708 |
<input type='hidden' name='sql' value='[% sql %]' /> |
717 |
<input type='hidden' name='sql' value='[% sql %]' /> |
709 |
<input type='hidden' name='reportname' value='[% reportname %]' /> |
718 |
<input type='hidden' name='reportname' value='[% reportname %]' /> |
710 |
<input type='hidden' name='group' value='[% group %]' /> |
719 |
<input type='hidden' name='group' value='[% group %]' /> |
711 |
<input type='hidden' name='subgroup' value='[% subgroup %]' /> |
720 |
<input type='hidden' name='subgroup' value='[% subgroup %]' /> |
712 |
<input type='hidden' name='notes' value='[% notes %]' /> |
721 |
<input type='hidden' name='notes' value='[% notes %]' /> |
713 |
<input type='hidden' name='cache_expiry' value='[% cache_expiry %]' /> |
722 |
<input type='hidden' name='cache_expiry' value='[% cache_expiry %]' /> |
714 |
<input type='hidden' name='cache_expiry_units' value='[% cache_expiry_units %]' /> |
723 |
<input type='hidden' name='cache_expiry_units' value='[% cache_expiry_units %]' /> |
715 |
<input type='hidden' name='public' value='[% public %]' /> |
724 |
<input type='hidden' name='public' value='[% public %]' /> |
716 |
|
725 |
[% IF ( phase_update) %] |
717 |
<div class="dialog alert"> |
726 |
<input type='hidden' name='phase' value='Update SQL' /> |
718 |
<h3>Errors found when processing parameters for report: [% name %]</h3> |
727 |
<button type="submit" name="save_anyway" value="Save anyway" class="approve"><i class="fa fa-fw fa-check"></i> Save anyway</button> |
719 |
[% FOREACH problematic_authval IN problematic_authvals %] |
728 |
[% ELSIF ( phase_save) %] |
720 |
<p> |
729 |
<input type='hidden' name='area' value='[% area %]' /> |
721 |
<strong>[% problematic_authval.name %]:</strong> The authorized value category (<strong>[% problematic_authval.authval %]</strong>) |
730 |
<input type='hidden' name='phase' value='Save Report' /> |
722 |
you selected does not exist. |
731 |
<button type="submit" name="save_anyway" value="Save anyway" class="approve"><i class="fa fa-fw fa-check"></i> Save anyway</button> |
723 |
</p> |
732 |
[% END %] |
724 |
[% END %] |
733 |
</form> |
725 |
<!-- Save Anyway Form --> |
734 |
<!-- Go back to editing --> |
726 |
<form action='/cgi-bin/koha/reports/guided_reports.pl'> |
735 |
<form action='/cgi-bin/koha/reports/guided_reports.pl'> |
727 |
<!--Every parameter the user issued is provided as a hidden field for recovery--> |
736 |
<button type="button" class="new" onclick="history.back()"><i class="fa fa-fw fa-pencil"></i> Edit SQL</button> |
728 |
<input type='hidden' name='id' value='[% id %]' /> |
737 |
</form> |
729 |
<input type='hidden' name='sql' value='[% sql %]' /> |
738 |
</div> |
730 |
<input type='hidden' name='reportname' value='[% reportname %]' /> |
|
|
731 |
<input type='hidden' name='group' value='[% group %]' /> |
732 |
<input type='hidden' name='subgroup' value='[% subgroup %]' /> |
733 |
<input type='hidden' name='notes' value='[% notes %]' /> |
734 |
<input type='hidden' name='cache_expiry' value='[% cache_expiry %]' /> |
735 |
<input type='hidden' name='cache_expiry_units' value='[% cache_expiry_units %]' /> |
736 |
<input type='hidden' name='public' value='[% public %]' /> |
737 |
[% IF ( phase_update) %] |
738 |
<input type='hidden' name='phase' value='Update SQL' /> |
739 |
<input type="submit" name="save_anyway" class="approve" value="Save anyway" /> |
740 |
[% ELSIF ( phase_save) %] |
741 |
<input type='hidden' name='area' value='[% area %]' /> |
742 |
<input type='hidden' name='phase' value='Save Report' /> |
743 |
<input type="submit" name="save_anyway" class="approve" value="Save anyway" /> |
744 |
[% END %] |
745 |
</form> |
746 |
<!-- Go back to editing --> |
747 |
<form action='/cgi-bin/koha/reports/guided_reports.pl'> |
748 |
<input type="button" name='back' class="deny" value="Edit SQL" |
749 |
onclick="javascript:history.back()" /> |
750 |
</form> |
751 |
</div> |
752 |
</form> |
753 |
[% END %] |
739 |
[% END %] |
754 |
|
740 |
|
755 |
[% IF ( enter_params ) %] |
741 |
[% IF ( enter_params ) %] |
756 |
- |
|
|