View | Details | Raw Unified | Return to bug 20814
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-7 / +13 lines)
Lines 177-185 canned reports and writing custom SQL reports.</p> Link Here
177
                    <th class="title-string">Last run</th>
177
                    <th class="title-string">Last run</th>
178
                    <th class="report_public">Public</th>
178
                    <th class="report_public">Public</th>
179
                    <th class="report_json_url">JSON URL</th>
179
                    <th class="report_json_url">JSON URL</th>
180
                    [% IF (usecache) %] <th>Cache expiry (seconds)</th> [% END %]
180
                    [% IF (usecache) %]
181
                        <th>Cache expiry (seconds)</th>
182
                    [% ELSE %]
183
                        <th class="hidden">&nbsp;</th>
184
                    [% END %]
181
                    <th>Saved results</th>
185
                    <th>Saved results</th>
182
                    [% IF has_obsolete_reports %]<th>Update</th>[% END %]
186
                    [% IF has_obsolete_reports %]
187
                        <th>Update</th>
188
                    [% ELSE %]
189
                        <th class="hidden">&nbsp;</th>
190
                    [% END %]
183
                    <th>Actions</th>
191
                    <th>Actions</th>
184
                </tr>
192
                </tr>
185
            </thead>
193
            </thead>
Lines 221-241 canned reports and writing custom SQL reports.</p> Link Here
221
                            <a href="/cgi-bin/koha/svc/report?id=[% savedreport.id | uri %]">[% Koha.Preference('staffClientBaseURL') %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]</a>
229
                            <a href="/cgi-bin/koha/svc/report?id=[% savedreport.id | uri %]">[% Koha.Preference('staffClientBaseURL') %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]</a>
222
                        [% END %]
230
                        [% END %]
223
                        </td>
231
                        </td>
224
                        [% IF (usecache) %] <td>[% savedreport.cache_expiry %]</td> [% END %]
232
                        <td>[% savedreport.cache_expiry %]</td>
225
                        <td>
233
                        <td>
226
                            [% FOR result IN savedreport.results %]
234
                            [% FOR result IN savedreport.results %]
227
                                <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=retrieve%20results&amp;id=[% result.id %]">[% result.date_run %]</a>
235
                                <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=retrieve%20results&amp;id=[% result.id %]">[% result.date_run %]</a>
228
                                <br/>
236
                                <br/>
229
                            [% END %]
237
                            [% END %]
230
                        </td>
238
                        </td>
231
                        [% IF has_obsolete_reports %]
232
                        <td>
239
                        <td>
233
                            [% IF savedreport.seems_obsolete %]
240
                            [% IF savedreport.seems_obsolete %]
234
                                This report seems obsolete, it uses biblioitems.marcxml field.
241
                                This report seems obsolete, it uses biblioitems.marcxml field.
235
                                <a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id %]" data-report_id="[% savedreport.id %]" class="update_sql btn btn-default btn-xs" title="Update SQL"><i class="fa fa-eye"></i> Update SQL</a>
242
                                <a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id %]" data-report_id="[% savedreport.id %]" class="update_sql btn btn-default btn-xs" title="Update SQL"><i class="fa fa-eye"></i> Update SQL</a>
236
                            [% END %]
243
                            [% END %]
237
                        </td>
244
                        </td>
238
                        [% END %]
239
                        <td>
245
                        <td>
240
                            <div class="dropup">
246
                            <div class="dropup">
241
                                <div class="btn-group">
247
                                <div class="btn-group">
Lines 998-1004 $(document).ready(function() { Link Here
998
                        { 'bSortable': false, 'bSearchable':false, 'aTargets': [0, -1] },
1004
                        { 'bSortable': false, 'bSearchable':false, 'aTargets': [0, -1] },
999
                        { 'bSearchable': false, 'aTargets': [3] },
1005
                        { 'bSearchable': false, 'aTargets': [3] },
1000
                        { "aTargets": [ 1, 2 ], "sType": "natural"  },
1006
                        { "aTargets": [ 1, 2 ], "sType": "natural"  },
1001
                        { "sType": "title-string", "aTargets" : [ "title-string" ] }
1007
                        { "sType": "title-string", "aTargets" : [ "title-string" ] },
1008
                        { "visible": false, "aTargets" : [ "hidden" ] }
1002
                    ],
1009
                    ],
1003
                    'oLanguage': {
1010
                    'oLanguage': {
1004
                        'sZeroRecords': _("No matching reports found")
1011
                        'sZeroRecords': _("No matching reports found")
1005
- 

Return to bug 20814