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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-2 / +17 lines)
Lines 788-794 canned reports and writing custom SQL reports.</p> Link Here
788
            [% END %]
788
            [% END %]
789
        </form>
789
        </form>
790
790
791
        [% IF ( batch_biblionumbers || batch_itemnumbers ) %]
791
        <form method="POST" action="/cgi-bin/koha/tools/modborrowers.pl" id="batch_patron_modification">
792
            <input type="hidden" name="op" value="show" />
793
            [% # Preserve the whitespace of the following textarea in order to format the values correctly %]
794
            <textarea style="display:none" name="cardnumberlist" id="cardnumberlist">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'cardnumber' %][% SET batch_cardnumbers = 1 %]
795
[% cells.cell | html %][% END %][% END %][% END %]</textarea>
796
        </form>
797
798
        [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
792
            <p>
799
            <p>
793
                <div class="dropdown">
800
                <div class="dropdown">
794
                    <button class="btn btn-default dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
801
                    <button class="btn btn-default dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
Lines 821-826 canned reports and writing custom SQL reports.</p> Link Here
821
                                    <a href="#" data-submit="batch_item_deletion" data-toggle="tooltip" data-placement="right" title="Send visible items to batch item deletion" class="batch_op send_to_item_del">Batch item deletion</a>
828
                                    <a href="#" data-submit="batch_item_deletion" data-toggle="tooltip" data-placement="right" title="Send visible items to batch item deletion" class="batch_op send_to_item_del">Batch item deletion</a>
822
                                </li>
829
                                </li>
823
                            [% END %]
830
                            [% END %]
831
                            [% IF header_ro.cell == 'cardnumber' %]
832
                                [% IF ( batch_biblionumbers || batch_itemnumbers ) %]
833
                                    <li role="separator" class="divider"></li>
834
                                [% END %]
835
                                <li class="dropdown-header">Patron records</li>
836
                                <li>
837
                                    <a href="#" data-submit="batch_patron_modification" data-toggle="tooltip" data-placement="right" title="Send visible results to batch patron modification" class="batch_op send_to_patron_mod">Batch patron modification</a>
838
                                </li>
839
                            [% END %]
824
                        [% END %]
840
                        [% END %]
825
                    </ul> <!-- /.dropdown-menu -->
841
                    </ul> <!-- /.dropdown-menu -->
826
                </div> <!-- /.dropdown -->
842
                </div> <!-- /.dropdown -->
827
- 

Return to bug 23206