Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 922f961c

Von G. Richardson vor etwa 6 Jahren hinzugefügt

  • ID 922f961cb091c49dbc02693faf50382ceb9cd5a2
  • Vorgänger 1d1f3140

Änderungen HP Design

Unterschiede anzeigen:

templates/webpages/ap/search.html
1
[%- USE T8 %]
2
[%- USE L %][%- USE P -%]
3
[% SET style="width: 250px" %]
1
[% USE T8 %]
2
[% USE L %]
3
[% USE P %]
4

  
4 5
<h1>[% title %]</h1>
5 6

  
6
 <form method="post" name="search" action="ap.pl" id="form">
7
<form method="post" name="search" action="ap.pl" id="form">
8

  
9
<div class="wrapper">
10

  
11
  <table class="tbl-horizontal">
12
    <caption>[% 'Vendor & Order' | $T8 %]</caption>
13
    <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> 
14
    <tbody>
15
      <tr>
16
        <th>[% 'Vendor' | $T8 %]</th>
17
        <td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus wi-normal") %]</td>
18
      </tr>
19
      <tr>
20
        <th>[% 'Contact Person' | $T8 %]</th>
21
        <td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td>
22
      </tr>
23
      <tr>
24
        <th>[% 'Department' | $T8 %]</th>
25
        <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
26
      </tr>
27
      <tr>
28
        <th>[% 'Part Description' | $T8 %]</th>
29
        <td>[% L.input_tag("parts_description", "", class="wi-normal") %]</td>
30
      </tr>
31
      <tr>
32
        <th>[% 'Notes' | $T8 %]</th>
33
        <td>[% L.input_tag("notes", "", class="wi-normal") %]</td>
34
      </tr>
35
    </tbody>
36
  </table>
37

  
38
  <table class="tbl-horizontal">
39
    <caption>[% 'Dates & Numbers' | $T8 %]</caption>
40
    <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> 
41
    <tbody>
42
      <tr>
43
        <th>[% 'Invoice Date' | $T8 %]</th>
44
        <td><span class="wi-date">[% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %] </span></td>
45
      </tr>
46
      <tr>
47
        <th>[% 'Invoice Number' | $T8 %]</th>
48
        <td>[% L.input_tag("invnumber", "", class="wi-small") %]</td>
49
      </tr>
50
      <tr>
51
        <th>[% 'Order Number' | $T8 %]</th>
52
        <td>[% L.input_tag("ordnumber", "", class="wi-small") %]</td>
53
      </tr>
54
      <tr>
55
        <th>[% 'Part Number' | $T8 %]</th>
56
        <td>[% L.input_tag("parts_partnumber", "", class="wi-small") %]</td>
57
      </tr>
58
      <tr>
59
        <th>[% 'Project Number' | $T8 %]</th>
60
        <td>[% P.project.picker("project_id", project_id, class="wi-small") %]</td>
61
      </tr>
62
    </tbody>
63
  </table>
64

  
65
  <input type="hidden" name="sort" value="transdate">
66

  
67
</div><!-- /.wrapper -->
68
<div class="wrapper form-addition">
69

  
70
  <h3>[% 'Include in Report' | $T8 %]</h3>
71

  
72
  <div class="list col">
73
    <h4>[% 'Status' | $T8 %]</h4>
74
    <div>
75
      <input name="open" type="checkbox" value="Y" checked>
76
      [% 'Open' | $T8 %]
77
    </div>
78
    <div>
79
      <input name="closed" type="checkbox" value="Y">
80
      [% 'Closed' | $T8 %]
81
    </div>
82
    <div>
83
      <input name="l_paid" type="checkbox" value="Y" checked>
84
      [% 'Paid' | $T8 %]
85
    </div>
86
    <div>
87
      <input name="l_due" type="checkbox" value="Y">
88
      [% 'Amount Due' | $T8 %]
89
    </div>	
90
  </div>
91

  
92
  <div class="list col">
93
    <h4>[% 'Dates' | $T8 %]</h4>
94
    <div>
95
      <input name="l_transdate" type="checkbox" value="Y" checked>
96
      [% 'Invoice Date' | $T8 %]
97
    </div>
98
    <div>
99
      <input name="l_datepaid" type="checkbox" value="Y">
100
      [% 'Date Paid' | $T8 %]
101
    </div>
102
    <div>
103
      <input name="l_duedate" type="checkbox" value="Y">
104
      [% 'Due Date' | $T8 %]
105
    </div>
106
  </div>
107

  
108
  <div class="list col">
109
    <h4>[% 'ID\'s & Numbers' | $T8 %]</h4>
110
    <div>
111
      <input name="l_id" type="checkbox" value="Y">
112
      [% 'ID' | $T8 %]
113
    </div>
114
    <div>
115
      <input name="l_invnumber" type="checkbox" value="Y" checked>
116
      [% 'Invoice Number' | $T8 %]
117
    </div>
118
    <div>
119
      <input name="l_ordnumber" type="checkbox" value="Y">
120
      [% 'Order Number' | $T8 %]
121
    </div>
122
    <div>
123
      <input name="l_vendornumber" type="checkbox" value="Y">
124
      [% 'Vendor Number' | $T8 %]
125
    </div>
126
    <div>
127
      <input name="l_globalprojectnumber" type="checkbox" value="Y">
128
      [% 'Document Project Number' | $T8 %]
129
    </div>    
130
  </div>
131
 
132
  <div class="list col">
133
    <h4>[% 'Amounts' | $T8 %]</h4>
134
    <div>
135
      <input name="l_netamount" type="checkbox" value="Y">
136
      [% 'Amount' | $T8 %]
137
    </div>
138
    <div>
139
      <input name="l_tax" type="checkbox" value="Y">
140
      [% 'Tax' | $T8 %]
141
    </div>
142
    <div>
143
      <input name="l_amount" type="checkbox" value="Y" checked>
144
      [% 'Total' | $T8 %]
145
    </div>
146
    <div>
147
      <input name="l_subtotal" type="checkbox" value="Y">
148
      [% 'Subtotal' | $T8 %]
149
    </div>
150
  </div> 
151
 
152
  <div class="list col">
153
    <h4>[% 'Handling' | $T8 %]</h4>
154
    <div>
155
      <input name="l_employee" type="checkbox" value="Y">
156
      [% 'Employee' | $T8 %]
157
    </div>
158
    <div>
159
      <input name="l_charts" type="checkbox" value="Y">
160
      [% 'Chart' | $T8 %]
161
    </div>
162
  </div>
163
 
164
  <div class="list col">
165
    <h4>[% 'Order' | $T8 %]</h4>
166
    <div>
167
      <input name="l_notes" type="checkbox" value="Y">
168
      [% 'Notes' | $T8 %]
169
    </div>
170
    <div>
171
      <input name="l_taxzone" type="checkbox" value="Y">
172
      [% 'Steuersatz' | $T8 %]
173
    </div>
174
    <div>
175
      <input name="l_payment_terms" type="checkbox" value="Y">
176
      [% 'Payment Terms' | $T8 %]
177
    </div>
178
    <div>
179
      <input name="l_direct_debit" id="l_direct_debit" type="checkbox" value="Y">
180
      [% 'direct debit' | $T8 %]
181
    </div>
182
  </div>
183
 
184
  <div class="list col">
185
  <h4>[% 'Vendor' | $T8 %]</h4>
186
	<div>
187
		<input name="l_name" type="checkbox" value="Y" checked>
188
		[% 'Vendor' | $T8 %]
189
	</div>
190
	<div>
191
		<input name="l_country" type="checkbox" value="Y">
192
		[% 'Country' | $T8 %]
193
	</div>
194
	<div>
195
		<input name="l_ustid" type="checkbox" value="Y">
196
		[% 'USt-IdNr.' | $T8 %]
197
	</div>	
198
</div>
199

  
200
</div><!-- /.form-addition -->
7 201

  
8
  <table width=100%>
9
  <tr>
10
   <td>
11
    <table>
12
     <tr>
13
      <th align=right>[% 'Vendor' | $T8 %]</th>
14
      <td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus") %]</td>
15
     </tr>
16
    <tr>
17
     <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
18
     <td>[% L.input_tag("cp_name", '', style=style) %]</td>
19
    </tr>
20
     <tr>
21
      <th align=right nowrap>[% 'Department' | $T8 %]</th>
22
      <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]</td>
23
     </tr>
24
     <tr>
25
      <th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
26
      <td>[% L.input_tag("invnumber", "", style=style) %]</td>
27
     </tr>
28
     <tr>
29
      <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
30
      <td>[% L.input_tag("ordnumber", "", style=style) %]</td>
31
     </tr>
32
     <tr>
33
      <th align=right nowrap>[% 'Notes' | $T8 %]</th>
34
      <td>[% L.input_tag("notes", "", style=style) %]</td>
35
      <th align="right">[% 'Part Description' | $T8 %]</th>
36
      <td>[% L.input_tag("parts_description", "", style=style) %]</td>
37
     </tr>
38
     <tr>
39
      <th align="right">[% 'Project Number' | $T8 %]</th>
40
      <td>[% P.project.picker("project_id", project_id, style=style) %]</td>
41
      <th align="right">[% 'Part Number' | $T8 %]</th>
42
      <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
43
     </tr>
44
     <tr>
45
      <th align=right nowrap>[% 'Invoice Date' | $T8 %]</th>
46
      <td>
47
       [% L.date_tag('transdatefrom') %]
48
       [% 'Bis' | $T8 %]
49
       [% L.date_tag('transdateto') %]
50
     </td>
51
    </tr>
52
   <input type=hidden name=sort value=transdate>
53
   </table>
54
    </td>
55
    </tr>
56
    <tr>
57
     <td>
58
      <table>
59
       <tr>
60
        <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
61
        <td>
62
         <table width=100%>
63
          <tr>
64
           <td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
65
           <td nowrap>[% 'Open' | $T8 %]</td>
66
           <td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
67
           <td nowrap>[% 'Closed' | $T8 %]</td>
68
          </tr>
69
          <tr>
70
           <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
71
           <td nowrap>[% 'ID' | $T8 %]</td>
72
           <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
73
           <td nowrap>[% 'Invoice Number' | $T8 %]</td>
74
           <td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
75
           <td nowrap>[% 'Order Number' | $T8 %]</td>
76
          </tr>
77
          <tr>
78
           <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
79
           <td nowrap>[% 'Vendor' | $T8 %]</td>
80
           <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
81
           <td nowrap>[% 'Invoice Date' | $T8 %]</td>
82
           <td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
83
           <td nowrap>[% 'Amount' | $T8 %]</td>
84
          </tr>
85
          <tr>
86
           <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
87
           <td nowrap>[% 'Tax' | $T8 %]</td>
88
           <td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
89
           <td nowrap>[% 'Total' | $T8 %]</td>
90
           <td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
91
           <td nowrap>[% 'Date Paid' | $T8 %]</td>
92
          </tr>
93
          <tr>
94
           <td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
95
           <td nowrap>[% 'Paid' | $T8 %]</td>
96
           <td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
97
           <td nowrap>[% 'Due Date' | $T8 %]</td>
98
           <td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
99
           <td nowrap>[% 'Amount Due' | $T8 %]</td>
100
          </tr>
101
          <tr>
102
           <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
103
           <td nowrap>[% 'Notes' | $T8 %]</td>
104
           <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
105
           <td nowrap>[% 'Employee' | $T8 %]</td>
106
          </tr>
107
          <tr>
108
           <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
109
           <td nowrap>[% 'Subtotal' | $T8 %]</td>
110
           <td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
111
           <td nowrap>[% 'Document Project Number' | $T8 %]</td>
112
         </tr>
113
          <tr>
114
           <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
115
           <td nowrap>[% 'Steuersatz' | $T8 %]</td>
116
           <td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
117
           <td nowrap>[% 'Payment Terms' | $T8 %]</td>
118
           <td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
119
           <td nowrap>[% 'Chart' | $T8 %]</td>
120
           <td align=right><input name="l_direct_debit" id="l_direct_debit" class=checkbox type=checkbox value=Y></td>
121
           <td nowrap>[% 'direct debit' | $T8 %]</td>
122
          </tr>
123
         <tr>
124
          <td colspan=4 align=left><b>[% 'Vendor' | $T8 %] </td>
125
         </tr>
126
         <tr>
127
           <td align=right><input name="l_vendornumber" class=checkbox type=checkbox value=Y></td>
128
           <td nowrap>[% 'Vendor Number' | $T8 %]</td>
129
           <td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
130
           <td nowrap>[% 'Country' | $T8 %]</td>
131
           <td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
132
           <td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
133
          </tr>
134
         </table>
135
        </td>
136
       </tr>
137
      </table>
138
     </td>
139
    </tr>
140
   </table>
141
  </form>
202
</form>

Auch abrufbar als: Unified diff