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

(-)a/admin/aqbudgets.pl (-2 / +5 lines)
Lines 223-231 if ($op eq 'add_form') { Link Here
223
        ModBudgetUsers($budget_hash->{budget_id}, @budgetusersid);
223
        ModBudgetUsers($budget_hash->{budget_id}, @budgetusersid);
224
        $budget_modified = 1;
224
        $budget_modified = 1;
225
225
226
        print $input->redirect("/cgi-bin/koha/acqui/acqui-home.pl");
226
        my $fundcreation = $input->param('fundcreation');
227
        exit;
228
227
228
        if ($fundcreation eq "onboarding"){
229
            print $input->redirect("/cgi-bin/koha/acqui/acqui-home.pl");
230
            exit;
231
        }
229
    }
232
    }
230
233
231
    my $set_owner_to_children = $input->param('set_owner_to_children');
234
    my $set_owner_to_children = $input->param('set_owner_to_children');
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/onboardinginclude.inc (-7 / +2 lines)
Lines 14-20 Link Here
14
}
14
}
15
</style>
15
</style>
16
    <div id="onboardingModal">
16
    <div id="onboardingModal">
17
        <span class="close">&times;</span><br><br>
18
    [% IF  displayonboardscreen == "acquisitions" %]
17
    [% IF  displayonboardscreen == "acquisitions" %]
19
        <h2> Create a budget</h2>
18
        <h2> Create a budget</h2>
20
        <form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" name="f" method="post">
19
        <form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" name="f" method="post">
Lines 47-53 Link Here
47
46
48
                    <li>
47
                    <li>
49
                        <label for="budget_period_active">Make budget active: </label>
48
                        <label for="budget_period_active">Make budget active: </label>
50
                        [% IF ( budget_period_active ) %]<input type="checkbox" checked="checked" id="budget_period_active" name="budget_period_active" value="1" />[% ELSE %]  <input type="checkbox" id="budget_period_active" name="budget_period_active" value="1"/> [% END %]
49
                        [% IF ( budget_period_active ) %]<input type="checkbox" checked="checked" id="budget_period_active" name="budget_period_active" value="1" />[% ELSE %]  <input type="checkbox" id="budget_period_active" name="budget_period_active" value="1"/> [% END %] 
51
                    </li>
50
                    </li>
52
                </ol>
51
                </ol>
53
            </fieldset>
52
            </fieldset>
Lines 59-67 Link Here
59
        </form>
58
        </form>
60
    </div>
59
    </div>
61
    [% ELSIF displayonboardscreen == "label" %]
60
    [% ELSIF displayonboardscreen == "label" %]
62
<h2>testing</h2>
61
        <h2>testing</h2>
63
64
65
66
67
    [% END %]
62
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/onboardinginclude2.inc (-1 / +2 lines)
Lines 24-29 Link Here
24
            </legend>
24
            </legend>
25
            <input type="hidden" name="op" value="add_validate" />
25
            <input type="hidden" name="op" value="add_validate" />
26
            <input type="hidden" name="checked" value="0" />
26
            <input type="hidden" name="checked" value="0" />
27
            <input type="hidden" name="fundcreation" value="onboarding" />
27
            <ol>
28
            <ol>
28
                [% budget_parent_id = 0 %]
29
                [% budget_parent_id = 0 %]
29
                <li>
30
                <li>
Lines 55-61 Link Here
55
56
56
        </fieldset>
57
        </fieldset>
57
        <fieldset class="action">
58
        <fieldset class="action">
58
            <input type="submit" value="Submit" /> <a class="cancel" href="/cgi-bin/koha/admin/aqbudgets.pl">Cancel</a>
59
            <input type="submit" value="Submit" />
59
            <input type="hidden" name="budget_period_id" value="1" />
60
            <input type="hidden" name="budget_period_id" value="1" />
60
        </fieldset>
61
        </fieldset>
61
    </form>
62
    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt (-1 / +1 lines)
Lines 464-469 var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") Link Here
464
464
465
    <input type="hidden" name="op" value="add_validate" />
465
    <input type="hidden" name="op" value="add_validate" />
466
    <input type="hidden" name="checked" value="0" />
466
    <input type="hidden" name="checked" value="0" />
467
    <input type="hidden" name="fundcreation" value="aqform" />
467
    <ol>
468
    <ol>
468
    [% IF ( budget_parent_id ) %]
469
    [% IF ( budget_parent_id ) %]
469
    <li>
470
    <li>
470
- 

Return to bug 18002