2 [% USE HTML %][%- USE LxERP -%]<div class="listtop">[% 'Double partnumbers' | $T8 %]</div>
3 <script type="text/javascript">
5 function show_parts(vc) {
8 var parm = centerParms(width, height) + ",width=" + width + ",height=" + height + ",status=yes,scrollbars=yes";
9 url = "controller.pl?action=LoginScreen/login&upgrade_action=filter_parts&no_layout=1"
11 window.open(url, "_new_generic", parm);
16 <form name="Form" method="post" action="login.pl">
17 <input type="hidden" name="action" value="login">
18 <input type="hidden" name="continued" value="1">
20 <p>[% 'There are double partnumbers in your database.' | $T8 %]</p>
21 <p>[% 'From this version on the partnumber of services, articles and assemblies have to be unique.' | $T8 %]</p>
22 <p>[% 'So far you could use one partnumber for severel parts, for example a service and an article.' | $T8 %]</p>
23 <p>[% 'Because the useability gets worse 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>
25 <p>[% 'Please change the partnumber of the following parts and run the update again:' | $T8 %]</p>
28 <th class="listheading">[% 'Partnumber' | $T8 %]</th>
29 <th class="listheading">[% 'Description' | $T8 %]</th>
30 <th class="listheading">[% 'Unit' | $T8 %]</th>
31 <th class="listheading">[% 'Notes' | $T8 %]</th>
32 <th class="listheading">[% 'EAN' | $T8 %]</th>
33 <th class="listheading">[% 'Service, assembly or part' | $T8 %]</th>
34 <th class="listheading">[% 'Obsolete' | $T8 %]</th>
37 [% SET row_odd = '1' %][% FOREACH row = PARTS %]
38 <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
39 <td align="right"><input name='partnumber_[% loop.count %]' value='[% HTML.escape(row.partnumber) %]'></td>
40 <input type="hidden" name='partid_[% loop.count %]' value='[% HTML.escape(row.id) %]'>
41 <td align="left"> [% HTML.escape(row.description) %]</a></td>
42 <td align="right">[% HTML.escape(row.unit) %]</td>
43 <td align="right">[% HTML.escape(row.notes) %]</td>
44 <td align="right">[% HTML.escape(row.ean) %]</td>
45 <td align="right">[% IF row.assembly %] [% 'assembly' | $T8 %] [% ELSE %] [% IF row.inventory_accno_id %] [% 'part' | $T8 %] [% ELSE %] [% 'service' | $T8 %] [% END %] [% END %]</td>
46 <td>[% IF row.obsolete %][%- LxERP.t8("Obsolete") %][%- ELSE %][%- LxERP.t8("Not obsolete") %][%- END %]</td>
48 [% SET rowcount = loop.count %]
50 <input type="hidden" name="rowcount" value="[% rowcount %]">
53 <input type="button" value="[% 'Show all parts' | $T8 %]" onclick="show_parts('customer')">
56 <input type="submit" value="[% 'Continue' | $T8 %]">