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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-1 / +14 lines)
Lines 76-81 Link Here
76
76
77
                }
77
                }
78
78
79
        if (! $("#all_budget_id").val() ) {
80
            // If there is no default fund
81
            var error = 0;
82
            $(".selected [name='budget_id']").each(function(){
83
            if (!$(this).val()) {
84
                error++;
85
            }
86
            });
87
            if ( error > 0 ) {
88
            alert(_("Some budgets are not defined in item records"));
89
            return false;
90
            }
91
        }
92
79
                return disableUnchecked($(this));
93
                return disableUnchecked($(this));
80
            });
94
            });
81
            $('#tabs').tabs();
95
            $('#tabs').tabs();
82
- 

Return to bug 20830