Lines 1-7
Link Here
|
1 |
[% USE Koha %] |
|
|
2 |
[% USE KohaDates %] |
3 |
[% USE Branches %] |
4 |
|
5 |
<style type="text/css"> |
1 |
<style type="text/css"> |
6 |
#onboardingModal{ |
2 |
#onboardingModal{ |
7 |
z-index:1; |
3 |
z-index:1; |
Lines 14-74
Link Here
|
14 |
top:auto; |
10 |
top:auto; |
15 |
right:auto; |
11 |
right:auto; |
16 |
bottom:auto; |
12 |
bottom:auto; |
17 |
border-radius:25px; |
13 |
border-radius:25px; |
18 |
} |
14 |
} |
19 |
</style> |
15 |
</style> |
|
|
16 |
<div id="onboardingModal"> |
17 |
<span class="close">×</span><br><br> |
18 |
[% IF displayonboardscreen == "acquisitions" %] |
19 |
<h2> Create a budget</h2> |
20 |
<form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" name="f" method="post"> |
21 |
<fieldset class="rows"> |
22 |
<input type="hidden" name="op" value="add_validate" /> |
23 |
<input type="hidden" name="step" value="2"/> |
24 |
<input type="hidden" name="budget_period_id" value="[% budget_period_id %]" /> |
25 |
<ol> |
26 |
<li> |
27 |
<label class="required" for="from">Start date: </label> |
28 |
<input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="datepickerfrom" /> |
29 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
30 |
</li> |
20 |
|
31 |
|
21 |
[% step = 1 %] |
32 |
<li> |
22 |
|
33 |
<label class="required" for="to">End date: </label> |
23 |
<div id="onboardingModal"> |
34 |
<input type="text" size="10" id="to" name="budget_period_enddate" value="[% budget_period_enddate | $KohaDates %]" class="datepickerto" /> |
24 |
<span class="close">×</span><br><br> |
35 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
25 |
[% IF displayonboardscreen == "acquisitions" %] |
36 |
</li> |
26 |
<h2> Create a budget</h2> |
|
|
27 |
<form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" name="f" method="post"> |
28 |
<fieldset class="rows"> |
29 |
<input type="hidden" name="op" value="add_validate" /> |
30 |
<input type="hidden" name="budget_period_id" value="[% budget_period_id %]" /> |
31 |
<ol> |
32 |
<li> |
33 |
<label class="required" for="from">Start date: </label> |
34 |
<input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="datepickerfrom" /> |
35 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
36 |
</li> |
37 |
|
38 |
<li> |
39 |
<label class="required" for="to">End date: </label> |
40 |
<input type="text" size="10" id="to" name="budget_period_enddate" value="[% budget_period_enddate | $KohaDates %]" class="datepickerto" /> |
41 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
42 |
</li> |
43 |
|
37 |
|
44 |
<li> |
38 |
<li> |
45 |
<label class="required" for="budget_period_description">Description: </label> |
39 |
<label class="required" for="budget_period_description">Description: </label> |
46 |
<input type="text" id="budget_period_description" name="budget_period_description" |
40 |
<input type="text" id="budget_period_description" name="budget_period_description" size="48" maxlength="80" value="[% budget_period_description %]" /> |
47 |
size="48" maxlength="80" value="[% budget_period_description %]" /> |
41 |
</li> |
48 |
</li> |
|
|
49 |
|
42 |
|
50 |
<li> |
43 |
<li> |
51 |
<label for="budget_period_total">Total amount: </label> |
44 |
<label for="budget_period_total">Total amount: </label> |
52 |
<input type="text" id="budget_period_total" name="budget_period_total" |
45 |
<input type="text" id="budget_period_total" name="budget_period_total" size="10" maxlength="80" value="[% budget_period_total | $Price on_editing => 1 %]" /> |
53 |
size="10" maxlength="80" value="[% budget_period_total | $Price on_editing => 1 %]" /> |
46 |
</li> |
54 |
</li> |
|
|
55 |
|
47 |
|
56 |
<li> |
48 |
<li> |
57 |
<label for="budget_period_active">Make budget active: </label> |
49 |
<label for="budget_period_active">Make budget active: </label> |
58 |
[% IF ( budget_period_active ) %]<input type="checkbox" checked="checked" id="budget_period_active" name="budget_period_a ctive" value="1" />[% ELSE %] <input type="checkbox" id="budget_period_active" name="budget_period_active" value="1"/> [% END %] |
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 %] |
59 |
</li> |
51 |
</li> |
60 |
</ol> |
52 |
</ol> |
61 |
</fielset> |
53 |
</fieldset> |
|
|
54 |
<fieldset class="action"> |
55 |
<a href = "/cgi-bin/koha/acqui/acqui-home.pl"> |
56 |
<input type="submit" class="action" value="Submit" /> |
57 |
</a> |
58 |
</fieldset> |
59 |
</form> |
60 |
</div> |
61 |
[% ELSIF displayonboardscreen == "label" %] |
62 |
<h2>testing</h2> |
62 |
|
63 |
|
63 |
<fieldset class="action"> |
|
|
64 |
<input type="button" value="Save" onclick="Check(this.form)" /> |
65 |
<a href="/cgi-bin/koha/admin/aqbudgetperiods.pl" class="cancel">Cancel</a> |
66 |
</fielset> |
67 |
</form> |
68 |
</div> |
69 |
[% ELSIF displayonboardscreen == "label" %] |
70 |
|
64 |
|
71 |
|
65 |
|
72 |
|
66 |
|
73 |
<h2>testing</h2> |
67 |
[% END %] |
74 |
[% END %] |
|
|