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 91-97 Link Here
91
  </li>
90
  </li>
92
  <li>
91
  <li>
93
     <label for="description">Description: </label>
92
     <label for="description">Description: </label>
94
     <input type="text" name="description" id="description" size="20" maxlength="90" value="[% account.description %]" />
93
     <input type="text" name="description" id="description" size="20" value="[% account.description %]" />
95
  </li>
94
  </li>
96
  <li>
95
  <li>
97
     [% transport_types = [
96
     [% transport_types = [
Lines 112-138 Link Here
112
  </li>
111
  </li>
113
  <li>
112
  <li>
114
     <label for="host">Remote host: </label>
113
     <label for="host">Remote host: </label>
115
     <input type="text" name="host" id="host" size="20" maxlength="90" value="[% account.host %]" />
114
     <input type="text" name="host" id="host" size="20" maxlength="40" value="[% account.host %]" />
116
  </li>
115
  </li>
117
  <li>
116
  <li>
118
     <label for="username">Username: </label>
117
     <label for="username">Username: </label>
119
     <input type="text" name="username" id="username" size="20" maxlength="90" value="[% account.username %]" />
118
     <input type="text" name="username" id="username" size="20" maxlength="40" value="[% account.username %]" />
120
  </li>
119
  </li>
121
  <li>
120
  <li>
122
     <label for="password">Password: </label>
121
     <label for="password">Password: </label>
123
     <input type="text" name="password" id="password" size="20" maxlength="90" value="[% account.password %]" />
122
     <input type="text" name="password" id="password" size="20" maxlength="40" value="[% account.password %]" />
124
  </li>
123
  </li>
125
  <li>
124
  <li>
126
     <label for="download_directory">Download directory: </label>
125
     <label for="download_directory">Download directory: </label>
127
     <input type="text" name="download_directory" id="download_directory" size="20" maxlength="90"
126
     <input type="text" name="download_directory" id="download_directory" size="20" value="[% account.download_directory %]" />
128
      title="The download directory specifies the directory on the ftpsite from which we download quotes and invoices"
127
        <div class="hint">The download directory specifies the directory on the ftp site from which quotes and invoices are downloaded.</div>
129
      value="[% account.download_directory %]" />
130
  </li>
128
  </li>
131
  <li>
129
  <li>
132
     <label for="upload_directory">Upload directory: </label>
130
     <label for="upload_directory">Upload directory: </label>
133
     <input type="text" name="upload_directory" id="upload_directory" size="20" maxlength="90"
131
     <input type="text" name="upload_directory" id="upload_directory" size="20" value="[% account.upload_directory %]" />
134
      title="The upload directory specifies the directory on the ftp site to which we upload orders"
132
        <div class="hint">The upload directory specifies the directory on the ftp site to which orders are uploaded.</div>
135
      value="[% account.upload_directory %]" />
136
  </li>
133
  </li>
137
  <li>
134
  <li>
138
     <label for="id_code_qualifier">Qualifier:</label>
135
     <label for="id_code_qualifier">Qualifier:</label>
Lines 152-163 Link Here
152
  </li>
149
  </li>
153
  <li>
150
  <li>
154
     <label for="san">SAN: </label>
151
     <label for="san">SAN: </label>
155
     <input type="text" name="san" id="san" size="20" maxlength="90" value="[% account.san %]" />
152
     <input type="text" name="san" id="san" size="20" maxlength="20" value="[% account.san %]" />
156
  </li>
153
  </li>
157
  <li>
154
  <li>
158
     <label for="quotes_enabled">Quotes enabled: </label>
155
     <label for="quotes_enabled">Quotes enabled: </label>
159
      [% IF account.quotes_enabled %]
156
      [% IF account.quotes_enabled %]
160
     <input type="checkbox" name="quotes_enabled" id="quotes_enabled" value="[% account.quotes_enabled %]" checked />
157
     <input type="checkbox" name="quotes_enabled" id="quotes_enabled" value="[% account.quotes_enabled %]" checked="checked" />
161
      [% ELSE %]
158
      [% ELSE %]
162
     <input type="checkbox" name="quotes_enabled" id="quotes_enabled" value="[% account.quotes_enabled %]" />
159
     <input type="checkbox" name="quotes_enabled" id="quotes_enabled" value="[% account.quotes_enabled %]" />
163
      [% END %]
160
      [% END %]
Lines 165-171 Link Here
165
  <li>
162
  <li>
166
     <label for="orders_enabled">Orders enabled: </label>
163
     <label for="orders_enabled">Orders enabled: </label>
167
[% IF account.orders_enabled %]
164
[% IF account.orders_enabled %]
168
     <input type="checkbox" name="orders_enabled" id="orders_enabled" value="[% account.orders_enabled %]" checked />
165
     <input type="checkbox" name="orders_enabled" id="orders_enabled" value="[% account.orders_enabled %]" checked="checked" />
169
[% ELSE %]
166
[% ELSE %]
170
     <input type="checkbox" name="orders_enabled" id="orders_enabled" value="[% account.orders_enabled %]" />
167
     <input type="checkbox" name="orders_enabled" id="orders_enabled" value="[% account.orders_enabled %]" />
171
[% END %]
168
[% END %]
Lines 173-179 Link Here
173
  <li>
170
  <li>
174
     <label for="invoices_enabled">Invoices enabled: </label>
171
     <label for="invoices_enabled">Invoices enabled: </label>
175
[% IF account.invoices_enabled %]
172
[% IF account.invoices_enabled %]
176
     <input type="checkbox" name="invoices_enabled" id="invoices_enabled" value="[% account.invoices_enabled %]" checked />
173
     <input type="checkbox" name="invoices_enabled" id="invoices_enabled" value="[% account.invoices_enabled %]" checked="checked" />
177
[% ELSE %]
174
[% ELSE %]
178
     <input type="checkbox" name="invoices_enabled" id="invoices_enabled" value="[% account.invoices_enabled %]" />
175
     <input type="checkbox" name="invoices_enabled" id="invoices_enabled" value="[% account.invoices_enabled %]" />
179
[% END %]
176
[% END %]
Lines 181-198 Link Here
181
  <li>
178
  <li>
182
     <label for="responses_enabled">Responses enabled: </label>
179
     <label for="responses_enabled">Responses enabled: </label>
183
[% IF account.responses_enabled %]
180
[% IF account.responses_enabled %]
184
     <input type="checkbox" name="responses_enabled" id="responses_enabled" value="[% account.responses_enabled %]" checked />
181
     <input type="checkbox" name="responses_enabled" id="responses_enabled" value="[% account.responses_enabled %]" checked="checked" />
185
[% ELSE %]
182
[% ELSE %]
186
     <input type="checkbox" name="responses_enabled" id="responses_enabled" value="[% account.responses_enabled %]" />
183
     <input type="checkbox" name="responses_enabled" id="responses_enabled" value="[% account.responses_enabled %]" />
187
[% END %]
184
[% END %]
188
  </li>
185
  </li>
189
  <li>
186
  <li>
190
     <label for="auto_orders">Automatic ordering (Quotes generate orders without staff intervention): </label>
187
     <label for="auto_orders">Automatic ordering: </label>
191
[% IF account.auto_orders %]
188
[% IF account.auto_orders %]
192
     <input type="checkbox" name="auto_orders" id="auto_orders" value="[% account.auto_orders %]" checked />
189
     <input type="checkbox" name="auto_orders" id="auto_orders" value="[% account.auto_orders %]" checked="checked" />
193
[% ELSE %]
190
[% ELSE %]
194
     <input type="checkbox" name="auto_orders" id="auto_orders" value="[% account.auto_orders %]" />
191
     <input type="checkbox" name="auto_orders" id="auto_orders" value="[% account.auto_orders %]" />
195
[% END %]
192
[% END %]
193
    <div class="hint">
194
        With automatic ordering quotes generate orders without staff intervention.
195
    </div>
196
  </li>
196
  </li>
197
  </ol>
197
  </ol>
198
  </fieldset>
198
  </fieldset>
Lines 210-216 Link Here
210
<table>
210
<table>
211
    <tr>
211
    <tr>
212
    <th>Vendor</th>
212
    <th>Vendor</th>
213
    <td>[% account.vendor %]</td>
213
    <td>[% account.vendor.name %]</td>
214
    </tr>
214
    </tr>
215
    <tr>
215
    <tr>
216
    <th>Description</th>
216
    <th>Description</th>
Lines 226-238 Link Here
226
    </table>
226
    </table>
227
    <input type="hidden" name="op" value="delete_confirmed" />
227
    <input type="hidden" name="op" value="delete_confirmed" />
228
    <input type="hidden" name="id" value="[% account.id %]" />
228
    <input type="hidden" name="id" value="[% account.id %]" />
229
    <input type="submit" class="approve" value="Yes, Delete" />
229
    <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
230
</form>
230
</form>
231
<form action="/cgi-bin/koha/admin/edi_accounts.pl" method="get">
231
<form action="/cgi-bin/koha/admin/edi_accounts.pl" method="get">
232
    <input type="submit" class="deny" value="No, do not Delete" />
232
    <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
233
</form>
233
</form>
234
</div>
234
[% END %]
235
[% END %]
235
[% IF display %]
236
[% IF display %]
237
[% IF ( ediaccounts ) %]
236
<h2>Vendor EDI accounts</h2>
238
<h2>Vendor EDI accounts</h2>
237
239
238
    <table>
240
    <table>
Lines 244-251 Link Here
244
       <th>Remote host</th>
246
       <th>Remote host</th>
245
       <th>Username</th>
247
       <th>Username</th>
246
       <th>Password</th>
248
       <th>Password</th>
247
       <th>Download Directory</th>
249
       <th>Download directory</th>
248
       <th>Upload Directory</th>
250
       <th>Upload directory</th>
249
       <th>Qualifier</th>
251
       <th>Qualifier</th>
250
       <th>SAN</th>
252
       <th>SAN</th>
251
       <th>Quotes</th>
253
       <th>Quotes</th>
Lines 256-266 Link Here
256
       <th>Actions</th>
258
       <th>Actions</th>
257
    </tr>
259
    </tr>
258
    [% FOREACH account IN ediaccounts %]
260
    [% FOREACH account IN ediaccounts %]
259
    [% IF loop.even %]<tr>
261
    <tr>
260
    [% ELSE %]<tr class="highlight">
261
    [% END %]
262
      <td>[% account.id %]</td>
262
      <td>[% account.id %]</td>
263
      <td><a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% account.vendor_id %]">[% account.vendor.name %]</a></td>
263
      <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% account.vendor_id %]">[% account.vendor.name %]</a></td>
264
      <td>[% account.description %]</td>
264
      <td>[% account.description %]</td>
265
      <td>[% account.transport %]</td>
265
      <td>[% account.transport %]</td>
266
      <td>[% account.host %]</td>
266
      <td>[% account.host %]</td>
Lines 302-313 Link Here
302
      [% ELSE %]
302
      [% ELSE %]
303
         <td>N</td>
303
         <td>N</td>
304
      [% END %]
304
      [% END %]
305
      <td align="center">
305
      <td class="actions">
306
          <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>
306
          <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>
307
      </td>
307
      </td>
308
    </tr>
308
    </tr>
309
    [% END %]
309
    [% END %]
310
    </table>
310
    </table>
311
    [% ELSE %]
312
        <div class="dialog message">
313
            There are no EDI accounts.
314
        </div>
315
    [% END %]
311
[% END %]
316
[% END %]
312
317
313
</div>
318
</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