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 <div id="breadcrumbs">
24 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
25 › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
28 › <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a> › Modify library EAN
30 › <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a> › Add new library EAN
32 [% ELSIF delete_confirm %]
33 › <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a> › Confirm deletion of EAN
39 <div class="main container-fluid">
41 <div class="col-sm-10 col-sm-push-2">
45 <div id="toolbar" class="btn-toolbar">
46 <a class="btn btn-default" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form">
47 <i class="fa fa-plus"></i>
54 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" name="Eanform" method="post">
55 <input type="hidden" name="op" value="save" />
57 <input type="hidden" name="oldbranchcode" value="[% ean.branch.branchcode | html %]" />
58 <input type="hidden" name="id" value="[% ean.id | html %]" />
61 <fieldset class="rows">
72 <label for="branchcode">Library: </label>
73 <select name="branchcode" id="branchcode">
74 <option value="">All libraries</option>
75 [% FOREACH branch IN branches %]
76 [% IF branch.branchcode == ean.branch.branchcode %]
77 <option value="[% branch.branchcode | html %]" selected="selected">[% branch.branchname | html %]</option>
79 <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option>
85 <label for="description">Description: </label>
86 <input type="text" name="description" id="description" size="30" maxlength="128" value="[% ean.description | html %]" />
89 <label for="ean">EAN: </label>
90 <input type="text" name="ean" id="ean" size="20" maxlength="15" value="[% ean.ean | html %]" />
93 <label for="id_code_qualifier">Qualifier: </label>
94 <select name="id_code_qualifier" id="id_code_qualifier">
95 [% FOREACH qualifier IN code_qualifiers %]
96 [% IF qualifier.code == ean.id_code_qualifier %]
97 <option value="[% qualifier.code | html %]" selected="selected">
98 [% qualifier.description | html %] ([% qualifier.code | html %])
101 <option value="[% qualifier.code | html %]">
102 [% qualifier.description | html %] ([% qualifier.code | html %])
111 <fieldset class="action">
112 <input type="submit" value="Submit"/>
113 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl" class="cancel">Cancel</a>
118 [% IF delete_confirm %]
119 <div class="dialog alert">
120 <h3>Delete EAN [% ean.ean | html %] for [% ean.branch.branchname | html %]?</h3>
121 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
122 <input type="hidden" name="op" value="delete_confirmed" />
123 <input type="hidden" name="id" value="[% ean.id | html %]" />
124 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
126 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="get">
127 <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
134 <h2>Library EANs</h2>
141 <th class="noExport">Actions</th>
143 [% FOREACH ean IN eans %]
146 <td>[% ean.branch.branchname | html %]</td>
148 <td>All libraries</td>
150 <td>[% ean.description | html %]</td>
151 <td>[% ean.ean | html %]</td>
153 [% FOREACH qualifier IN code_qualifiers %]
154 [% IF qualifier.code == ean.id_code_qualifier %]
155 [% qualifier.description | html %] ([% qualifier.code | html %])
160 <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>
161 <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>
167 <div class="dialog message">
168 There are no library EANs.
174 </div> <!-- /.col-sm-10.col-sm-push-2 -->
176 <div class="col-sm-2 col-sm-pull-10">
178 [% INCLUDE 'admin-menu.inc' %]
180 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
181 </div> <!-- /.row -->
183 [% MACRO jsinclude BLOCK %]
184 [% Asset.js("js/admin-menu.js") | $raw %]
186 [% INCLUDE 'intranet-bottom.inc' %]