Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cecf5d07

Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID cecf5d075e6e2c334213c391d396989916f56034
  • Vorgänger 405d540b
  • Nachfolger f743ca8d

Neues Design 2019 Standard-Code templates/webpages/vk/search_invoice.html Neue Ordnung in Suchmaske

Unterschiede anzeigen:

templates/webpages/vk/search_invoice.html
71 71
  </tbody>
72 72
</table>
73 73

  
74
<table class="tbl-horizontal">
75
  <caption>[% 'Parts' | $T8 %]</caption>
76
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
77
  <tbody>
74 78
    <tr>
75
      <td></td>
76
      <td colspan="7">
77
        <hr size="1" noshade="">
78
      </td>
79
      <th>[% 'Part Number' | $T8 %]</th>
80
      <td>[% P.input_tag("partnumber", "", class='wi-small') %]</td>
81
    </tr>
79 82
    <tr>
80

  
83
      <th>[% 'Part Description' | $T8 %]</th>
84
      <td>[% P.input_tag("description", "", class='wi-wide') %]</td>
85
    </tr>
81 86
    <tr>
82
      <th align=right>[% 'Customer' | $T8 %]</th>
83
      <td>[% P.input_tag("customer", "", class="initial_focus", style=style) %]</td>
84

  
85
      <th align="right" nowrap>[% 'Customer Number' | $T8 %]</th>
86
      <td>[% P.input_tag("customernumber", "", style=style) %]</td>
87
      <th>[% 'Partsgroup' | $T8 %]</th>
88
      <td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, class='wi-wide') %]</td>
87 89
    </tr>
90
  </tbody>
91
</table>
88 92

  
93
<table class="tbl-horizontal">
94
  <caption>[% 'Invoices' | $T8 %]</caption>
95
  <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
96
  <tbody>
89 97
    <tr>
90
      <th align=right nowrap>[% 'Department' | $T8 %]</th>
91
      <td>
92
        [%- L.select_tag('department_id',
93
                         ALL_DEPARTMENTS,
94
                         title_key  = 'description',
95
                         with_empty = 1,
96
                         style      = style)
97
      -%]
98
      </td>
99

  
100
      <th align="right">[% 'Project Number' | $T8 %]</th>
101
      <td>[% P.project.picker("project_id", "", style=style) %]</td>
98
      <th>[% 'Invoice Date' | $T8 %]</th>
99
      <td><span class="wi-date">
100
        [% #'From' | $T8 %]
101
        [% L.date_tag('transdatefrom') %]
102
        [% 'Bis' | $T8 %]
103
        [% L.date_tag('transdateto') %]
104
      </span></td>
102 105
    </tr>
106
  </tbody>
107
</table>
103 108

  
109
</div><!-- /.col -->
110

  
111
<div class="col">
112

  
113
<table class="tbl-horizontal">
114
  <caption>[% 'Customers' | $T8 %]</caption>
115
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
116
  <tbody>
104 117
    <tr>
105
      <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
106
      <td>[% P.input_tag("partnumber", "", style=style) %]</td>
118
      <th>[% 'Customer' | $T8 %]</th>
119
      <td>[% P.input_tag( "customer", "", class="initial_focus", class='wi-wide' ) %]</td>
107 120
    </tr>
108

  
109 121
    <tr>
110
      <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
111
      <td>[% P.input_tag("description", "", style=style) %]</td>
122
      <th>[% 'Customer Number' | $T8 %]</th>
123
      <td>[% P.input_tag( "customernumber", "", class='wi-small' ) %]</td>
112 124
    </tr>
113

  
114 125
    <tr>
115
      <th align="right">[% 'Partsgroup' | $T8 %]</th>
116
      <td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, style=style) %]</td>
117
      <td align="right" nowrap>[% 'Country' | $T8 %]</td>
118
      <td>[% P.input_tag("country", "", style=style) %]</td>
126
      <th>[% 'Customer type' | $T8 %]</th>
127
      <td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, class='wi-wide') %]</td>
119 128
    </tr>
129
  </tbody>
130
</table>
120 131

  
132
<table class="tbl-horizontal">
133
  <caption>[% 'Handling' | $T8 %]</caption>
134
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
135
  <tbody>
121 136
    <tr>
122
      <th align="right">[% 'Employee' | $T8 %]</th>
123
      <td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td>
124

  
125
      <th align="right">[% 'Salesman' | $T8 %]</th>
126
      <td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td>
137
      <th>[% 'Employee' | $T8 %]</th>
138
      <td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td>
127 139
    </tr>
128

  
129 140
    <tr>
130
      <th align="right">[% 'Customer type' | $T8 %]</th>
131
      <td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, style=style) %]</td>
141
      <th>[% 'Salesman' | $T8 %]</th>
142
      <td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td>
132 143
    </tr>
133

  
134 144
    <tr>
135
      <th align=right nowrap>[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %]</th>
136
      <td>
137
        [% L.date_tag('transdatefrom') %]
138
        [% 'Bis' | $T8 %]
139
        [% L.date_tag('transdateto') %]
140
      </td>
145
      <th>[% 'Department' | $T8 %]</th>
146
      <td>[% L.select_tag( 'department_id', ALL_DEPARTMENTS, title_key='description', with_empty = 1, class='wi-wide' ) %]</td>
141 147
    </tr>
142

  
143

  
144 148
    <tr>
145
      <td></td>
146
      <th colspan="4" align="left">
147
        [% 'Filter for customer variables' | $T8 %]
148
      </th>
149
      <th>[% 'Project Number' | $T8 %]</th>
150
      <td>[% P.project.picker("project_id", "", class='wi-small') %]</td>
149 151
    </tr>
150
    [% CUSTOM_VARIABLES_FILTER_CODE_CT %]
152
    <tr>
153
      <th>[% 'Country' | $T8 %]</th>
154
      <td>[% P.input_tag("country", "", class='wi-wide') %]</td>
155
    </tr>
156
  </tbody>
157
</table>
158

  
159
</div><!-- /.col -->
151 160

  
161
<div class="col">
152 162

  
163
<table class="tbl-horizontal">
164
  <caption>[% 'Filter for customer variables' | $T8 %]</caption>
165
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
166
  <tbody>
167
    [% CUSTOM_VARIABLES_FILTER_CODE_CT %]
153 168
    <tr>
154
      <td></td>
155
      <th colspan="4" align="left">
156
        [% 'Filter for item variables' | $T8 %]
157
      </th>
169
      <th class="caption" colspan="2">[% 'Filter for item variables' | $T8 %]</th>
158 170
    </tr>
159 171
    [% CUSTOM_VARIABLES_FILTER_CODE_IC %]
172
  </tbody>
173
</table>
160 174

  
175
</div>
176

  
177
</div><!-- /.wrapper -->
178

  
179
<div class="buttons">
180
  <input type=submit name=action value="[% 'Continue' | $T8 %]">
181
</div>
161 182

  
162 183
<div class="wrapper form-addition control-panel">
163 184
  <h3>[% 'Include in Report' | $T8 %]</h3>
......
237 258

  
238 259
</form>
239 260

  
240
<script type="text/javascript">
241
<!--
242
$(document).ready(function(){
243
  $('customer').focus();
244
})
245
//-->
246
</script>
261
<script type="text/javascript"><!--
262
  $(document).ready(function(){
263
    $('customer').focus();
264
  })
265
//--></script>

Auch abrufbar als: Unified diff