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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt (-16 / +11 lines)
Lines 449-455 Link Here
449
449
450
[% IF op == 'list' %]
450
[% IF op == 'list' %]
451
  <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
451
  <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
452
    <a href="#" id="filterbutton">Filters</a>
453
    <fieldset class="brief" id="fundfilters">
452
    <fieldset class="brief" id="fundfilters">
454
    <h4>Fund filters</h4>
453
    <h4>Fund filters</h4>
455
        <ol>
454
        <ol>
Lines 460-474 Link Here
460
                [% PROCESS options_for_libraries libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %]
459
                [% PROCESS options_for_libraries libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %]
461
            </select>
460
            </select>
462
        </li>
461
        </li>
463
        <li class="radio">
464
465
        <label for="show_mine">Show my funds only:</label>
466
            [% IF ( show_mine ) %]
467
                <input type="checkbox" id="show_mine"  name="show_mine" value="1" checked="checked" />
468
            [% ELSE %]
469
                <input type="checkbox" id="show_mine"  name="show_mine" value="1" />
470
        [% END %]
471
        </li>
472
462
473
        [% IF periods %]
463
        [% IF periods %]
474
          <li>
464
          <li>
Lines 485-492 Link Here
485
            </select>
475
            </select>
486
          </li>
476
          </li>
487
        [% END %]
477
        [% END %]
488
        </ol>
478
        <li class="radio">
489
479
480
        <label for="show_mine">Show my funds only:</label>
481
            [% IF ( show_mine ) %]
482
                <input type="checkbox" id="show_mine"  name="show_mine" value="1" checked="checked" />
483
            [% ELSE %]
484
                <input type="checkbox" id="show_mine"  name="show_mine" value="1" />
485
        [% END %]
486
        </li>
487
        </ol>
488
    </fieldset>
489
    <fieldset class="action">
490
        <input type="hidden" name="op" value="list" />
490
        <input type="hidden" name="op" value="list" />
491
        <input type="submit" class="submit" name="filter" value="Go" />
491
        <input type="submit" class="submit" name="filter" value="Go" />
492
    </fieldset>
492
    </fieldset>
Lines 733-742 Link Here
733
                    oTable.fnAddFilters("filter", 750);
733
                    oTable.fnAddFilters("filter", 750);
734
                [% END %]
734
                [% END %]
735
735
736
                $("#filterbutton").click(function() {
737
                    $("#fundfilters").slideToggle(0);
738
                });
739
740
                $(".deletefund-disabled").tooltip().on("click", function(e){
736
                $(".deletefund-disabled").tooltip().on("click", function(e){
741
                    e.preventDefault();
737
                    e.preventDefault();
742
                    alert(_("This fund has sub funds. It cannot be deleted."));
738
                    alert(_("This fund has sub funds. It cannot be deleted."));
743
- 

Return to bug 34196