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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc (-1 / +1 lines)
Lines 56-62 Link Here
56
    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
56
    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
57
    <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
57
    <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
58
    <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
58
    <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
59
    <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">EDI eans</a></li>
59
    <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
60
</ul>
60
</ul>
61
61
62
[% IF CAN_user_plugins %]
62
[% IF CAN_user_plugins %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-1 / +1 lines)
Lines 184-190 Link Here
184
                    [% END %]
184
                    [% END %]
185
                        <div class="btn-group"><a href="[% script_name %]?op=export&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="exportbutton"><i class="fa fa-download"></i> Export this basket as CSV</a></div>
185
                        <div class="btn-group"><a href="[% script_name %]?op=export&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="exportbutton"><i class="fa fa-download"></i> Export this basket as CSV</a></div>
186
                        [% IF ediaccount %]
186
                        [% IF ediaccount %]
187
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/edi_ean.pl?op=ediorder&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="ediorderbutton"><i class="icon-download"></i>Create edifact order</a></div>
187
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/edi_ean.pl?op=ediorder&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="ediorderbutton"><i class="fa fa-download"></i> Create edifact order</a></div>
188
                        [% END %]
188
                        [% END %]
189
                </div>
189
                </div>
190
<!-- Modal for confirm deletion box-->
190
<!-- Modal for confirm deletion box-->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-1 / +1 lines)
Lines 144-150 function submitForm(form) { Link Here
144
                            <div class="btn-group"><a href="[% script_name %]?op=reopen&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]&amp;mode=singlebg" class="btn btn-small" id="reopenbutton"><i class="fa fa-download"></i> Reopen this basket group</a></div>
144
                            <div class="btn-group"><a href="[% script_name %]?op=reopen&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]&amp;mode=singlebg" class="btn btn-small" id="reopenbutton"><i class="fa fa-download"></i> Reopen this basket group</a></div>
145
                            <div class="btn-group"><a href="[% script_name %]?op=export&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="exportbutton"><i class="fa fa-download"></i> Export this basket group as CSV</a></div>
145
                            <div class="btn-group"><a href="[% script_name %]?op=export&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="exportbutton"><i class="fa fa-download"></i> Export this basket group as CSV</a></div>
146
                            <div class="btn-group"><a href="[% script_name %]?op=print&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="printbutton"><i class="fa fa-download"></i> Print this basket group in PDF</a></div>
146
                            <div class="btn-group"><a href="[% script_name %]?op=print&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="printbutton"><i class="fa fa-download"></i> Print this basket group in PDF</a></div>
147
                            <div class="btn-group"><a href="[% script_name %]?op=ediprint&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="printbutton"><i class="icon-download"></i>Generate edifact order</a></div>
147
                            <div class="btn-group"><a href="[% script_name %]?op=ediprint&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="printbutton"><i class="fa fa-download"></i> Generate edifact order</a></div>
148
                        </div>
148
                        </div>
149
                    [% ELSE %]
149
                    [% ELSE %]
150
                        <div class="btn-group"><a href="[% script_name %]?op=delete&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="delbutton"><i class="fa fa-remove"></i> Delete basket group</a></div>
150
                        <div class="btn-group"><a href="[% script_name %]?op=delete&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="delbutton"><i class="fa fa-remove"></i> Delete basket group</a></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (-2 / +2 lines)
Lines 98-106 Link Here
98
                        <dt><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></dt>
98
                        <dt><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></dt>
99
                        <dd>Define funds within your budgets</dd>
99
                        <dd>Define funds within your budgets</dd>
100
100
101
                        <dt><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI Accounts</a></dt>
101
                        <dt><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></dt>
102
                        <dd>Manage vendor EDI accounts for import/export</dd>
102
                        <dd>Manage vendor EDI accounts for import/export</dd>
103
                        <dt><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">EDI EANs</a></dt>
103
                        <dt><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></dt>
104
                        <dd>Manage library EDI EANs</dd>
104
                        <dd>Manage library EDI EANs</dd>
105
                </dl>
105
                </dl>
106
106
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt (-39 / +44 lines)
Lines 2-14 Link Here
2
<title>Koha &rsaquo; Administration &rsaquo; EDI accounts
2
<title>Koha &rsaquo; Administration &rsaquo; EDI accounts
3
[% IF acct_form %]
3
[% IF acct_form %]
4
  [% IF account %]
4
  [% IF account %]
5
     &rsquo; Modify account
5
     &rsaquo; Modify account
6
  [% ELSE %]
6
  [% ELSE %]
7
     &rsquo; Add new account
7
     &rsaquo; Add new account
8
  [% END %]
8
  [% END %]
9
[% END %]
9
[% END %]
10
[% IF delete_confirm %]
10
[% IF delete_confirm %]
11
     &rsquo; Confirm deletion of account
11
     &rsaquo; Confirm deletion of account
12
[% END %]
12
[% END %]
13
</title>
13
</title>
14
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
Lines 19-36 Link Here
19
19
20
<div id="breadcrumbs">
20
<div id="breadcrumbs">
21
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
21
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
22
 &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
22
&rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
23
 &rsaquo; <a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a>
23
 [% IF acct_form %]
24
[% IF acct_form %]
25
  [% IF account %]
24
  [% IF account %]
26
     &rsaquo; Modify account
25
     <a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a> &rsaquo; Modify account
27
  [% ELSE %]
26
  [% ELSE %]
28
     &rsaquo; Add new account
27
     <a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a> &rsaquo; Add new account
29
  [% END %]
28
  [% END %]
30
[% ELSIF delete_confirm %]
29
[% ELSIF delete_confirm %]
31
     &rsaquo; Confirm deletion of account
30
     <a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a> &rsaquo; Confirm deletion of account
32
[% ELSE %]
31
[% ELSE %]
33
     &rsaquo; Accounts
32
     &rsaquo; EDI accounts
34
[% END %]
33
[% END %]
35
</div>
34
</div>
36
35
Lines 42-48 Link Here
42
[% IF display %]
41
[% IF display %]
43
    <div id="toolbar" class="btn-toolbar">
42
    <div id="toolbar" class="btn-toolbar">
44
    <a class="btn btn-small" id="newediacct" href="/cgi-bin/koha/admin/edi_accounts.pl?op=acct_form">
43
    <a class="btn btn-small" id="newediacct" href="/cgi-bin/koha/admin/edi_accounts.pl?op=acct_form">
45
         <i class="icon-plus"></i>
44
         <i class="fa fa-plus"></i>
46
         New account
45
         New account
47
    </a>
46
    </a>
48
    </div>
47
    </div>
Lines 95-101 Link Here
95
  [% END %]
94
  [% END %]
96
  <li>
95
  <li>
97
     <label for="description">Description: </label>
96
     <label for="description">Description: </label>
98
     <input type="text" name="description" id="description" size="20" maxlength="90" value="[% account.description %]" />
97
     <input type="text" name="description" id="description" size="20" value="[% account.description %]" />
99
  </li>
98
  </li>
100
  <li>
99
  <li>
101
     [% transport_types = [
100
     [% transport_types = [
Lines 116-142 Link Here
116
  </li>
115
  </li>
117
  <li>
116
  <li>
118
     <label for="host">Remote host: </label>
117
     <label for="host">Remote host: </label>
119
     <input type="text" name="host" id="host" size="20" maxlength="90" value="[% account.host %]" />
118
     <input type="text" name="host" id="host" size="20" maxlength="40" value="[% account.host %]" />
120
  </li>
119
  </li>
121
  <li>
120
  <li>
122
     <label for="username">Username: </label>
121
     <label for="username">Username: </label>
123
     <input type="text" name="username" id="username" size="20" maxlength="90" value="[% account.username %]" />
122
     <input type="text" name="username" id="username" size="20" maxlength="40" value="[% account.username %]" />
124
  </li>
123
  </li>
125
  <li>
124
  <li>
126
     <label for="password">Password: </label>
125
     <label for="password">Password: </label>
127
     <input type="text" name="password" id="password" size="20" maxlength="90" value="[% account.password %]" />
126
     <input type="text" name="password" id="password" size="20" maxlength="40" value="[% account.password %]" />
128
  </li>
127
  </li>
129
  <li>
128
  <li>
130
     <label for="download_directory">Download directory: </label>
129
     <label for="download_directory">Download directory: </label>
131
     <input type="text" name="download_directory" id="download_directory" size="20" maxlength="90"
130
     <input type="text" name="download_directory" id="download_directory" size="20" value="[% account.download_directory %]" />
132
      title="The download directory specifies the directory on the ftpsite from which we download quotes and invoices"
131
        <div class="hint">The download directory specifies the directory on the ftp site from which quotes and invoices are downloaded.</div>
133
      value="[% account.download_directory %]" />
134
  </li>
132
  </li>
135
  <li>
133
  <li>
136
     <label for="upload_directory">Upload directory: </label>
134
     <label for="upload_directory">Upload directory: </label>
137
     <input type="text" name="upload_directory" id="upload_directory" size="20" maxlength="90"
135
     <input type="text" name="upload_directory" id="upload_directory" size="20" value="[% account.upload_directory %]" />
138
      title="The upload directory specifies the directory on the ftp site to which we upload orders"
136
        <div class="hint">The upload directory specifies the directory on the ftp site to which orders are uploaded.</div>
139
      value="[% account.upload_directory %]" />
140
  </li>
137
  </li>
141
  <li>
138
  <li>
142
     <label for="id_code_qualifier">Qualifier:</label>
139
     <label for="id_code_qualifier">Qualifier:</label>
Lines 156-167 Link Here
156
  </li>
153
  </li>
157
  <li>
154
  <li>
158
     <label for="san">SAN: </label>
155
     <label for="san">SAN: </label>
159
     <input type="text" name="san" id="san" size="20" maxlength="90" value="[% account.san %]" />
156
     <input type="text" name="san" id="san" size="20" maxlength="20" value="[% account.san %]" />
160
  </li>
157
  </li>
161
  <li>
158
  <li>
162
     <label for="quotes_enabled">Quotes enabled: </label>
159
     <label for="quotes_enabled">Quotes enabled: </label>
163
      [% IF account.quotes_enabled %]
160
      [% IF account.quotes_enabled %]
164
     <input type="checkbox" name="quotes_enabled" id="quotes_enabled" value="[% account.quotes_enabled %]" checked />
161
     <input type="checkbox" name="quotes_enabled" id="quotes_enabled" value="[% account.quotes_enabled %]" checked="checked" />
165
      [% ELSE %]
162
      [% ELSE %]
166
     <input type="checkbox" name="quotes_enabled" id="quotes_enabled" value="[% account.quotes_enabled %]" />
163
     <input type="checkbox" name="quotes_enabled" id="quotes_enabled" value="[% account.quotes_enabled %]" />
167
      [% END %]
164
      [% END %]
Lines 169-175 Link Here
169
  <li>
166
  <li>
170
     <label for="orders_enabled">Orders enabled: </label>
167
     <label for="orders_enabled">Orders enabled: </label>
171
[% IF account.orders_enabled %]
168
[% IF account.orders_enabled %]
172
     <input type="checkbox" name="orders_enabled" id="orders_enabled" value="[% account.orders_enabled %]" checked />
169
     <input type="checkbox" name="orders_enabled" id="orders_enabled" value="[% account.orders_enabled %]" checked="checked" />
173
[% ELSE %]
170
[% ELSE %]
174
     <input type="checkbox" name="orders_enabled" id="orders_enabled" value="[% account.orders_enabled %]" />
171
     <input type="checkbox" name="orders_enabled" id="orders_enabled" value="[% account.orders_enabled %]" />
175
[% END %]
172
[% END %]
Lines 177-183 Link Here
177
  <li>
174
  <li>
178
     <label for="invoices_enabled">Invoices enabled: </label>
175
     <label for="invoices_enabled">Invoices enabled: </label>
179
[% IF account.invoices_enabled %]
176
[% IF account.invoices_enabled %]
180
     <input type="checkbox" name="invoices_enabled" id="invoices_enabled" value="[% account.invoices_enabled %]" checked />
177
     <input type="checkbox" name="invoices_enabled" id="invoices_enabled" value="[% account.invoices_enabled %]" checked="checked" />
181
[% ELSE %]
178
[% ELSE %]
182
     <input type="checkbox" name="invoices_enabled" id="invoices_enabled" value="[% account.invoices_enabled %]" />
179
     <input type="checkbox" name="invoices_enabled" id="invoices_enabled" value="[% account.invoices_enabled %]" />
183
[% END %]
180
[% END %]
Lines 185-202 Link Here
185
  <li>
182
  <li>
186
     <label for="responses_enabled">Responses enabled: </label>
183
     <label for="responses_enabled">Responses enabled: </label>
187
[% IF account.responses_enabled %]
184
[% IF account.responses_enabled %]
188
     <input type="checkbox" name="responses_enabled" id="responses_enabled" value="[% account.responses_enabled %]" checked />
185
     <input type="checkbox" name="responses_enabled" id="responses_enabled" value="[% account.responses_enabled %]" checked="checked" />
189
[% ELSE %]
186
[% ELSE %]
190
     <input type="checkbox" name="responses_enabled" id="responses_enabled" value="[% account.responses_enabled %]" />
187
     <input type="checkbox" name="responses_enabled" id="responses_enabled" value="[% account.responses_enabled %]" />
191
[% END %]
188
[% END %]
192
  </li>
189
  </li>
193
  <li>
190
  <li>
194
     <label for="auto_orders">Automatic ordering (Quotes generate orders without staff intervention): </label>
191
     <label for="auto_orders">Automatic ordering: </label>
195
[% IF account.auto_orders %]
192
[% IF account.auto_orders %]
196
     <input type="checkbox" name="auto_orders" id="auto_orders" value="[% account.auto_orders %]" checked />
193
     <input type="checkbox" name="auto_orders" id="auto_orders" value="[% account.auto_orders %]" checked="checked" />
197
[% ELSE %]
194
[% ELSE %]
198
     <input type="checkbox" name="auto_orders" id="auto_orders" value="[% account.auto_orders %]" />
195
     <input type="checkbox" name="auto_orders" id="auto_orders" value="[% account.auto_orders %]" />
199
[% END %]
196
[% END %]
197
    <div class="hint">
198
        With automatic ordering quotes generate orders without staff intervention.
199
    </div>
200
  </li>
200
  </li>
201
  </ol>
201
  </ol>
202
  </fieldset>
202
  </fieldset>
Lines 214-220 Link Here
214
<table>
214
<table>
215
    <tr>
215
    <tr>
216
    <th>Vendor</th>
216
    <th>Vendor</th>
217
    <td>[% account.vendor %]</td>
217
    <td>[% account.vendor.name %]</td>
218
    </tr>
218
    </tr>
219
    <tr>
219
    <tr>
220
    <th>Description</th>
220
    <th>Description</th>
Lines 230-242 Link Here
230
    </table>
230
    </table>
231
    <input type="hidden" name="op" value="delete_confirmed" />
231
    <input type="hidden" name="op" value="delete_confirmed" />
232
    <input type="hidden" name="id" value="[% account.id %]" />
232
    <input type="hidden" name="id" value="[% account.id %]" />
233
    <input type="submit" class="approve" value="Yes, Delete" />
233
    <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
234
</form>
234
</form>
235
<form action="/cgi-bin/koha/admin/edi_accounts.pl" method="get">
235
<form action="/cgi-bin/koha/admin/edi_accounts.pl" method="get">
236
    <input type="submit" class="deny" value="No, do not Delete" />
236
    <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
237
</form>
237
</form>
238
</div>
238
[% END %]
239
[% END %]
239
[% IF display %]
240
[% IF display %]
241
[% IF ( ediaccounts ) %]
240
<h2>Vendor EDI accounts</h2>
242
<h2>Vendor EDI accounts</h2>
241
243
242
    <table>
244
    <table>
Lines 248-255 Link Here
248
       <th>Remote host</th>
250
       <th>Remote host</th>
249
       <th>Username</th>
251
       <th>Username</th>
250
       <th>Password</th>
252
       <th>Password</th>
251
       <th>Download Directory</th>
253
       <th>Download directory</th>
252
       <th>Upload Directory</th>
254
       <th>Upload directory</th>
253
       <th>Qualifier</th>
255
       <th>Qualifier</th>
254
       <th>SAN</th>
256
       <th>SAN</th>
255
       <th>Quotes</th>
257
       <th>Quotes</th>
Lines 260-270 Link Here
260
       <th>Actions</th>
262
       <th>Actions</th>
261
    </tr>
263
    </tr>
262
    [% FOREACH account IN ediaccounts %]
264
    [% FOREACH account IN ediaccounts %]
263
    [% IF loop.even %]<tr>
265
    <tr>
264
    [% ELSE %]<tr class="highlight">
265
    [% END %]
266
      <td>[% account.id %]</td>
266
      <td>[% account.id %]</td>
267
      <td><a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% account.vendor_id %]">[% account.vendor.name %]</a></td>
267
      <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% account.vendor_id %]">[% account.vendor.name %]</a></td>
268
      <td>[% account.description %]</td>
268
      <td>[% account.description %]</td>
269
      <td>[% account.transport %]</td>
269
      <td>[% account.transport %]</td>
270
      <td>[% account.host %]</td>
270
      <td>[% account.host %]</td>
Lines 306-317 Link Here
306
      [% ELSE %]
306
      [% ELSE %]
307
         <td>N</td>
307
         <td>N</td>
308
      [% END %]
308
      [% END %]
309
      <td align="center">
309
      <td class="actions">
310
          <a href="/cgi-bin/koha/admin/edi_accounts.pl?op=acct_form&id=[% account.id %]">Edit</a> | <a href="/cgi-bin/koha/admin/edi_accounts.pl?op=delete_confirm&id=[% account.id %]">Delete</a>
310
          <a class="btn btn-mini" href="/cgi-bin/koha/admin/edi_accounts.pl?op=acct_form&id=[% account.id %]"><i class="fa fa-pencil"></i> Edit</a> <a class="btn btn-mini" href="/cgi-bin/koha/admin/edi_accounts.pl?op=delete_confirm&id=[% account.id %]"><i class="fa fa-trash"></i> Delete</a>
311
      </td>
311
      </td>
312
    </tr>
312
    </tr>
313
    [% END %]
313
    [% END %]
314
    </table>
314
    </table>
315
    [% ELSE %]
316
        <div class="dialog message">
317
            There are no EDI accounts.
318
        </div>
319
    [% END %]
315
[% END %]
320
[% END %]
316
321
317
</div>
322
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt (-19 / +22 lines)
Lines 1-14 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; EDI EANs
2
<title>Koha &rsaquo; Administration &rsaquo; Library EANs
3
[% IF ean_form %]
3
[% IF ean_form %]
4
  [% IF ean %]
4
  [% IF ean %]
5
     &rsquo; Modify library EAN
5
     &rsaquo; Modify library EAN
6
  [% ELSE %]
6
  [% ELSE %]
7
     &rsquo; Add new library EAN
7
     &rsaquo; Add new library EAN
8
  [% END %]
8
  [% END %]
9
[% END %]
9
[% END %]
10
[% IF delete_confirm %]
10
[% IF delete_confirm %]
11
     &rsquo; Confirm deletion of EAN
11
     &rsaquo; Confirm deletion of EAN
12
[% END %]
12
[% END %]
13
</title>
13
</title>
14
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
Lines 20-34 Link Here
20
<div id="breadcrumbs">
20
<div id="breadcrumbs">
21
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
21
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
22
 &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
22
 &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
23
 &rsaquo; <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">EDI EANs</a>
24
[% IF ean_form %]
23
[% IF ean_form %]
25
  [% IF ean %]
24
  [% IF ean %]
26
     &rsaquo; Modify library EAN
25
     &rsaquo; <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a> &rsaquo; Modify library EAN
27
  [% ELSE %]
26
  [% ELSE %]
28
     &rsaquo; Add new library EAN
27
     &rsaquo; <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a> &rsaquo; Add new library EAN
29
  [% END %]
28
  [% END %]
30
[% ELSIF delete_confirm %]
29
[% ELSIF delete_confirm %]
31
     &rsaquo; Confirm deletion of Ean
30
     &rsaquo; <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a> &rsaquo; Confirm deletion of EAN
32
[% ELSE %]
31
[% ELSE %]
33
     &rsaquo; Library EANs
32
     &rsaquo; Library EANs
34
[% END %]
33
[% END %]
Lines 42-48 Link Here
42
[% IF display %]
41
[% IF display %]
43
    <div id="toolbar" class="btn-toolbar">
42
    <div id="toolbar" class="btn-toolbar">
44
    <a class="btn btn-small" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form">
43
    <a class="btn btn-small" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form">
45
         <i class="icon-plus"></i>
44
         <i class="fa fa-plus"></i>
46
         New EAN
45
         New EAN
47
    </a>
46
    </a>
48
    </div>
47
    </div>
Lines 80-90 Link Here
80
          </li>
79
          </li>
81
          <li>
80
          <li>
82
             <label for="description">Description: </label>
81
             <label for="description">Description: </label>
83
             <input type="text" name="description" id="description" size="30" maxlength="64" value="[% ean.description %]" />
82
             <input type="text" name="description" id="description" size="30" maxlength="128" value="[% ean.description %]" />
84
          </li>
83
          </li>
85
          <li>
84
          <li>
86
             <label for="ean">EAN: </label>
85
             <label for="ean">EAN: </label>
87
             <input type="text" name="ean" id="ean" size="20" maxlength="90" value="[% ean.ean %]" />
86
             <input type="text" name="ean" id="ean" size="20" maxlength="15" value="[% ean.ean %]" />
88
          </li>
87
          </li>
89
          <li>
88
          <li>
90
             <label for="id_code_qualifier">Qualifier: </label>
89
             <label for="id_code_qualifier">Qualifier: </label>
Lines 119-133 Link Here
119
    <input type="hidden" name="op" value="delete_confirmed" />
118
    <input type="hidden" name="op" value="delete_confirmed" />
120
    <input type="hidden" name="branchcode" value="[% ean.branch.branchcode %]" />
119
    <input type="hidden" name="branchcode" value="[% ean.branch.branchcode %]" />
121
    <input type="hidden" name="ean" value="[% ean.ean %]" />
120
    <input type="hidden" name="ean" value="[% ean.ean %]" />
122
    <input type="submit" class="approve" value="Yes, Delete" />
121
    <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
123
</form>
122
</form>
124
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="get">
123
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="get">
125
    <input type="submit" class="deny" value="No, do not Delete" />
124
    <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
126
</form>
125
</form>
127
</div>
126
</div>
128
[% END %]
127
[% END %]
129
128
130
[% IF display %]
129
[% IF display %]
130
[% IF ( eans ) %]
131
    <h2>Library EANs</h2>
131
    <h2>Library EANs</h2>
132
    <table>
132
    <table>
133
        <tr>
133
        <tr>
Lines 138-144 Link Here
138
            <th>Actions</th>
138
            <th>Actions</th>
139
        </tr>
139
        </tr>
140
        [% FOREACH ean IN eans %]
140
        [% FOREACH ean IN eans %]
141
            [% IF loop.even %]<tr>[% ELSE %]<tr class="highlight">[% END %]
141
            <tr>
142
                <td>[% ean.branch.branchname %]</td>
142
                <td>[% ean.branch.branchname %]</td>
143
                <td>[% ean.description %]</td>
143
                <td>[% ean.description %]</td>
144
                <td>[% ean.ean %]</td>
144
                <td>[% ean.ean %]</td>
Lines 149-162 Link Here
149
                    [% END %]
149
                    [% END %]
150
                 [% END %]
150
                 [% END %]
151
                </td>
151
                </td>
152
                <td align="center">
152
                <td class="actions">
153
                    <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form&branchcode=[% ean.branch.branchcode %]&ean=[% ean.ean %]">Edit</a>
153
                    <a class="btn btn-mini" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form&branchcode=[% ean.branch.branchcode %]&ean=[% ean.ean %]"><i class="fa fa-pencil"></i> Edit</a>
154
                    |
154
                    <a class="btn btn-mini" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=delete_confirm&branchcode=[% ean.branch.branchcode %]&ean=[% ean.ean %]"><i class="fa fa-trash"></i> Delete</a>
155
                    <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=delete_confirm&branchcode=[% ean.branch.branchcode %]&ean=[% ean.ean %]">Delete</a>
156
                </td>
155
                </td>
157
            </tr>
156
            </tr>
158
        [% END %]
157
        [% END %]
159
    </table>
158
    </table>
159
[% ELSE %]
160
    <div class="dialog message">
161
        There are no library EANs.
162
    </div>
163
[% END %]
160
[% END %]
164
[% END %]
161
165
162
</div>
166
</div>
163
- 

Return to bug 16206