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 433-439 Link Here
433
433
434
[% IF op == 'list' %]
434
[% IF op == 'list' %]
435
  <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
435
  <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
436
    <a href="#" id="filterbutton">Filters</a>
437
    <fieldset class="brief" id="fundfilters">
436
    <fieldset class="brief" id="fundfilters">
438
    <h4>Fund filters</h4>
437
    <h4>Fund filters</h4>
439
        <ol>
438
        <ol>
Lines 444-458 Link Here
444
                [% PROCESS options_for_libraries libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %]
443
                [% PROCESS options_for_libraries libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %]
445
            </select>
444
            </select>
446
        </li>
445
        </li>
447
        <li class="radio">
448
449
        <label for="show_mine">Show my funds only:</label>
450
            [% IF ( show_mine ) %]
451
                <input type="checkbox" id="show_mine"  name="show_mine" value="1" checked="checked" />
452
            [% ELSE %]
453
                <input type="checkbox" id="show_mine"  name="show_mine" value="1" />
454
        [% END %]
455
        </li>
456
446
457
        [% IF periods %]
447
        [% IF periods %]
458
          <li>
448
          <li>
Lines 469-476 Link Here
469
            </select>
459
            </select>
470
          </li>
460
          </li>
471
        [% END %]
461
        [% END %]
472
        </ol>
462
        <li class="radio">
473
463
464
        <label for="show_mine">Show my funds only:</label>
465
            [% IF ( show_mine ) %]
466
                <input type="checkbox" id="show_mine"  name="show_mine" value="1" checked="checked" />
467
            [% ELSE %]
468
                <input type="checkbox" id="show_mine"  name="show_mine" value="1" />
469
        [% END %]
470
        </li>
471
        </ol>
472
    </fieldset>
473
    <fieldset class="action">
474
        <input type="hidden" name="op" value="list" />
474
        <input type="hidden" name="op" value="list" />
475
        <input type="submit" class="submit" name="filter" value="Go" />
475
        <input type="submit" class="submit" name="filter" value="Go" />
476
    </fieldset>
476
    </fieldset>
Lines 717-726 Link Here
717
                    oTable.fnAddFilters("filter", 750);
717
                    oTable.fnAddFilters("filter", 750);
718
                [% END %]
718
                [% END %]
719
719
720
                $("#filterbutton").click(function() {
721
                    $("#fundfilters").slideToggle(0);
722
                });
723
724
                $(".deletefund-disabled").tooltip().on("click", function(e){
720
                $(".deletefund-disabled").tooltip().on("click", function(e){
725
                    e.preventDefault();
721
                    e.preventDefault();
726
                    alert(_("This fund has sub funds. It cannot be deleted."));
722
                    alert(_("This fund has sub funds. It cannot be deleted."));
727
- 

Return to bug 34196