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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt (-14 / +8 lines)
Lines 41-67 $(document).ready(function() { Link Here
41
<div class="yui-g">
41
<div class="yui-g">
42
<div class="yui-u first">
42
<div class="yui-u first">
43
<div id="acqui_acqui_home_order">
43
<div id="acqui_acqui_home_order">
44
    <fieldset>
44
45
        <legend>Manage orders</legend>
45
    [% UNLESS ( loop_budget ) %]
46
    [% IF ( nobudget ) %]
47
        [% IF ( CAN_user_parameters ) %]
46
        [% IF ( CAN_user_parameters ) %]
48
        <span class="problem">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</span>
47
        <div class="dialog alert">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</div>
49
        [% ELSE %]
48
        [% ELSE %]
50
        <span class="problem">Your administrator must define a budget in Administration</span>
49
        <div class="dialog alert">Your administrator must define a budget in Administration</div>
51
        [% END %]
50
        [% END %]
52
        <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
51
    [% END %]
53
            <p><label for="supplierpage">Vendor </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
52
54
            <input type="submit" value="Search" />
53
    <fieldset>
55
            </p>
54
        <legend>Manage orders</legend>
56
        </form>
57
    [% ELSE %]
58
        <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
55
        <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
59
            <p><label for="supplierpage">Vendor: </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
56
            <p><label for="supplierpage">Vendor: </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
60
            <input type="submit" value="Search" />
57
            <input type="submit" value="Search" />
61
            </p>
58
            </p>
62
        </form>
59
        </form>
63
64
    [% END %]
65
    </fieldset>
60
    </fieldset>
66
</div>
61
</div>
67
62
68
- 

Return to bug 7889