Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0a963710

Von Niclas Zimmermann vor mehr als 11 Jahren hinzugefügt

  • ID 0a963710566615bf374afb38fdde87162f9ef075
  • Vorgänger c63da7a8
  • Nachfolger aec1ea59

template zum popup-Fenster

Enthält das template zu Commit 48452323cbb2feea5ec937b5328a4778e0da55ca.
Zeigt die Artikel bei einem Update in einem Popup-Fenster an.

Unterschiede anzeigen:

locale/de/all
1436 1436
  'Parts must have an entry type.' => 'Waren müssen eine Buchungsgruppe haben.',
1437 1437
  'Parts with existing part numbers' => 'Artikel mit existierender Artikelnummer',
1438 1438
  'Parts, services and assemblies' => 'Waren, Dienstleistungen und Erzeugnisse',
1439
  'Parts:'                      => 'Artikel:',
1440 1439
  'Partsgroup (database ID)'    => 'Warengruppe (Datenbank-ID)',
1441 1440
  'Partsgroup (name)'           => 'Warengruppe (Name)',
1442 1441
  'Password'                    => 'Passwort',
......
1781 1780
  'Service unit'                => 'Dienstleistungseinheit',
1782 1781
  'Service, assembly or part'   => 'Dienstleistung, Erzeugnis oder Ware',
1783 1782
  'Services'                    => 'Dienstleistungen',
1784
  'Services, assemblies or parts' => 'Dienstleistungen, Erzeugnisse oder Waren',
1785 1783
  'Set Language Values'         => 'Spracheinstellungen',
1786 1784
  'Set eMail text'              => 'eMail Text eingeben',
1787 1785
  'Settings'                    => 'Einstellungen',
......
1831 1829
  'Show items from invoices individually' => 'Artikel aus Rechnungen anzeigen',
1832 1830
  'Show old dunnings'           => 'Alte Mahnungen anzeigen',
1833 1831
  'Show overdue sales quotations and requests for quotations...' => 'Überfällige Angebote und Preisanfragen anzeigen...',
1832
  'Show parts'                  => 'Artikel anzeigen',
1834 1833
  'Show settings'               => 'Einstellungen anzeigen',
1835 1834
  'Show the weights of articles and the total weight in orders, invoices and delivery notes?' => 'Sollen Warengewichte und Gesamtgewicht in Aufträgen, Rechnungen und Lieferscheinen angezeigt werden?',
1836 1835
  'Show weights'                => 'Gewichte anzeigen',
templates/webpages/dbupgrade/show_partlist.html
1
[%- USE T8 %]
2
[% USE L %]
3
[% USE HTML %][%- USE LxERP -%]<div class="listtop">[% 'Show parts' | $T8 %]</div>
4

  
5
<form method="post" action="controller.pl">
6
[% L.hidden_tag("action", "LoginScreen/login") %]
7
[% L.hidden_tag("upgrade_action", "filter_parts") %]
8
[% L.hidden_tag("no_layout", 1) %]
9

  
10
<table>
11
  <tbody>
12
    <tr>
13
      <th align="right">[% 'Partnumber' | $T8 %]</th>
14
      <td>[% L.input_tag("filter_partnumber", filter_partnumber, size=20) %]</td>
15
    </tr>
16

  
17
    <tr>
18
      <th align="right">[% 'Description' | $T8 %]</th>
19
      <td>[% L.input_tag("filter_description", filter_description, size=20) %]</td>
20
    </tr>
21

  
22
    <tr>
23
      <th align="right">[% 'Notes' | $T8 %]</th>
24
      <td>[% L.input_tag("filter_notes", filter_notes, size=20) %]</td>
25
    </tr>
26

  
27
    <tr>
28
      <th align="right">[% 'EAN' | $T8 %]</th>
29
      <td>[% L.input_tag("filter_ean", filter_ean, size=20) %]</td>
30
    </tr>
31

  
32
    <tr>
33
      <th align="right">[% 'Service, assembly or part' | $T8 %]</th>
34
      <td>
35
        <select name="filter_type">
36
          <option value=""></option>
37
          <option value="assembly" [% IF filter_type == 'assembly' %]selected[% END %]>[% 'Assembly' | $T8 %]</option>
38
          <option value="service" [% IF filter_type == 'service' %]selected[% END %]>[% 'Service' | $T8 %]</option>
39
          <option value="part" [% IF filter_type == 'part' %]selected[% END %]>[% 'Part' | $T8 %]</option>
40
        </select>
41
      </td>
42
    </tr>
43

  
44
    <tr>
45
      <th align="right">[% 'Valid/Obsolete' | $T8 %]</th>
46
      <td>
47
        <select name="filter_obsolete">
48
          <option value=""></option>
49
          <option value="valid" [% IF filter_obsolete == 'valid' %]selected[% END %]>[% 'Valid' | $T8 %]</option>
50
          <option value="obsolete" [% IF filter_obsolete == 'obsolete' %]selected[% END %]>[% 'Obsolete' | $T8 %]</option>
51
        </select>
52
      </td>
53
    </tr>
54
  </tbody>
55
</table>
56

  
57
<input type="submit" value="[% 'Filter parts' | $T8 %]" onclick="submit()">
58

  
59
<table>
60
  <tr>
61
    <th class="listheading">[% 'Partnumber' | $T8 %]</th>
62
    <th class="listheading">[% 'Description' | $T8 %]</th>
63
    <th class="listheading">[% 'Unit' | $T8 %]</th>
64
    <th class="listheading">[% 'Notes' | $T8 %]</th>
65
    <th class="listheading">[% 'EAN' | $T8 %]</th>
66
    <th class="listheading">[% 'Service, assembly or part' | $T8 %]</th>
67
    <th class="listheading">[% 'Obsolete' | $T8 %]</th>
68
  </tr>
69

  
70
  [% SET row_odd = '1' %][% FOREACH row = ALL_PARTS %]
71
  <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
72
    <td align="right">[% HTML.escape(row.partnumber) %]</td>
73
    <td align="left"> [% HTML.escape(row.description) %]</a></td>
74
    <td align="right">[% HTML.escape(row.unit) %]</td>
75
    <td align="right">[% HTML.escape(row.notes) %]</td>
76
    <td align="right">[% HTML.escape(row.ean) %]</td>
77
    <td align="right">[% IF row.assembly %] [% 'assembly' | $T8 %] [% ELSE %] [% IF row.inventory_accno_id %] [% 'part' | $T8 %] [% ELSE %] [% 'service' | $T8 %] [% END %] [% END %]</td>
78
    <td>[% IF row.obsolete %][%- LxERP.t8("Obsolete") %][%- ELSE %][%- LxERP.t8("Not obsolete") %][%- END %]</td>
79
  </tr>
80
  [% END %]
81
</table>
82

  
83
<input class="submit" type="button" value="[% 'Close window' | $T8 %]" onclick="window.close()">
84

  
85
</form>

Auch abrufbar als: Unified diff