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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-4 / +3 lines)
Lines 40-46 function Check(ff) { Link Here
40
    
40
    
41
    if(isNull(ff.budget_id,1)){
41
    if(isNull(ff.budget_id,1)){
42
		ok=1;
42
		ok=1;
43
					_alertString += "\n- "+ _("You must select a budget");
43
        _alertString += "\n- "+ _("You must select a fund");
44
    }
44
    }
45
45
46
    if (!(isNum(ff.quantity,0)) || ff.quantity.value == 0){
46
    if (!(isNum(ff.quantity,0)) || ff.quantity.value == 0){
Lines 383-389 $(document).ready(function() Link Here
383
      [% END %][%# UNLESS subscriptionid %]
383
      [% END %][%# UNLESS subscriptionid %]
384
    [% END %][%# IF (AcqCreateItemOrdering) %]
384
    [% END %][%# IF (AcqCreateItemOrdering) %]
385
    <fieldset class="rows">
385
    <fieldset class="rows">
386
        <legend>Accounting Details</legend>
386
        <legend>Accounting details</legend>
387
        <ol>
387
        <ol>
388
            <li>
388
            <li>
389
                [% IF ( close ) %]
389
                [% IF ( close ) %]
Lines 415-421 $(document).ready(function() Link Here
415
                [% ELSE %]
415
                [% ELSE %]
416
                <label class="required" for="budget_id">Fund: </label>
416
                <label class="required" for="budget_id">Fund: </label>
417
                <select id="budget_id" onchange="fetchSortDropbox(this.form)" size="1" name="budget_id">
417
                <select id="budget_id" onchange="fetchSortDropbox(this.form)" size="1" name="budget_id">
418
                        <option value="">Select a budget</option>
418
                        <option value="">Select a fund</option>
419
                [% FOREACH budget_loo IN budget_loop %]
419
                [% FOREACH budget_loo IN budget_loop %]
420
                    [% IF ( budget_loo.b_sel ) %]
420
                    [% IF ( budget_loo.b_sel ) %]
421
                        <option value="[% budget_loo.b_id %]" selected="selected">[% budget_loo.b_txt %]</option>
421
                        <option value="[% budget_loo.b_id %]" selected="selected">[% budget_loo.b_txt %]</option>
422
- 

Return to bug 9238