Enthält Upgrade-Script für eindeutige Artikelnummern
[kivitendo-erp.git] / templates / webpages / dbupgrade / erzeugnisnummern.html
1 [%- USE T8 %]
2 [% USE HTML %]<div class="listtop">[% 'Double partnumbers' | $T8 %]</div>
3
4 <form name="Form" method="post" action="login.pl">
5 <input type="hidden" name="action" value="login">
6
7 <p>[% 'There are double partnumbers in your database.' | $T8 %]</p>
8 <p>[% 'From this version on the partnumer of articles and assemblies have to be unique.' | $T8 %]</p>
9
10 <p>[% 'Please change the partnumber of the following parts and run the update again:' | $T8 %]</p>
11 <table>
12   <tr>
13     <th class="listheading">[% 'Partnumber' | $T8 %]</th>
14     <th class="listheading">[% 'Description' | $T8 %]</th>
15     <th class="listheading">[% 'Unit' | $T8 %]</th>
16     <th class="listheading">[% 'Notes' | $T8 %]</th>
17     <th class="listheading">[% 'EAN' | $T8 %]</th>
18     <th class="listheading">[% 'Service, assembly or part' | $T8 %]</th>
19   </tr>
20
21   [% SET row_odd = '1' %][% FOREACH row = PARTS %]
22   <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
23     <td align="right">[% HTML.escape(row.partnumber) %]</td>
24     <td align="left"> [% HTML.escape(row.description) %]</a></td>
25     <td align="right">[% HTML.escape(row.unit) %]</td>
26     <td align="right">[% HTML.escape(row.notes) %]</td>
27     <td align="right">[% HTML.escape(row.ean) %]</td>
28     <td align="right">[% IF row.assembly %] [% 'assembly' | $T8 %] [% ELSE %] [% IF row.inventory_accno_id %] [% 'part' | $T8 %] [% ELSE %] [% 'service' %] [% END %] [% END %]</td>
29   </tr>
30   [% END %]
31 </table>
32
33 </form>