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

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

Return to bug 30389