Verbesserung Upgrade-Script Erzeugnisnummern
[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 <input type="hidden" name="continued" value="1">
7
8 <p>[% 'There are double partnumbers in your database.' | $T8 %]</p>
9 <p>[% 'From this version on the partnumber of services, articles and assemblies have to be unique.' | $T8 %]</p>
10 <p>[% 'So far you could use one partnumber for severel parts, for example a service and an article.' | $T8 %]</p>
11 <p>[% 'Because the useability gets worth if one partnumber is used for several parts (for example if you are searching a position for an invoice), partnumbers should be unique.' | $T8 %]</p>
12
13 <p>[% 'Please change the partnumber of the following parts and run the update again:' | $T8 %]</p>
14 <table>
15   <tr>
16     <th class="listheading">[% 'Partnumber' | $T8 %]</th>
17     <th class="listheading">[% 'Description' | $T8 %]</th>
18     <th class="listheading">[% 'Unit' | $T8 %]</th>
19     <th class="listheading">[% 'Notes' | $T8 %]</th>
20     <th class="listheading">[% 'EAN' | $T8 %]</th>
21     <th class="listheading">[% 'Service, assembly or part' | $T8 %]</th>
22   </tr>
23
24   [% SET row_odd = '1' %][% FOREACH row = PARTS %]
25   <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
26     <td align="right"><input name='partnumber_[% loop.count %]' value='[% HTML.escape(row.partnumber) %]'></td>
27     <input type="hidden" name='partid_[% loop.count %]' value='[% HTML.escape(row.id) %]'>
28     <td align="left"> [% HTML.escape(row.description) %]</a></td>
29     <td align="right">[% HTML.escape(row.unit) %]</td>
30     <td align="right">[% HTML.escape(row.notes) %]</td>
31     <td align="right">[% HTML.escape(row.ean) %]</td>
32     <td align="right">[% IF row.assembly %] [% 'assembly' | $T8 %] [% ELSE %] [% IF row.inventory_accno_id %] [% 'part' | $T8 %] [% ELSE %] [% 'service' | $T8 %] [% END %] [% END %]</td>
33   </tr>
34   [% SET rowcount = loop.count %]
35   [% END %]
36   <input type="hidden" name="rowcount" value="[% rowcount %]">
37 </table>
38
39 <input type="submit" value="[% 'Continue' | $T8 %]">
40
41 </form>