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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/onboardinginclude.inc (+74 lines)
Line 0 Link Here
1
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE Branches %]
4
5
<style type="text/css">
6
 #onboardingModal{
7
     z-index:1;
8
     background-color:#5bad3f;
9
     padding:20px;
10
     width:80%;
11
     height:60%;
12
     position:fixed;
13
     left:auto;
14
     top:auto;
15
     right:auto;
16
     bottom:auto;
17
            border-radius:25px;
18
}
19
</style>
20
21
[% step = 1 %]
22
23
<div id="onboardingModal">
24
     <span class="close">&times;</span><br><br>
25
[% IF  displayonboardscreen == "acquisitions" %]
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
44
                <li>
45
                    <label class="required" for="budget_period_description">Description: </label>
46
                    <input type="text" id="budget_period_description" name="budget_period_description"
47
                    size="48" maxlength="80" value="[% budget_period_description %]" />
48
                </li>
49
50
                <li>
51
                    <label for="budget_period_total">Total amount: </label>
52
                    <input type="text" id="budget_period_total" name="budget_period_total"
53
                    size="10" maxlength="80" value="[% budget_period_total | $Price on_editing => 1 %]" />
54
                </li>
55
56
                <li>
57
                    <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 %]
59
                </li>
60
            </ol>
61
        </fielset>
62
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
71
72
73
<h2>testing</h2>
74
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt (-27 / +2 lines)
Lines 4-23 Link Here
4
<title>Koha &rsaquo; Acquisitions</title>
4
<title>Koha &rsaquo; Acquisitions</title>
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
7
<style type="text/css">
8
#acquisitionsModal{
9
    z-index:1;
10
    background-color:#EDF4F6;
11
    padding:20px;
12
    width:65%;
13
    height:20%;
14
    position:fixed;
15
    left:auto;
16
    top:auto;
17
    right:auto;
18
    bottom:auto;
19
}
20
</style>
21
7
22
[% INCLUDE 'datatables.inc' %]
8
[% INCLUDE 'datatables.inc' %]
23
<link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css" rel="stylesheet" type="text/css" />
9
<link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css" rel="stylesheet" type="text/css" />
Lines 125-142 $(document).ready(function() { Link Here
125
    [% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %]
111
    [% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %]
126
    [% UNLESS ( loop_budget ) %]
112
    [% UNLESS ( loop_budget ) %]
127
        [% IF ( CAN_user_acquisition_period_manage ) %]
113
        [% IF ( CAN_user_acquisition_period_manage ) %]
128
            <div id="acquisitionsModal">
114
             [% displayonboardscreen = "acquisitions" %]
129
                       <span class="close">&times;</span><br><br>
115
             [% INCLUDE onboardinginclude.inc %]
130
                       <b>Follow these links to set everything up ready to create orders:</b><br><br>
131
                       <h2><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form" target="_blank" data-toggle="tooltip"  title="The budget is the overall amount of money avaliable for the institution over a period of time">1. create a budget</a>
132
                       ->
133
                       <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl" target="_blank" data-toggle="tooltip" title="The fund is the amount of money for one area of the institution e.g. Books fund. Click this link then select the 'Edit' button beside the budget and click 'Add fund'"> 2. assign a fund to that budget</a>
134
                       ->
135
                       <a href="/cgi-bin/koha/acqui/supplier.pl?op=enter" target="_blank" data-toggle="tooltip" title="Vendor is the organisation you purchase items from">3. create a vendor</a>
136
                       ->
137
                       <a href="/cgi-bin/koha/acqui/booksellers.pl" target="_blank" data-toggle="tooltip" title="Basket contains the order items. Select the 'New basket' button">4. create a basket</a>
138
                       </h2>
139
             </div>
140
        [% ELSE %]
116
        [% ELSE %]
141
        <div class="dialog alert">Your administrator must define a budget in Administration</div>
117
        <div class="dialog alert">Your administrator must define a budget in Administration</div>
142
        [% END %]
118
        [% END %]
143
- 

Return to bug 18002