Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 108f7a8c

Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt

  • ID 108f7a8c7ba3137f0e0bcf5142b0269dd25b1115
  • Vorgänger 0c96594c
  • Nachfolger 58cdbaae

Alte Partsgroup Templates entfernt

Unterschiede anzeigen:

templates/webpages/pe/partsgroup_form.html
1
[%- USE L %]
2
[%- USE T8 %]
3
[%- USE HTML %]
4
<h1>[% title %]</h1>
5
[% L.javascript_tag('show_history.js') %]
6

  
7
<form method=post action="[% script %]">
8

  
9
<input type=hidden name=id value="[% id %]">
10
<input type=hidden name=type value="[% type %]">
11

  
12
<table width=100%>
13
  <tr>
14
    <td>
15
      <table width=100%>
16
        <tr>
17
          <th align=right>[% 'Partsgroup' | $T8 %]</th>
18
          <td><input name=partsgroup size=30 value="[% partsgroup | html %]"></td>
19
        </tr>
20
      </table>
21
    </td>
22
  </tr>
23
  <tr>
24
    <td colspan=2><hr size=3 noshade></td>
25
  </tr>
26
</table>
27

  
28
<br>
29

  
30
<input name=callback type=hidden value="[% callback | html %]">
31
<input type=submit class=submit name=action value="[% 'Save' | $T8 %]">
32
[%- IF id && orphaned %]
33
<input type=submit class=submit name=action value="[% 'Delete' | $T8 %]">
34
[%- END %]
35

  
36
[%- IF ( id ) %]
37
  <input type=button onclick="set_history_window([% id %], 'id');" name=history id=history value="[% 'history' | $T8 %]">
38
[%- END %]
39

  
40
</form>
41

  
templates/webpages/pe/partsgroup_report.html
1
[%- USE HTML %]
2
[%- USE T8 %]
3
<h1>[% 'Groups' | $T8 %]</h1>
4

  
5
<table width=100%>
6
  <tr>
7
    <td>[% option %]</td>
8
  </tr>
9
  <tr>
10
    <td>
11
      <table width=100%>
12
        <tr class=listheading>
13
          <th class=listheading width=90%>[% 'Partsgroup' | $T8 %]</th>
14
        </tr>
15
[%- FOREACH row = item_list %]
16
        <tr valign=top class="listrow[% loop.count % 2 %]">
17
          <td><a href="[% editlink %]&id=[% row.id %]">[% row.partsgroup %]</a></td>
18
        </tr>
19
[%- END %]
20
      </table>
21
    </td>
22
  </tr>
23
  <tr>
24
    <td><hr size=3 noshade></td>
25
  </tr>
26
</table>
27

  
28
<br>
29
<form method=post action="[% script %]">
30
  <input name=callback type=hidden value="[% callback | html %]">
31
  <input type=hidden name=type value="[% type %]">
32
  <input class=submit type=submit name=action value="[% 'Add' | $T8 %]">
33
</form>
34

  
35

  
templates/webpages/pe/search.html
1
[%- USE T8 %]
2
[%- USE LxERP %]
3
[%- USE HTML %]
4
<h1>[% is_pricegroup ? LxERP.t8('Pricegroup') : LxERP.t8('Groups') %]</h1>
5

  
6
<form method=post action="[% script %]">
7

  
8
<input type=hidden name=sort value="[% is_pricegroup ? 'pricegroup' : 'partsgroup' %]">
9
<input type=hidden name=type value="[% type %]">
10

  
11
<table width=100%>
12
  <tr>
13
    <td>
14
      <table width=100%>
15
        <tr>
16
[%- IF is_pricegroup %]
17
          <th align=right width=1%>[% 'Pricegroup' | $T8 %]</th>
18
          <td><input name=pricegroup size=20></td>
19
[%- ELSE %]
20
          <th align=right width=1%>[% 'Partsgroup' | $T8 %]</th>
21
          <td><input name=partsgroup size=20></td>
22
[%- END %]
23
        </tr>
24
        <tr>
25
          <td></td>
26
          <td><input name=status class=radio type=radio value=all checked> [% 'All' | $T8 %]
27
              <input name=status class=radio type=radio value=orphaned> [% 'Orphaned' | $T8 %]</td>
28
        </tr>
29
      </table>
30
    </td>
31
  </tr>
32
  <tr>
33
    <td><hr size=3 noshade></td>
34
  </tr>
35
</table>
36

  
37
<input type=hidden name=nextsub value="[% is_pricegroup ? 'pricegroup_report' : 'partsgroup_report' %]">
38

  
39
<br>
40
<input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
41
|
42
<a href="pe.pl?action=add&type=[% HTML.url(type) %]">[%- LxERP.t8('Add') %]</a>
43
</form>

Auch abrufbar als: Unified diff