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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-19 / +2 lines)
Lines 37-52 Link Here
37
    #col1, #col2 { width:45%; float:left; }
37
    #col1, #col2 { width:45%; float:left; }
38
    #col1 ins, #col2 del { display: none; }
38
    #col1 ins, #col2 del { display: none; }
39
    .show_sql { font-family: monospace; }
39
    .show_sql { font-family: monospace; }
40
    .send_to_item_mod {
41
        background-color: #EBF3FF;
42
        border: 1px solid #88b0e8;
43
        border-radius: 5px;
44
        display: inline-block;
45
        font-size: 75%;
46
        margin: 3px 5px;
47
        padding: 3px 5px;
48
        white-space: nowrap;
49
    }
50
</style>
40
</style>
51
[% IF ( saved1 ) %]
41
[% IF ( saved1 ) %]
52
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
42
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
Lines 715-728 canned reports and writing custom SQL reports.</p> Link Here
715
705
716
<div class="pages">[% pagination_bar %]</div>
706
<div class="pages">[% pagination_bar %]</div>
717
[% UNLESS ( errors ) %]
707
[% UNLESS ( errors ) %]
718
    <form method="POST" id="report_results">
708
    <form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="report_results">
719
        <input type="hidden" name="op" value="show" />
709
        <input type="hidden" name="op" value="show" />
720
        <table>
710
        <table>
721
            <tr>
711
            <tr>
722
                [% FOREACH header_ro IN header_row %]
712
                [% FOREACH header_ro IN header_row %]
723
                    [% IF header_ro.cell == 'itemnumber' %]
713
                    [% IF header_ro.cell == 'itemnumber' %]
724
                        <th>
714
                        <th>
725
                            [% header_ro.cell %] <a href="#" data-toggle="tooltip" title="Send visible items to batch modification" class="send_to_item_mod"><i class="fa fa-pencil"></i> Batch modify</a>
715
                            [% header_ro.cell %] <button type="submit" data-toggle="tooltip" title="Send visible items to batch modification" class="btn btn-xs btn-default send_to_item_mod"><i class="fa fa-pencil"></i> Batch modify</button>
726
                        </th>
716
                        </th>
727
                    [% ELSE %]
717
                    [% ELSE %]
728
                        <th>[% header_ro.cell %]</th>
718
                        <th>[% header_ro.cell %]</th>
Lines 1008-1019 Sub report:<select name="subreport"> Link Here
1008
                delColumn();
998
                delColumn();
1009
            });
999
            });
1010
1000
1011
            $(".send_to_item_mod").click(function(e){
1012
                e.preventDefault();
1013
                $("#report_results").attr("action","/cgi-bin/koha/tools/batchMod.pl");
1014
                $("#report_results").submit();
1015
            });
1016
1017
            [% IF (saved1) %]
1001
            [% IF (saved1) %]
1018
                var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, {
1002
                var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, {
1019
                    'iDisplayLength': [% Koha.Preference('NumSavedReports') %],
1003
                    'iDisplayLength': [% Koha.Preference('NumSavedReports') %],
1020
- 

Return to bug 19233