2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Administration › Library EANs
6 › Modify library EAN
8 › Add new library EAN
11 [% IF delete_confirm %]
12 › Confirm deletion of EAN
15 [% INCLUDE 'doc-head-close.inc' %]
17 <body id="admin_edi_ean" class="admin">
18 [% INCLUDE 'header.inc' %]
19 [% INCLUDE 'prefs-admin-search.inc' %]
21 <div id="breadcrumbs">
22 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
23 › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
26 › <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a> › Modify library EAN
28 › <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a> › Add new library EAN
30 [% ELSIF delete_confirm %]
31 › <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a> › Confirm deletion of EAN
37 <div id="doc3" class="yui-t2">
43 <div id="toolbar" class="btn-toolbar">
44 <a class="btn btn-default btn-sm" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form">
45 <i class="fa fa-plus"></i>
52 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" name="Eanform" method="post">
53 <input type="hidden" name="op" value="save" />
55 <input type="hidden" name="oldbranchcode" value="[% ean.branch.branchcode %]" />
56 <input type="hidden" name="id" value="[% ean.id %]" />
59 <fieldset class="rows">
70 <label for="branchcode">Library: </label>
71 <select name="branchcode" id="branchcode">
72 [% FOREACH branch IN branches %]
73 [% IF branch.branchcode == ean.branch.branchcode %]
74 <option value="[% branch.branchcode %]" selected="selected">[% branch.branchname %]</option>
76 <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
82 <label for="description">Description: </label>
83 <input type="text" name="description" id="description" size="30" maxlength="128" value="[% ean.description %]" />
86 <label for="ean">EAN: </label>
87 <input type="text" name="ean" id="ean" size="20" maxlength="15" value="[% ean.ean %]" />
90 <label for="id_code_qualifier">Qualifier: </label>
91 <select name="id_code_qualifier" id="id_code_qualifier">
92 [% FOREACH qualifier IN code_qualifiers %]
93 [% IF qualifier.code == ean.id_code_qualifier %]
94 <option value="[% qualifier.code %]" selected="selected">
95 [% qualifier.description %] ([% qualifier.code %])
98 <option value="[% qualifier.code %]">
99 [% qualifier.description %] ([% qualifier.code %])
108 <fieldset class="action">
109 <input type="submit" value="Submit"/>
110 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl" class="cancel">Cancel</a>
115 [% IF delete_confirm %]
116 <div class="dialog alert">
117 <h3>Delete EAN [% ean.ean %] for [% ean.branch.branchname %]?</h3>
118 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
119 <input type="hidden" name="op" value="delete_confirmed" />
120 <input type="hidden" name="id" value="[% ean.id %]" />
121 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
123 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="get">
124 <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
131 <h2>Library EANs</h2>
140 [% FOREACH ean IN eans %]
142 <td>[% ean.branch.branchname %]</td>
143 <td>[% ean.description %]</td>
144 <td>[% ean.ean %]</td>
146 [% FOREACH qualifier IN code_qualifiers %]
147 [% IF qualifier.code == ean.id_code_qualifier %]
148 [% qualifier.description %] ([% qualifier.code %])
153 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form&id=[% ean.id %]"><i class="fa fa-pencil"></i> Edit</a>
154 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=delete_confirm&id=[% ean.id %]"><i class="fa fa-trash"></i> Delete</a>
160 <div class="dialog message">
161 There are no library EANs.
169 [% INCLUDE 'admin-menu.inc' %]
173 [% MACRO jsinclude BLOCK %]
174 <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
176 [% INCLUDE 'intranet-bottom.inc' %]