4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Administration › Library EANs
8 › Modify library EAN
10 › Add new library EAN
13 [% IF delete_confirm %]
14 › Confirm deletion of EAN
17 [% INCLUDE 'doc-head-close.inc' %]
19 <body id="admin_edi_ean" class="admin">
20 [% INCLUDE 'header.inc' %]
21 [% INCLUDE 'prefs-admin-search.inc' %]
23 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
29 <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
34 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a>
37 <a href="#" aria-current="page">
46 [% ELSIF delete_confirm %]
48 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a>
51 <a href="#" aria-current="page">
52 Confirm deletion of EAN
58 <a href="#" aria-current="page">
66 <div class="main container-fluid">
68 <div class="col-sm-10 col-sm-push-2">
72 <div id="toolbar" class="btn-toolbar">
73 <a class="btn btn-default" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form">
74 <i class="fa fa-plus"></i>
81 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" name="Eanform" method="post">
82 <input type="hidden" name="op" value="save" />
84 <input type="hidden" name="oldbranchcode" value="[% ean.branch.branchcode | html %]" />
85 <input type="hidden" name="id" value="[% ean.id | html %]" />
88 <fieldset class="rows">
99 <label for="branchcode">Library: </label>
100 <select name="branchcode" id="branchcode">
101 <option value="">All libraries</option>
102 [% FOREACH branch IN branches %]
103 [% IF branch.branchcode == ean.branch.branchcode %]
104 <option value="[% branch.branchcode | html %]" selected="selected">[% branch.branchname | html %]</option>
106 <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option>
112 <label for="description">Description: </label>
113 <input type="text" name="description" id="description" size="30" maxlength="128" value="[% ean.description | html %]" />
116 <label for="ean">EAN: </label>
117 <input type="text" name="ean" id="ean" size="20" maxlength="15" value="[% ean.ean | html %]" />
120 <label for="id_code_qualifier">Qualifier: </label>
121 <select name="id_code_qualifier" id="id_code_qualifier">
122 [% FOREACH qualifier IN code_qualifiers %]
123 [% IF qualifier.code == ean.id_code_qualifier %]
124 <option value="[% qualifier.code | html %]" selected="selected">
125 [% qualifier.description | html %] ([% qualifier.code | html %])
128 <option value="[% qualifier.code | html %]">
129 [% qualifier.description | html %] ([% qualifier.code | html %])
138 <fieldset class="action">
139 <input type="submit" value="Submit"/>
140 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl" class="cancel">Cancel</a>
145 [% IF delete_confirm %]
146 <div class="dialog alert">
147 <h3>Delete EAN [% ean.ean | html %] for [% ean.branch.branchname | html %]?</h3>
148 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
149 <input type="hidden" name="op" value="delete_confirmed" />
150 <input type="hidden" name="id" value="[% ean.id | html %]" />
151 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
153 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="get">
154 <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
161 <h2>Library EANs</h2>
168 <th class="noExport">Actions</th>
170 [% FOREACH ean IN eans %]
173 <td>[% ean.branch.branchname | html %]</td>
175 <td>All libraries</td>
177 <td>[% ean.description | html %]</td>
178 <td>[% ean.ean | html %]</td>
180 [% FOREACH qualifier IN code_qualifiers %]
181 [% IF qualifier.code == ean.id_code_qualifier %]
182 [% qualifier.description | html %] ([% qualifier.code | html %])
187 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form&id=[% ean.id | html %]"><i class="fa fa-pencil"></i> Edit</a>
188 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=delete_confirm&id=[% ean.id | html %]"><i class="fa fa-trash"></i> Delete</a>
194 <div class="dialog message">
195 There are no library EANs.
201 </div> <!-- /.col-sm-10.col-sm-push-2 -->
203 <div class="col-sm-2 col-sm-pull-10">
205 [% INCLUDE 'admin-menu.inc' %]
207 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
208 </div> <!-- /.row -->
210 [% MACRO jsinclude BLOCK %]
211 [% Asset.js("js/admin-menu.js") | $raw %]
213 [% INCLUDE 'intranet-bottom.inc' %]