1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Administration › EDI EANs</title>
5 ’ Modify branch EAN
7 ’ Add new branch EAN
10 [% IF delete_confirm %]
11 ’ Confirm deletion of EAN
14 [% INCLUDE 'doc-head-close.inc' %]
16 <body id="admin_edi_ean" class="admin">
17 [% INCLUDE 'header.inc' %]
18 [% INCLUDE 'cat-search.inc' %]
20 <div id="breadcrumbs">
21 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
22 › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
23 › <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">EDI EANs</a>
26 › Modify branch EAN
28 › Add new branch EAN
30 [% ELSIF delete_confirm %]
31 › Confirm deletion of Ean
37 <div id="doc3" class="yui-t2">
43 <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">
45 <i class="icon-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="[% branchcode %]" />
56 <input type="hidden" name="oldean" value="[% ean %]" />
58 <fieldset class="rows">
69 <label for="branchcode">Branchcode: </label>
70 <select name="branchcode" id="branchcode">
71 [% FOREACH branch IN branches %]
72 [% IF branch.branchcode == ean.branch.branchcode %]
73 <option value="[% branch.branchcode %]" selected="selected">[% branch.branchname %]</option>
75 <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
81 <label for="ean">EAN: </label>
82 <input type="text" name="ean" id="ean`" size="20" maxlength="90" value="[% ean.ean %]" />
85 <label for="id_code_qualifier">
86 <select name="id_code_qualifier" id="id_code_qualifier">
87 [% FOREACH qualifier IN code_qualifiers %]
88 [% IF qualifier.code == ean.id_code_qualifier %]
89 <option value="[% qualifier.code %]" selected="selected">
90 [% qualifier.description %]
93 <option value="[% qualifier.code %]">
94 [% qualifier.description %]
103 <fieldset class="action">
104 <input type="submit" value="Submit"/>
105 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl" class="cancel">Cancel</a>
110 [% IF delete_confirm %]
111 <div class="dialog alert">
112 <h3>Delete EAN [% ean.ean %] for branch [% ean.branch.branchname %]?</h3>
113 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
114 <input type="hidden" name="op" value="delete_confirmed" />
115 <input type="hidden" name="branchcode" value="[% ean.branch.branchcode %]" />
116 <input type="hidden" name="ean" value="[% ean.ean %]" />
117 <input type="submit" class="approve" value="Yes, Delete" />
119 <form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="get">
120 <input type="submit" class="deny" value="No, do not Delete" />
133 [% FOREACH ean IN eans %]
134 [% IF loop.even %]<tr>
135 [% ELSE %]<tr class="highlight">
137 <td>[% ean.branch.branchname %]</td>
138 <td>[% ean.ean %]</td>
139 <td>[% ean.id_code_qualifier %]</td>
141 <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form&branchcode=[% ean.branch.branchcode %]&ean=[% ean.ean %]">Edit</a> | <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=delete_confirm&branchcode=[% ean.branch.branchcode %]&ean=[% ean.ean %]">Delete</a></td>
150 [% INCLUDE 'admin-menu.inc' %]
153 [% INCLUDE 'intranet-bottom.inc' %]