Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f41e5b6e

Von Niclas Zimmermann vor mehr als 11 Jahren hinzugefügt

  • ID f41e5b6ebad8817deb0c046213a1350e9237c571
  • Vorgänger b3f35113
  • Nachfolger 42529955

Verbesserung Upgrade-Script Erzeugnisnummern

Die Änderung macht es dem Benutzer möglich, direkt beim Update
Artikelnummern zu ändern. Weiterhin wurde noch Text ergänzt, der
dem Benutzer die Änderung erläutert.

Unterschiede anzeigen:

templates/webpages/dbupgrade/erzeugnisnummern.html
3 3

  
4 4
<form name="Form" method="post" action="login.pl">
5 5
<input type="hidden" name="action" value="login">
6
<input type="hidden" name="continued" value="1">
6 7

  
7 8
<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
<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>
9 12

  
10 13
<p>[% 'Please change the partnumber of the following parts and run the update again:' | $T8 %]</p>
11 14
<table>
......
20 23

  
21 24
  [% SET row_odd = '1' %][% FOREACH row = PARTS %]
22 25
  <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>
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) %]'>
24 28
    <td align="left"> [% HTML.escape(row.description) %]</a></td>
25 29
    <td align="right">[% HTML.escape(row.unit) %]</td>
26 30
    <td align="right">[% HTML.escape(row.notes) %]</td>
27 31
    <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>
32
    <td align="right">[% IF row.assembly %] [% 'assembly' | $T8 %] [% ELSE %] [% IF row.inventory_accno_id %] [% 'part' | $T8 %] [% ELSE %] [% 'service' | $T8 %] [% END %] [% END %]</td>
29 33
  </tr>
34
  [% SET rowcount = loop.count %]
30 35
  [% END %]
36
  <input type="hidden" name="rowcount" value="[% rowcount %]">
31 37
</table>
32 38

  
39
<input type="submit" value="[% 'Continue' | $T8 %]">
40

  
33 41
</form>

Auch abrufbar als: Unified diff