4 [% INCLUDE 'doc-head-open.inc' %]
11 [% END %] › [% END %]
12 [% IF delete_confirm %]
13 Confirm deletion of EAN › [% END %]
14 Library EANs › Administration › Koha
16 [% INCLUDE 'doc-head-close.inc' %]
18 <body id="admin_edi_ean" class="admin">
19 [% INCLUDE 'header.inc' %]
20 [% INCLUDE 'prefs-admin-search.inc' %]
22 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
28 <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
33 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a>
36 <a href="#" aria-current="page">
45 [% ELSIF delete_confirm %]
47 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a>
50 <a href="#" aria-current="page">
51 Confirm deletion of EAN
57 <a href="#" aria-current="page">
65 <div class="main container-fluid">
67 <div class="col-sm-10 col-sm-push-2">
71 <div id="toolbar" class="btn-toolbar">
72 <a class="btn btn-default" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form">
73 <i class="fa fa-plus"></i>
80 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" name="Eanform" method="post">
81 <input type="hidden" name="op" value="save" />
83 <input type="hidden" name="oldbranchcode" value="[% ean.branch.branchcode | html %]" />
84 <input type="hidden" name="id" value="[% ean.id | html %]" />
87 <fieldset class="rows">
98 <label for="branchcode">Library: </label>
99 <select name="branchcode" id="branchcode">
100 <option value="">All libraries</option>
101 [% FOREACH branch IN branches %]
102 [% IF branch.branchcode == ean.branch.branchcode %]
103 <option value="[% branch.branchcode | html %]" selected="selected">[% branch.branchname | html %]</option>
105 <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option>
111 <label for="description">Description: </label>
112 <input type="text" name="description" id="description" size="30" maxlength="128" value="[% ean.description | html %]" />
115 <label for="ean">EAN: </label>
116 <input type="text" name="ean" id="ean" size="20" maxlength="15" value="[% ean.ean | html %]" />
119 <label for="id_code_qualifier">Qualifier: </label>
120 <select name="id_code_qualifier" id="id_code_qualifier">
121 [% FOREACH qualifier IN code_qualifiers %]
122 [% IF qualifier.code == ean.id_code_qualifier %]
123 <option value="[% qualifier.code | html %]" selected="selected">
124 [% qualifier.description | html %] ([% qualifier.code | html %])
127 <option value="[% qualifier.code | html %]">
128 [% qualifier.description | html %] ([% qualifier.code | html %])
137 <fieldset class="action">
138 <input type="submit" value="Submit"/>
139 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl" class="cancel">Cancel</a>
144 [% IF delete_confirm %]
145 <div class="dialog alert">
146 <h3>Delete EAN [% ean.ean | html %] for [% ean.branch.branchname | html %]?</h3>
147 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
148 <input type="hidden" name="op" value="delete_confirmed" />
149 <input type="hidden" name="id" value="[% ean.id | html %]" />
150 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
152 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="get">
153 <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
160 <h2>Library EANs</h2>
167 <th class="noExport">Actions</th>
169 [% FOREACH ean IN eans %]
172 <td>[% ean.branch.branchname | html %]</td>
174 <td>All libraries</td>
176 <td>[% ean.description | html %]</td>
177 <td>[% ean.ean | html %]</td>
179 [% FOREACH qualifier IN code_qualifiers %]
180 [% IF qualifier.code == ean.id_code_qualifier %]
181 [% qualifier.description | html %] ([% qualifier.code | html %])
186 <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>
187 <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>
193 <div class="dialog message">
194 There are no library EANs.
200 </div> <!-- /.col-sm-10.col-sm-push-2 -->
202 <div class="col-sm-2 col-sm-pull-10">
204 [% INCLUDE 'admin-menu.inc' %]
206 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
207 </div> <!-- /.row -->
209 [% MACRO jsinclude BLOCK %]
210 [% Asset.js("js/admin-menu.js") | $raw %]
212 [% INCLUDE 'intranet-bottom.inc' %]