$form->header();
- print $form->parse_html_template('oe/search', { %myconfig });
+ print $form->parse_html_template('oe/search', {
+ %myconfig,
+ is_order => $form->{type} =~ /_order/,
+ });
$main::lxdebug->leave_sub();
}
my %column_defs = (
'ids' => { 'text' => '', },
'transdate' => { 'text' => $locale->text('Date'), },
- 'reqdate' => { 'text' => $locale->text('Required by'), },
+ 'reqdate' => { 'text' => $form->{type} =~ /_order/ ? $locale->text('Required by') : $locale->text('Valid until') },
'id' => { 'text' => $locale->text('ID'), },
'ordnumber' => { 'text' => $locale->text('Order'), },
'quonumber' => { 'text' => $form->{type} eq "request_quotation" ? $locale->text('RFQ') : $locale->text('Quotation'), },
1051 1055 1057 1058 1072 1073 1077 1079 1081 1082 1095 1098 1100 1101 1108
1110 1118 1125 1127 1130 1133 1135 1136 1138 1144 1146 1147 1150 1151 1155
1164 1173 1177 1186 1188 1190 1191 1195 1197 1198 1199 1200 1201 1209 1213
- 1243 1248 1250 1262 1286 1287 1289
+ 1243 1248 1250 1262 1286 1287 1289 1294
2009-06-02 - Version 2.6.0
'USt-IdNr.' => 'USt-IdNr.',
'Unit' => 'Einheit',
'Unknown dependency \'%s\'.' => 'Unbekannte Abhängigkeit \'%s\'.',
+ 'Valid until' => 'gültig bis',
'Value' => 'Wert',
'Variable' => 'Variable',
'Vendor' => 'Lieferant',
'USt-IdNr.' => 'USt-IdNr.',
'Unit' => 'Einheit',
'Unknown dependency \'%s\'.' => 'Unbekannte Abhängigkeit \'%s\'.',
+ 'Valid until' => 'gültig bis',
'Value' => 'Wert',
'Variable' => 'Variable',
'Vendor' => 'Lieferant',
'USt-IdNr.' => 'USt-IdNr.',
'Unit' => 'Einheit',
'Unknown dependency \'%s\'.' => 'Unbekannte Abhängigkeit \'%s\'.',
+ 'Valid until' => 'gültig bis',
'Value' => 'Wert',
'Variable' => 'Variable',
'Vendor' => 'Lieferant',
[%- USE HTML %]
+[%- USE T8 %]
[%- SET vclabel = vc == 'customer' ? 'Kunde' : 'Lieferant' %]
[%- SET vcnumberlabel = vc == 'customer' ? 'Kundennummer' : 'Lieferantennummer' %]
<body>
</td>
</tr>
<tr>
- <th align="right">Auftragsdatum Von</th>
+ <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
<td>
- <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
+ <input name="transdatefrom" id="transdatefrom" size="11" title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
<input type="button" name="transdatefrom" id="trigger3" value="?">
</td>
<th align="right">bis</th>
</td>
</tr>
<tr>
- <th align="right">Lieferdatum Von</th>
+ <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
<td>
<input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
<input type=button name=reqdatefrom id="trigger5" value=?>
</td>
<td>
<input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
- <label for="l_reqdate">Lieferdatum</label>
+ <label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
</td>
</tr>
<tr>
[%- USE HTML %]
+[%- USE T8 %]
[%- SET vclabel = vc == 'customer' ? '<translate>Customer</translate>' : '<translate>Vendor</translate>' %]
[%- SET vcnumberlabel = vc == 'customer' ? '<translate>Customer Number</translate>' : '<translate>Vendor Number</translate>' %]
<body>
</td>
</tr>
<tr>
- <th align="right"><translate>Order Date</translate> <translate>From</translate></th>
+ <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
<td>
- <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
+ <input name="transdatefrom" id="transdatefrom" size="11" title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
<input type="button" name="transdatefrom" id="trigger3" value="?">
</td>
<th align="right"><translate>Bis</translate></th>
</td>
</tr>
<tr>
- <th align="right"><translate>Delivery Date</translate> <translate>From</translate></th>
+ <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
<td>
<input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
<input type=button name=reqdatefrom id="trigger5" value=?>
</td>
<td>
<input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
- <label for="l_reqdate"><translate>Required by</translate></label>
+ <label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
</td>
</tr>
<tr>