Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 51930364

Von Hans Peter Schlaepfer vor fast 6 Jahren hinzugefügt

  • ID 519303642ba0ddbea9d5a66eb366081da5ad3308
  • Vorgänger 7ba9a282
  • Nachfolger 551b5ac6

Neues kivitendo Design Aenderungen in templates/webpages/amcvar/.. ap/.. ar/..

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">
7 10

  
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>
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>
16 19
    <tr>
17
     <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
18
     <td>[% L.input_tag("cp_name", '', style=style) %]</td>
20
      <th>[% 'Contact Person' | $T8 %]</th>
21
      <td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td>
19 22
    </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>
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>
51 30
    </tr>
52
   <input type=hidden name=sort value=transdate>
53
   </table>
54
    </td>
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>
55 53
    </tr>
56 54
    <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>
55
      <th>[% 'Part Number' | $T8 %]</th>
56
      <td>[% L.input_tag("parts_partnumber", "", class="wi-small") %]</td>
139 57
    </tr>
140
   </table>
141
  </form>
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="form-addition control-panel">
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" id="open" type="checkbox" value="Y" checked>
76
      <label for="open">[% 'Open' | $T8 %]</label>
77
    </div>
78
    <div>
79
      <input name="closed" id="closed" type="checkbox" value="Y"><label for="closed">[% 'Closed' | $T8 %]</label>
80
    </div>
81
    <div>
82
      <input name="l_paid" id="l_paid" type="checkbox" value="Y" checked><label for="l_paid">[% 'Paid' | $T8 %]</label>
83
    </div>
84
    <div>
85
      <input name="l_due" id="l_due" type="checkbox" value="Y"><label for="l_due">[% 'Amount Due' | $T8 %]</label>
86
    </div>
87
  </div>
88

  
89
  <div class="list col">
90
    <h4>[% 'Dates' | $T8 %]</h4>
91
    <div>
92
      <input name="l_transdate" id="l_transdate" type="checkbox" value="Y" checked><label for="l_transdate">[% 'Invoice Date' | $T8 %]</label>
93
    </div>
94
    <div>
95
      <input name="l_datepaid" id="l_datepaid" type="checkbox" value="Y"><label for="l_datepaid">[% 'Date Paid' | $T8 %]</label>
96
    </div>
97
    <div>
98
      <input name="l_duedate" id="l_duedate" type="checkbox" value="Y"><label for="l_duedate">[% 'Due Date' | $T8 %]</label>
99
    </div>
100
  </div>
101

  
102
  <div class="list col">
103
    <h4>[% 'ID\'s & Numbers' | $T8 %]</h4>
104
    <div>
105
      <input name="l_id" id="l_id" type="checkbox" value="Y"><label for="l_id">[% 'ID' | $T8 %]</label>
106
    </div>
107
    <div>
108
      <input name="l_invnumber" id="l_invnumber" type="checkbox" value="Y" checked><label for="l_invnumber">[% 'Invoice Number' | $T8 %]</label>
109
    </div>
110
    <div>
111
      <input name="l_ordnumber" id="l_ordnumber" type="checkbox" value="Y"><label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
112
    </div>
113
    <div>
114
      <input name="l_vendornumber" id="l_vendornumber" type="checkbox" value="Y"><label for="l_vendornumber">[% 'Vendor Number' | $T8 %]</label>
115
    </div>
116
    <div>
117
      <input name="l_globalprojectnumber" id="l_globalprojectnumber" type="checkbox" value="Y"><label for="l_globalprojectnumber">[% 'Document Project Number' | $T8 %]</label>
118
    </div>
119
  </div>
120

  
121
  <div class="list col">
122
    <h4>[% 'Amounts' | $T8 %]</h4>
123
    <div>
124
      <input name="l_netamount" id="l_netamount" type="checkbox" value="Y"><label for="l_netamount">[% 'Amount' | $T8 %]</label>
125
    </div>
126
    <div>
127
      <input name="l_tax" id="l_tax" type="checkbox" value="Y"><label for="l_tax">[% 'Tax' | $T8 %]</label>
128
    </div>
129
    <div>
130
      <input name="l_amount" id="l_amount" type="checkbox" value="Y" checked><label for="l_amount">[% 'Total' | $T8 %]</label>
131
    </div>
132
    <div>
133
      <input name="l_subtotal" id="l_subtotal" type="checkbox" value="Y"><label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
134
    </div>
135
  </div>
136

  
137
  <div class="list col">
138
    <h4>[% 'Handling' | $T8 %]</h4>
139
    <div>
140
      <input name="l_employee" id="l_employee" type="checkbox" value="Y"><label for="l_employee">[% 'Employee' | $T8 %]</label>
141
    </div>
142
    <div>
143
      <input name="l_charts" id="l_charts" type="checkbox" value="Y"><label for="l_charts">[% 'Chart' | $T8 %]</label>
144
    </div>
145
  </div>
146

  
147
  <div class="list col">
148
    <h4>[% 'Order' | $T8 %]</h4>
149
    <div>
150
      <input name="l_notes" id="l_notes" type="checkbox" value="Y"><label for="l_notes">[% 'Notes' | $T8 %]</label>
151
    </div>
152
    <div>
153
      <input name="l_taxzone" id="l_taxzone" type="checkbox" value="Y"><label for="l_taxzone">[% 'Steuersatz' | $T8 %]</label>
154
    </div>
155
    <div>
156
      <input name="l_payment_terms" id="l_payment_terms" type="checkbox" value="Y"><label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
157
    </div>
158
    <div>
159
      <input name="l_direct_debit" id="l_direct_debit" id="l_direct_debit" type="checkbox" value="Y"><label for="l_direct_debit">[% 'direct debit' | $T8 %]</label>
160
    </div>
161
  </div>
162

  
163
  <div class="list col">
164
  <h4>[% 'Vendor' | $T8 %]</h4>
165
  <div>
166
    <input name="l_name" id="l_name" type="checkbox" value="Y" checked><label for="l_name">[% 'Vendor' | $T8 %]</label>
167
  </div>
168
  <div>
169
    <input name="l_country" id="l_country" type="checkbox" value="Y"><label for="l_country">[% 'Country' | $T8 %]</label>
170
  </div>
171
  <div>
172
    <input name="l_ustid" id="l_ustid" type="checkbox" value="Y"><label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
173
  </div>
174
</div>
175

  
176
</div><!-- /.form-addition -->
177

  
178
</form>

Auch abrufbar als: Unified diff