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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-363 / +364 lines)
Lines 62-463 Link Here
62
                    </h1>
62
                    </h1>
63
                    <form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform">
63
                    <form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform">
64
                        <div id="tabs" class="toptabs">
64
                        <div id="tabs" class="toptabs">
65
                            <ul>
65
                            <ul class="nav nav-tabs" role="tablist">
66
                                <li><a href="#records_to_import">Select to import</a></li>
66
                                <li role="presentation" class="active"><a href="#records_to_import" aria-controls="records_to_import" role="tab" data-toggle="tab">Select to import</a></li>
67
                                <li><a href="#items_info" class="items_info">Item information</a></li>
67
                                <li role="presentation"><a href="#items_info" class="items_info" aria-controls="items_info" role="tab" data-toggle="tab">Item information</a></li>
68
                                <li><a href="#accounting_details">Default accounting details</a></li>
68
                                <li role="presentation"><a href="#accounting_details" aria-controls="accounting_details" role="tab" data-toggle="tab">Default accounting details</a></li>
69
                            </ul>
69
                            </ul>
70
70
71
                            <div id="records_to_import">
71
                            <div class="tab-content">
72
                                <div id="searchheader" class="searchheader">
72
                                <div id="records_to_import" role="tabpanel" class="tab-pane active" >
73
                                    <div>
73
                                    <div id="searchheader" class="searchheader">
74
                                        <span class="checkall"><a id="checkAll" href="#">Select all</a></span>
74
                                        <div>
75
                                        |
75
                                            <span class="checkall"><a id="checkAll" href="#">Select all</a></span>
76
                                        <span class="uncheckall"><a id="unCheckAll" href="#">Clear all</a></span>
76
                                            |
77
                                        |
77
                                            <span class="uncheckall"><a id="unCheckAll" href="#">Clear all</a></span>
78
                                        <span>
78
                                            |
79
                                            <label for="matcher_id">Matching:</label>
79
                                            <span>
80
                                                <select name="matcher_id" id="matcher_id">
80
                                                <label for="matcher_id">Matching:</label>
81
                                                    <option value="_TITLE_AUTHOR_">Title and author</option>
81
                                                    <select name="matcher_id" id="matcher_id">
82
                                                    <option value="">Do not look for matching records</option>
82
                                                        <option value="_TITLE_AUTHOR_">Title and author</option>
83
                                                    [% FOREACH available_matcher IN available_matchers %]
83
                                                        <option value="">Do not look for matching records</option>
84
                                                        [% IF ( available_matcher.code == current_matcher_code ) %]
84
                                                        [% FOREACH available_matcher IN available_matchers %]
85
                                                            <option value="[% available_matcher.matcher_id | html %]" selected="selected">
85
                                                            [% IF ( available_matcher.code == current_matcher_code ) %]
86
                                                                [% available_matcher.code | html %] ([% available_matcher.description | html %])
86
                                                                <option value="[% available_matcher.matcher_id | html %]" selected="selected">
87
                                                            </option>
87
                                                                    [% available_matcher.code | html %] ([% available_matcher.description | html %])
88
                                                        [% ELSE %]
88
                                                                </option>
89
                                                            <option value="[% available_matcher.matcher_id | html %]">
89
                                                            [% ELSE %]
90
                                                                [% available_matcher.code | html %] ([% available_matcher.description | html %])
90
                                                                <option value="[% available_matcher.matcher_id | html %]">
91
                                                            </option>
91
                                                                    [% available_matcher.code | html %] ([% available_matcher.description | html %])
92
                                                                </option>
93
                                                            [% END %]
92
                                                        [% END %]
94
                                                        [% END %]
93
                                                    [% END %]
95
                                                    </select>
94
                                                </select>
96
                                            </span>
95
                                        </span>
97
                                            |
96
                                        |
98
                                            <span>
97
                                        <span>
99
                                                <label for="showallbudgets" style="float:none;width:auto;">&nbsp;Show inactive funds:</label>
98
                                            <label for="showallbudgets" style="float:none;width:auto;">&nbsp;Show inactive funds:</label>
100
                                                <input type="checkbox" id="showallbudgets" />
99
                                            <input type="checkbox" id="showallbudgets" />
101
                                            </span>
100
                                        </span>
102
                                        </div>
101
                                    </div>
103
                                    </div> <!-- /#searchheader -->
102
                                </div> <!-- /#searchheader -->
103
104
104
                                <input type="hidden" name="op" value="import_records"/>
105
                                    <input type="hidden" name="op" value="import_records"/>
105
                                <input type="hidden" name="basketno" value="[% basketno | html %]" />
106
                                    <input type="hidden" name="basketno" value="[% basketno | html %]" />
106
                                <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
107
                                    <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
107
                                <input type="hidden" name="import_batch_id" value="[% import_batch_id | html %]" />
108
                                    <input type="hidden" name="import_batch_id" value="[% import_batch_id | html %]" />
108
                                <input type="hidden" name="ordernumber" value="[% ordernumber | html %]" />
109
                                    <input type="hidden" name="ordernumber" value="[% ordernumber | html %]" />
109
110
110
                                [% FOREACH biblio IN biblio_list %]
111
                                    [% FOREACH biblio IN biblio_list %]
111
                                    <fieldset class="biblio unselected rows" style="float:none;">
112
                                        <fieldset class="biblio unselected rows" style="float:none;">
112
                                        <legend>
113
                                            <legend>
113
                                            <label for="record_[% biblio.import_record_id | html %]" style="width:auto;">
114
                                                <label for="record_[% biblio.import_record_id | html %]" style="width:auto;">
114
                                                <input type="checkbox" name="import_record_id" id="record_[% biblio.import_record_id | html %]" value="[% biblio.import_record_id | html %]" />
115
                                                    <input type="checkbox" name="import_record_id" id="record_[% biblio.import_record_id | html %]" value="[% biblio.import_record_id | html %]" />
115
                                                <span class="citation">[% biblio.citation | html %]</span>
116
                                                    <span class="citation">[% biblio.citation | html %]</span>
116
                                            </label>
117
                                                </label>
117
                                            <span class="links" style="font-weight: normal;">
118
                                                <span class="links" style="font-weight: normal;">
118
                                                ( <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id | uri %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% biblio.import_record_id | html %]" class="previewData">Card</a> | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | html %]&amp;basketno=[% basketno | html %]&amp;breedingid=[% biblio.import_record_id | html %]&amp;import_batch_id=[% biblio.import_batch_id | html %]&amp;biblionumber=[% biblio.match_biblionumber | html %]">Add order</a> )
119
                                                    ( <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id | uri %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% biblio.import_record_id | html %]" class="previewData">Card</a> | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | html %]&amp;basketno=[% basketno | html %]&amp;breedingid=[% biblio.import_record_id | html %]&amp;import_batch_id=[% biblio.import_batch_id | html %]&amp;biblionumber=[% biblio.match_biblionumber | html %]">Add order</a> )
119
                                            </span>
120
                                                </span>
120
                                        </legend>
121
                                            </legend>
121
                                        <div style="float:left">
122
                                            <div style="float:left">
122
                                            <ol>
123
                                                <ol>
123
                                                <li class="status">
124
                                                    <li class="status">
124
                                                    <span class="match">
125
                                                        <span class="match">
125
                                                        [% IF ( biblio_lis.overlay_status == 'no_match' ) %]
126
                                                            [% IF ( biblio_lis.overlay_status == 'no_match' ) %]
126
                                                            No match
127
                                                                No match
127
                                                        [% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %]
128
                                                            [% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %]
128
                                                            Match applied
129
                                                                Match applied
129
                                                        [% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %]
130
                                                            [% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %]
130
                                                            Match found
131
                                                                Match found
132
                                                            [% ELSE %]
133
                                                                [% biblio_lis.overlay_status | html %]
134
                                                            [% END %]
135
                                                            [% IF ( biblio.match_biblionumber ) %]
136
                                                                Matches biblio [% biblio.match_biblionumber | uri %] (score = [% biblio.match_score | html %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.match_biblionumber | uri %]">[% biblio.match_citation | html %]</a>
137
                                                            [% END %]
138
                                                        </span>
139
                                                    </li>
140
                                                    <li class="quantity">
141
                                                        <label for="quantity_record_[% biblio.import_record_id | html %]" class="required">Quantity: </label>
142
                                                        <input id="quantity_record_[% biblio.import_record_id | html %]" type="text" pattern="[0-9]+" value="[% biblio.quantity.length ? biblio.quantity : 1 | html %]" name="quantity" />
143
                                                        <span class="required">Required</span>
144
                                                    </li>
145
                                                    <li class="price">
146
                                                        <label for="price_record_[% biblio.import_record_id | html %]">Price: </label>
147
                                                        <input id="price_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.price | html %]" name="price" />
148
                                                    </li>
149
                                                    <li class="replacementprice">
150
                                                        <label for="replacementprice_record_[% biblio.import_record_id | html %]">Replacement price: </label>
151
                                                        <input id="replacementprice_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.replacementprice | html %]" name="replacementprice" />
152
                                                    </li>
153
                                                    <li class="discount">
154
                                                        <label for="discount_record_[% biblio.import_record_id | html %]">Discount: </label>
155
                                                        <input id="discount_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.discount | html %]" name="discount" size="6" /> %
156
                                                        <div class="hint">If empty, discount rate from vendor will be used</div>
157
                                                    </li>
158
                                                    <li class="fund">
159
                                                        [% IF ( close ) %]
160
                                                            <label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label>
161
                                                            <input type="hidden" size="20" name="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
131
                                                        [% ELSE %]
162
                                                        [% ELSE %]
132
                                                            [% biblio_lis.overlay_status | html %]
163
                                                            <label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label>
133
                                                        [% END %]
164
                                                            <select id="fund_record_[% biblio.import_record_id | html %]" name="budget_id">
134
                                                        [% IF ( biblio.match_biblionumber ) %]
165
                                                                <option value="">Select a fund (will use default if set)</option>
135
                                                            Matches biblio [% biblio.match_biblionumber | uri %] (score = [% biblio.match_score | html %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.match_biblionumber | uri %]">[% biblio.match_citation | html %]</a>
166
                                                                [% FOREACH budget IN budget_loop %]
136
                                                        [% END %]
167
                                                                    [% IF ( budget.b_id == biblio.budget_id ) %]
137
                                                    </span>
168
                                                                    [% IF budget.b_active %]
138
                                                </li>
169
                                                                        <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %]</option>
139
                                                <li class="quantity">
170
                                                                    [% ELSE %]
140
                                                    <label for="quantity_record_[% biblio.import_record_id | html %]" class="required">Quantity: </label>
171
                                                                        <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %] (inactive)</option>
141
                                                    <input id="quantity_record_[% biblio.import_record_id | html %]" type="text" pattern="[0-9]+" value="[% biblio.quantity.length ? biblio.quantity : 1 | html %]" name="quantity" />
142
                                                    <span class="required">Required</span>
143
                                                </li>
144
                                                <li class="price">
145
                                                    <label for="price_record_[% biblio.import_record_id | html %]">Price: </label>
146
                                                    <input id="price_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.price | html %]" name="price" />
147
                                                </li>
148
                                                <li class="replacementprice">
149
                                                    <label for="replacementprice_record_[% biblio.import_record_id | html %]">Replacement price: </label>
150
                                                    <input id="replacementprice_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.replacementprice | html %]" name="replacementprice" />
151
                                                </li>
152
                                                <li class="discount">
153
                                                    <label for="discount_record_[% biblio.import_record_id | html %]">Discount: </label>
154
                                                    <input id="discount_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.discount | html %]" name="discount" size="6" /> %
155
                                                    <div class="hint">If empty, discount rate from vendor will be used</div>
156
                                                </li>
157
                                                <li class="fund">
158
                                                    [% IF ( close ) %]
159
                                                        <label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label>
160
                                                        <input type="hidden" size="20" name="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
161
                                                    [% ELSE %]
162
                                                        <label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label>
163
                                                        <select id="fund_record_[% biblio.import_record_id | html %]" name="budget_id">
164
                                                            <option value="">Select a fund (will use default if set)</option>
165
                                                            [% FOREACH budget IN budget_loop %]
166
                                                                [% IF ( budget.b_id == biblio.budget_id ) %]
167
                                                                [% IF budget.b_active %]
168
                                                                    <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %]</option>
169
                                                                [% ELSE %]
170
                                                                    <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %] (inactive)</option>
171
                                                                [% END %]
172
                                                                [% ELSE %]
173
                                                                    [% IF budget.b_active %]<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option>
174
                                                                    [% ELSE %]<option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %] (inactive)</option>
175
                                                                    [% END %]
172
                                                                    [% END %]
176
                                                                [% END %]
177
                                                            [% END %]
178
                                                        </select>
179
                                                        <span class="required" style="display:none">Required</span>
180
                                                    [% END %]
181
                                                </li>
182
                                                <li class="sort1">
183
                                                    <label for="sort1_record_[% biblio.import_record_id | html %]">Statistic 1: </label>
184
                                                    <input id="sort1_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort1" value="[% biblio.sort1 | html %]" />
185
                                                </li>
186
                                                <li class="sort2">
187
                                                    <label for="sort2_record_[% biblio.import_record_id | html %]">Statistic 2: </label>
188
                                                    <input id="sort2_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort2" value="[% biblio.sort2 | html %]" />
189
                                                </li>
190
                                            </ol>
191
                                        </div>
192
                                        <div style="float:right">
193
                                            [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
194
                                            [% FOREACH item IN biblio.iteminfos %]
195
                                                <fieldset>
196
                                                    <legend>Item record [% item.item_id | html %]</legend>
197
                                                    <ol>
198
                                                        <li>
199
                                                            <label for="homebranch_item_[% item.item_id | html %]">homebranch</label>
200
                                                            <select id="homebranch_item_[% item.item_id | html %]" name="homebranch_[% item.biblio_count | html %]">
201
                                                                [% FOREACH l IN libraries %]
202
                                                                    [% IF l.branchcode == item.homebranch %]
203
                                                                        <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
204
                                                                    [% ELSE %]
173
                                                                    [% ELSE %]
205
                                                                        <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
174
                                                                        [% IF budget.b_active %]<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option>
175
                                                                        [% ELSE %]<option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %] (inactive)</option>
176
                                                                        [% END %]
206
                                                                    [% END %]
177
                                                                    [% END %]
207
                                                                [% END %]
178
                                                                [% END %]
208
                                                            </select>
179
                                                            </select>
209
                                                        </li>
180
                                                            <span class="required" style="display:none">Required</span>
181
                                                        [% END %]
182
                                                    </li>
183
                                                    <li class="sort1">
184
                                                        <label for="sort1_record_[% biblio.import_record_id | html %]">Statistic 1: </label>
185
                                                        <input id="sort1_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort1" value="[% biblio.sort1 | html %]" />
186
                                                    </li>
187
                                                    <li class="sort2">
188
                                                        <label for="sort2_record_[% biblio.import_record_id | html %]">Statistic 2: </label>
189
                                                        <input id="sort2_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort2" value="[% biblio.sort2 | html %]" />
190
                                                    </li>
191
                                                </ol>
192
                                            </div>
193
                                            <div style="float:right">
194
                                                [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
195
                                                [% FOREACH item IN biblio.iteminfos %]
196
                                                    <fieldset>
197
                                                        <legend>Item record [% item.item_id | html %]</legend>
198
                                                        <ol>
199
                                                            <li>
200
                                                                <label for="homebranch_item_[% item.item_id | html %]">homebranch</label>
201
                                                                <select id="homebranch_item_[% item.item_id | html %]" name="homebranch_[% item.biblio_count | html %]">
202
                                                                    [% FOREACH l IN libraries %]
203
                                                                        [% IF l.branchcode == item.homebranch %]
204
                                                                            <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
205
                                                                        [% ELSE %]
206
                                                                            <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
207
                                                                        [% END %]
208
                                                                    [% END %]
209
                                                                </select>
210
                                                            </li>
210
211
211
                                                        <li>
212
                                                            <li>
212
                                                            <label for="holdingbranch_item_[% item.item_id | html %]">holdingbranch</label>
213
                                                                <label for="holdingbranch_item_[% item.item_id | html %]">holdingbranch</label>
213
                                                            <select id="holdingbranch_item_[% item.item_id | html %]" name="holdingbranch_[% item.biblio_count | html %]">
214
                                                                <select id="holdingbranch_item_[% item.item_id | html %]" name="holdingbranch_[% item.biblio_count | html %]">
214
                                                                [% FOREACH l IN libraries %]
215
                                                                    [% FOREACH l IN libraries %]
215
                                                                    [% IF l.branchcode == item.holdingbranch %]
216
                                                                        [% IF l.branchcode == item.holdingbranch %]
216
                                                                        <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
217
                                                                            <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
217
                                                                    [% ELSE %]
218
                                                                        [% ELSE %]
218
                                                                        <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
219
                                                                            <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
220
                                                                        [% END %]
219
                                                                    [% END %]
221
                                                                    [% END %]
220
                                                                [% END %]
222
                                                                </select>
221
                                                            </select>
223
                                                            </li>
222
                                                        </li>
224
                                                            <li>
223
                                                        <li>
225
                                                                <label for="itype_item_[% item.item_id | html %]">itype</label>
224
                                                            <label for="itype_item_[% item.item_id | html %]">itype</label>
226
                                                                <select id="itype_item_[% item.item_id | html %]" name="itype_[% item.biblio_count | html %]">
225
                                                            <select id="itype_item_[% item.item_id | html %]" name="itype_[% item.biblio_count | html %]">
227
                                                                    [% FOREACH itemtype IN itemtypes %]
226
                                                                [% FOREACH itemtype IN itemtypes %]
228
                                                                        [% IF itemtype.itemtype == item.itype %]
227
                                                                    [% IF itemtype.itemtype == item.itype %]
229
                                                                            <option value="[% itemtype.itemtype | html %]" selected="selected">[% itemtype.description | html %]</option>
228
                                                                        <option value="[% itemtype.itemtype | html %]" selected="selected">[% itemtype.description | html %]</option>
230
                                                                        [% ELSE %]
229
                                                                    [% ELSE %]
231
                                                                            <option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option>
230
                                                                        <option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option>
232
                                                                        [% END %]
231
                                                                    [% END %]
233
                                                                    [% END %]
232
                                                                [% END %]
234
                                                                </select>
233
                                                            </select>
235
                                                            </li>
234
                                                        </li>
235
236
236
                                                        <li>
237
                                                            <li>
237
                                                            <label for="nonpublic_note_item_[% item.item_id | html %]">nonpublic_note</label>
238
                                                                <label for="nonpublic_note_item_[% item.item_id | html %]">nonpublic_note</label>
238
                                                            <input type="text" id="nonpublic_note_item_[% item.item_id | html %]" name="nonpublic_note_[% item.biblio_count | html %]" value="[% item.nonpublic_note | html %]">
239
                                                                <input type="text" id="nonpublic_note_item_[% item.item_id | html %]" name="nonpublic_note_[% item.biblio_count | html %]" value="[% item.nonpublic_note | html %]">
239
                                                        </li>
240
                                                            </li>
240
                                                        <li>
241
                                                            <li>
241
                                                            <label for="public_note_item_[% item.item_id | html %]">public_note</label>
242
                                                                <label for="public_note_item_[% item.item_id | html %]">public_note</label>
242
                                                            <input type="text" id="public_note_item_[% item.item_id | html %]" name="public_note_[% item.biblio_count | html %]" value="[% item.public_note | html %]">
243
                                                                <input type="text" id="public_note_item_[% item.item_id | html %]" name="public_note_[% item.biblio_count | html %]" value="[% item.public_note | html %]">
243
                                                        </li>
244
                                                            </li>
244
                                                        <li>
245
                                                            <li>
245
                                                            <label for="loc_item_[% item.item_id | html %]">loc</label>
246
                                                                <label for="loc_item_[% item.item_id | html %]">loc</label>
246
                                                            <select id="loc_item_[% item.item_id | html %]" name="loc_[% item.biblio_count | html %]">
247
                                                                <select id="loc_item_[% item.item_id | html %]" name="loc_[% item.biblio_count | html %]">
247
                                                                <option value=""> </option>
248
                                                                    <option value=""> </option>
248
                                                                [% FOREACH locationloo IN locationloop %]
249
                                                                    [% FOREACH locationloo IN locationloop %]
249
                                                                    [% IF ( locationloo.code ) == (item.loc) %]
250
                                                                        [% IF ( locationloo.code ) == (item.loc) %]
250
                                                                        <option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>
251
                                                                            <option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>
251
                                                                    [% ELSE %]
252
                                                                        [% ELSE %]
252
                                                                        <option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>
253
                                                                            <option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>
254
                                                                        [% END %]
253
                                                                    [% END %]
255
                                                                    [% END %]
254
                                                                [% END %]
256
                                                                </select>
255
                                                            </select>
257
                                                            </li>
256
                                                        </li>
257
258
258
                                                        <li>
259
                                                            <li>
259
                                                            <label for="ccode_item_[% item.item_id | html %]">ccode</label>
260
                                                                <label for="ccode_item_[% item.item_id | html %]">ccode</label>
260
                                                            <select id="ccode_item_[% item.item_id | html %]" name="ccode_[% item.biblio_count | html %]">
261
                                                                <select id="ccode_item_[% item.item_id | html %]" name="ccode_[% item.biblio_count | html %]">
261
                                                                <option value=""> </option>
262
                                                                    <option value=""> </option>
262
                                                                [% FOREACH ccodeloo IN ccodeloop %]
263
                                                                    [% FOREACH ccodeloo IN ccodeloop %]
263
                                                                    [% IF ( ccodeloo.code ) == (item.ccode) %]
264
                                                                        [% IF ( ccodeloo.code ) == (item.ccode) %]
264
                                                                        <option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>
265
                                                                            <option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>
265
                                                                    [% ELSE %]
266
                                                                        [% ELSE %]
266
                                                                        <option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>
267
                                                                            <option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>
268
                                                                        [% END %]
267
                                                                    [% END %]
269
                                                                    [% END %]
268
                                                                [% END %]
270
                                                                </select>
269
                                                            </select>
271
                                                            </li>
270
                                                        </li>
271
272
272
                                                        <li>
273
                                                            <li>
273
                                                            <label for="notforloan_item_[% item.item_id | html %]">notforloan</label>
274
                                                                <label for="notforloan_item_[% item.item_id | html %]">notforloan</label>
274
                                                            <select id="notforloan_item_[% item.item_id | html %]" name="notforloan_[% item.biblio_count | html %]">
275
                                                                <select id="notforloan_item_[% item.item_id | html %]" name="notforloan_[% item.biblio_count | html %]">
275
                                                                <option value=""> </option>
276
                                                                    <option value=""> </option>
276
                                                                [% FOREACH n IN notforloanloop %]
277
                                                                    [% FOREACH n IN notforloanloop %]
277
                                                                    [% IF n.code == item.notforloan %]
278
                                                                        [% IF n.code == item.notforloan %]
278
                                                                        <option value="[% n.code | html %]" selected="selected">[% n.description | html %]</option>
279
                                                                            <option value="[% n.code | html %]" selected="selected">[% n.description | html %]</option>
279
                                                                    [% ELSE %]
280
                                                                        [% ELSE %]
280
                                                                        <option value="[% n.code | html %]">[% n.description | html %]</option>
281
                                                                            <option value="[% n.code | html %]">[% n.description | html %]</option>
282
                                                                        [% END %]
281
                                                                    [% END %]
283
                                                                    [% END %]
282
                                                                [% END %]
284
                                                                </select>
283
                                                            </select>
285
                                                            </li>
284
                                                        </li>
286
                                                            <li>
285
                                                        <li>
287
                                                                <label for="uri_item_[% item.item_id | html %]">uri</label>
286
                                                            <label for="uri_item_[% item.item_id | html %]">uri</label>
288
                                                                <input type="text" id="uri_item_[% item.item_id | html %]" name="uri_[% item.biblio_count | html %]" value="[% item.uri | html %]">
287
                                                            <input type="text" id="uri_item_[% item.item_id | html %]" name="uri_[% item.biblio_count | html %]" value="[% item.uri | html %]">
289
                                                            </li>
288
                                                        </li>
290
                                                            <li>
289
                                                        <li>
291
                                                                <label for="copyno_item_[% item.item_id | html %]">copyno</label>
290
                                                            <label for="copyno_item_[% item.item_id | html %]">copyno</label>
292
                                                                <input type="text" id="copyno_item_[% item.item_id | html %]" name="copyno_[% item.biblio_count | html %]" value="[% item.copyno | html %]">
291
                                                            <input type="text" id="copyno_item_[% item.item_id | html %]" name="copyno_[% item.biblio_count | html %]" value="[% item.copyno | html %]">
293
                                                            </li>
292
                                                        </li>
294
                                                            <li>
293
                                                        <li>
295
                                                                <label for="budget_code_item_[% item.item_id | html %]">budget_code</label>
294
                                                            <label for="budget_code_item_[% item.item_id | html %]">budget_code</label>
296
                                                                <select class="budget_code_item" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% item.biblio_count | html %]">
295
                                                            <select class="budget_code_item" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% item.biblio_count | html %]">
297
                                                                    <option value="">Select a fund (will use default if set)</option>
296
                                                                <option value="">Select a fund (will use default if set)</option>
298
                                                                    [% FOREACH budget_loo IN budget_loop %]
297
                                                                [% FOREACH budget_loo IN budget_loop %]
299
                                                                        [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]<option value="[% budget_loo.b_id | html %]" selected="selected">[% budget_loo.b_txt | html %]</option>
298
                                                                    [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]<option value="[% budget_loo.b_id | html %]" selected="selected">[% budget_loo.b_txt | html %]</option>
300
                                                                        [% ELSE %]<option value="[% budget_loo.b_id | html %]">[% budget_loo.b_txt | html %]</option>
299
                                                                    [% ELSE %]<option value="[% budget_loo.b_id | html %]">[% budget_loo.b_txt | html %]</option>
301
                                                                        [% END %]
300
                                                                    [% END %]
302
                                                                    [% END %]
301
                                                                [% END %]
303
                                                                </select>
302
                                                            </select>
304
                                                                <span class="item_fund required">Required</span>
303
                                                            <span class="item_fund required">Required</span>
305
                                                            </li>
304
                                                        </li>
306
                                                            <li>
305
                                                        <li>
307
                                                                <label for="price_item_[% item.item_id | html %]">price</label>
306
                                                            <label for="price_item_[% item.item_id | html %]">price</label>
308
                                                                <input type="text" id="price_item_[% item.item_id | html %]" name="itemprice_[% item.biblio_count | html %]" value="[% item.itemprice | html %]">
307
                                                            <input type="text" id="price_item_[% item.item_id | html %]" name="itemprice_[% item.biblio_count | html %]" value="[% item.itemprice | html %]">
309
                                                            </li>
308
                                                        </li>
310
                                                            <li>
309
                                                        <li>
311
                                                                <label for="replacementprice_item_[% item.item_id | html %]">replacement price</label>
310
                                                            <label for="replacementprice_item_[% item.item_id | html %]">replacement price</label>
312
                                                                <input type="text" id="replacementprice_item_[% item.item_id | html %]" name="replacementprice_[% item.biblio_count | html %]" value="[% item.replacementprice | html %]">
311
                                                            <input type="text" id="replacementprice_item_[% item.item_id | html %]" name="replacementprice_[% item.biblio_count | html %]" value="[% item.replacementprice | html %]">
313
                                                            </li>
312
                                                        </li>
314
                                                            <li>
313
                                                        <li>
315
                                                                <label for="callnumber_item_[% item.item_id | html %]">callnumber</label>
314
                                                            <label for="callnumber_item_[% item.item_id | html %]">callnumber</label>
316
                                                                <input type="text" id="callnumber_item_[% item.item_id | html %]" name="itemcallnumber_[% item.biblio_count | html %]" value="[% item.itemcallnumber | html %]">
315
                                                            <input type="text" id="callnumber_item_[% item.item_id | html %]" name="itemcallnumber_[% item.biblio_count | html %]" value="[% item.itemcallnumber | html %]">
317
                                                            </li>
316
                                                        </li>
318
                                                        </ol>
317
                                                    </ol>
319
                                                    </fieldset>
318
                                                </fieldset>
320
                                                [% END # /FOREACH item %]
319
                                            [% END # /FOREACH item %]
320
                                        </div>
321
                                    </fieldset> <!-- .biblio.unselected.rows -->
322
323
                                [% END # /FOREACH biblio %]
324
                                <div class="modal" id="dataPreview" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel">
325
                                    <div class="modal-dialog modal-lg" role="document">
326
                                        <div class="modal-content">
327
                                            <div class="modal-header">
328
                                                <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span
329
                                                        aria-hidden="true">&times;</span></button>
330
                                                <h4 id="dataPreviewLabel">MARC preview</h4>
331
                                            </div>
332
                                            <div class="modal-body">
333
                                                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
334
                                            </div>
335
                                            <div class="modal-footer">
336
                                                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
337
                                            </div>
321
                                            </div>
338
                                        </div> <!-- /.modal-content -->
322
                                        </fieldset> <!-- .biblio.unselected.rows -->
339
                                    </div> <!-- /.modal-dialog -->
340
                                </div> <!-- /#dataPreview -->
341
                            </div> <!-- /#records_to_import -->
342
323
343
                            <div id="items_info">
324
                                    [% END # /FOREACH biblio %]
344
                                <h2>Item information</h2>
325
                                    <div class="modal" id="dataPreview" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel">
345
                                <p>Import all the checked items in the basket with the following parameters:</p>
326
                                        <div class="modal-dialog modal-lg" role="document">
327
                                            <div class="modal-content">
328
                                                <div class="modal-header">
329
                                                    <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span
330
                                                            aria-hidden="true">&times;</span></button>
331
                                                    <h4 id="dataPreviewLabel">MARC preview</h4>
332
                                                </div>
333
                                                <div class="modal-body">
334
                                                    <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
335
                                                </div>
336
                                                <div class="modal-footer">
337
                                                    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
338
                                                </div>
339
                                            </div> <!-- /.modal-content -->
340
                                        </div> <!-- /.modal-dialog -->
341
                                    </div> <!-- /#dataPreview -->
342
                                </div> <!-- /#records_to_import -->
346
343
347
                                [% IF ( items ) %]
344
                                <div id="items_info" role="tabpanel" class="tab-pane">
348
                                    <fieldset class="rows" style="float:none;">
345
                                    <h2>Item information</h2>
349
                                        <legend>Item</legend>
346
                                    <p>Import all the checked items in the basket with the following parameters:</p>
350
                                        [% IF ( NoACQframework ) %]
347
351
                                            <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
348
                                    [% IF ( items ) %]
352
                                        [% END %]
349
                                        <fieldset class="rows" style="float:none;">
353
                                        [% FOREACH item IN items %]
350
                                            <legend>Item</legend>
354
                                            <div id="outeritemblock">
351
                                            [% IF ( NoACQframework ) %]
355
                                                <div id="itemblock">
352
                                                <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
356
                                                    <ol>
353
                                            [% END %]
357
                                                        [% FOREACH iteminformatio IN item.iteminformation %]
354
                                            [% FOREACH item IN items %]
358
                                                            <li style="[% iteminformatio.hidden | html %];">
355
                                                <div id="outeritemblock">
359
                                                                <div class="subfield_line" id="subfield[% iteminformatio.serialid | html %][% iteminformatio.countitems | html %][% iteminformatio.subfield | html %][% iteminformatio.random | html %]">
356
                                                    <div id="itemblock">
360
                                                                    [% IF (iteminformatio.mandatory) %]
357
                                                        <ol>
361
                                                                        <label class="required">[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label>
358
                                                            [% FOREACH iteminformatio IN item.iteminformation %]
362
                                                                    [% ELSE %]
359
                                                                <li style="[% iteminformatio.hidden | html %];">
363
                                                                        <label>[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label>
360
                                                                    <div class="subfield_line" id="subfield[% iteminformatio.serialid | html %][% iteminformatio.countitems | html %][% iteminformatio.subfield | html %][% iteminformatio.random | html %]">
364
                                                                    [% END %]
361
                                                                        [% IF (iteminformatio.mandatory) %]
362
                                                                            <label class="required">[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label>
363
                                                                        [% ELSE %]
364
                                                                            <label>[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label>
365
                                                                        [% END %]
365
366
366
                                                                    [% IF ( iteminformatio.marc_value.type == 'select' ) %]
367
                                                                        [% IF ( iteminformatio.marc_value.type == 'select' ) %]
367
                                                                        <select name="field_value" class="input_marceditor">
368
                                                                            <select name="field_value" class="input_marceditor">
368
                                                                            [% FOREACH value IN iteminformatio.marc_value.values %]
369
                                                                                [% FOREACH value IN iteminformatio.marc_value.values %]
369
                                                                                [% IF ( value == iteminformatio.marc_value.default ) %]
370
                                                                                    [% IF ( value == iteminformatio.marc_value.default ) %]
370
                                                                                    <option value="[% value | html %]" selected="selected">[% iteminformatio.marc_value.labels.$value | html %]</option>
371
                                                                                        <option value="[% value | html %]" selected="selected">[% iteminformatio.marc_value.labels.$value | html %]</option>
371
                                                                                [% ELSE %]
372
                                                                                    [% ELSE %]
372
                                                                                    <option value="[% value | html %]">[% iteminformatio.marc_value.labels.$value | html %]</option>
373
                                                                                        <option value="[% value | html %]">[% iteminformatio.marc_value.labels.$value | html %]</option>
374
                                                                                    [% END %]
373
                                                                                [% END %]
375
                                                                                [% END %]
374
                                                                            [% END %]
376
                                                                            </select>
375
                                                                        </select>
377
                                                                        [% ELSE %]
376
                                                                    [% ELSE %]
378
                                                                        [% iteminformatio.marc_value | $raw %]
377
                                                                    [% iteminformatio.marc_value | $raw %]
379
                                                                        [% END %]
378
                                                                    [% END %]
380
                                                                        <input type="hidden" name="itemid" value="1" />
379
                                                                    <input type="hidden" name="itemid" value="1" />
381
                                                                        <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield | html %]" />
380
                                                                    <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield | html %]" />
382
                                                                        <input type="hidden" name="tag" value="[% iteminformatio.tag | html %]" />
381
                                                                    <input type="hidden" name="tag" value="[% iteminformatio.tag | html %]" />
383
                                                                        <input type="hidden" name="subfield" value="[% iteminformatio.subfield | html %]" />
382
                                                                    <input type="hidden" name="subfield" value="[% iteminformatio.subfield | html %]" />
384
                                                                        <input type="hidden" name="mandatory" value="[% iteminformatio.mandatory | html %]" />
383
                                                                    <input type="hidden" name="mandatory" value="[% iteminformatio.mandatory | html %]" />
385
                                                                        [% IF ( iteminformatio.mandatory ) %]
384
                                                                    [% IF ( iteminformatio.mandatory ) %]
386
                                                                            <span class="required">Required</span>
385
                                                                        <span class="required">Required</span>
387
                                                                        [% END %]
386
                                                                    [% END %]
388
                                                                    </div>
387
                                                                </div>
389
                                                                </li>
388
                                                            </li>
390
                                                            [% END %]
389
                                                        [% END %]
391
                                                        </ol>
390
                                                    </ol>
392
                                                    </div><!-- /#itemblock -->
391
                                                </div><!-- /#itemblock -->
393
                                                </div> <!-- /#outeritemblock -->
392
                                            </div> <!-- /#outeritemblock -->
394
                                            [% END #/FOREACH item %]
393
                                        [% END #/FOREACH item %]
395
                                        </fieldset>
394
                                    </fieldset>
396
                                    [% END # /IF items %]
395
                                [% END # /IF items %]
397
                                </div> <!-- /#items_info -->
396
                            </div> <!-- /#items_info -->
397
398
398
                            <div id="accounting_details">
399
                                <div id="accounting_details" role="tabpanel" class="tab-pane">
399
                                <p>Import all the checked items in the basket with the following accounting details (used only if no information is filled for the item):</p>
400
                                    <p>Import all the checked items in the basket with the following accounting details (used only if no information is filled for the item):</p>
400
                                <fieldset class="rows" style="float:none;">
401
                                    <fieldset class="rows" style="float:none;">
401
                                    <legend>Accounting details</legend>
402
                                        <legend>Accounting details</legend>
402
                                    <ol>
403
                                        <ol>
403
                                        <li>
404
                                            <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order -->
405
                                            <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
406
                                        </li>
407
                                        [% IF ( close ) %]
408
                                            <li>
404
                                            <li>
409
                                                <span class="label">Fund: </span>
405
                                                <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order -->
410
                                                <input type="hidden" size="20" name="budget_id" id="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
406
                                                <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
411
                                            </li>
407
                                            </li>
412
                                        [% ELSE %]
408
                                            [% IF ( close ) %]
413
                                            <li>
409
                                                <li>
414
                                                <label for="all_currency">Currency:</label>
410
                                                    <span class="label">Fund: </span>
415
                                                <select name="all_currency" id="all_currency">
411
                                                    <input type="hidden" size="20" name="budget_id" id="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
416
                                                    [% FOREACH currency IN currencies %]
412
                                                </li>
417
                                                        [% IF currency.currency == bookseller.listprice %]
413
                                            [% ELSE %]
418
                                                            <option value="[% currency.currency | html %]" selected="selected">[% currency.currency | html %]</option>
414
                                                <li>
419
                                                        [% ELSIF not currency.archived %]
415
                                                    <label for="all_currency">Currency:</label>
420
                                                            <option value="[% currency.currency | html %]">[% currency.currency | html %]</option>
416
                                                    <select name="all_currency" id="all_currency">
417
                                                        [% FOREACH currency IN currencies %]
418
                                                            [% IF currency.currency == bookseller.listprice %]
419
                                                                <option value="[% currency.currency | html %]" selected="selected">[% currency.currency | html %]</option>
420
                                                            [% ELSIF not currency.archived %]
421
                                                                <option value="[% currency.currency | html %]">[% currency.currency | html %]</option>
422
                                                            [% END %]
421
                                                        [% END %]
423
                                                        [% END %]
422
                                                    [% END %]
424
                                                    </select>
423
                                                </select>
425
                                                </li>
426
                                                <li>
427
                                                    <label for="all_budget_id">Fund: </label>
428
                                                    <select id="all_budget_id" name="all_budget_id">
429
                                                        <option value="">Select a fund (will populate orders/items if set)</option>
430
                                                        [% FOREACH budget_loo IN budget_loop %]
431
                                                            [% IF ( budget_loo.b_active ) %]
432
                                                                <option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option>
433
                                                            [% ELSE %]
434
                                                                <option value="[% budget_loo.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %] (inactive)</option>
435
                                                            [% END %]
436
                                                        [% END %]
437
                                                    </select>
438
                                                    <label for="all_showallbudgets" style="float:none;width:auto;">&nbsp;Show inactive:</label>
439
                                                    <input type="checkbox" id="all_showallbudgets" />
440
                                                </li>
441
                                            [% END #/IF close %]
442
                                            <li>
443
                                                <label for="all_order_internalnote">Internal note: </label>
444
                                                <textarea id="all_order_internalnote" cols="30" rows="3" name="all_order_internalnote"></textarea>
424
                                            </li>
445
                                            </li>
425
                                            <li>
446
                                            <li>
426
                                                <label for="all_budget_id">Fund: </label>
447
                                                <label for="all_order_vendornote">Vendor note: </label>
427
                                                <select id="all_budget_id" name="all_budget_id">
448
                                                <textarea id="all_order_vendornote" cols="30" rows="3" name="all_order_vendornote"></textarea>
428
                                                    <option value="">Select a fund (will populate orders/items if set)</option>
449
                                            </li>
429
                                                    [% FOREACH budget_loo IN budget_loop %]
450
                                            <li>
430
                                                        [% IF ( budget_loo.b_active ) %]
451
                                                <div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div>
431
                                                            <option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option>
452
                                                <label for="all_sort1">Statistic 1: </label>
432
                                                        [% ELSE %]
453
                                                <input type="text" id="all_sort1" size="20" name="all_sort1" value="" />
433
                                                            <option value="[% budget_loo.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %] (inactive)</option>
454
                                            </li>
434
                                                        [% END %]
455
                                            <li>
435
                                                    [% END %]
456
                                                <label for="all_sort2">Statistic 2: </label>
436
                                                </select>
457
                                                <input type="text" id="all_sort2" size="20" name="all_sort2" value="" />
437
                                                <label for="all_showallbudgets" style="float:none;width:auto;">&nbsp;Show inactive:</label>
438
                                                <input type="checkbox" id="all_showallbudgets" />
439
                                            </li>
458
                                            </li>
440
                                        [% END #/IF close %]
459
                                        </ol>
441
                                        <li>
460
                                    </fieldset> <!-- /.rows -->
442
                                            <label for="all_order_internalnote">Internal note: </label>
461
                                </div> <!-- /#accounting_details -->
443
                                            <textarea id="all_order_internalnote" cols="30" rows="3" name="all_order_internalnote"></textarea>
444
                                        </li>
445
                                        <li>
446
                                            <label for="all_order_vendornote">Vendor note: </label>
447
                                            <textarea id="all_order_vendornote" cols="30" rows="3" name="all_order_vendornote"></textarea>
448
                                        </li>
449
                                        <li>
450
                                            <div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div>
451
                                            <label for="all_sort1">Statistic 1: </label>
452
                                            <input type="text" id="all_sort1" size="20" name="all_sort1" value="" />
453
                                        </li>
454
                                        <li>
455
                                            <label for="all_sort2">Statistic 2: </label>
456
                                            <input type="text" id="all_sort2" size="20" name="all_sort2" value="" />
457
                                        </li>
458
                                    </ol>
459
                                </fieldset> <!-- /.rows -->
460
                            </div> <!-- /#accounting_details -->
461
                        </div> <!-- /#tabs -->
462
                        </div> <!-- /#tabs -->
462
463
463
                        <fieldset class="action">
464
                        <fieldset class="action">
(-)a/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js (-2 lines)
Lines 76-82 $(document).ready(function() { Link Here
76
        $(this.form).submit();
76
        $(this.form).submit();
77
    });
77
    });
78
78
79
    $('#tabs').tabs();
80
    $(".previewData").on("click", function(e){
79
    $(".previewData").on("click", function(e){
81
        e.preventDefault();
80
        e.preventDefault();
82
        var ltitle = $(this).text();
81
        var ltitle = $(this).text();
83
- 

Return to bug 30389