Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 46bc75c8

Von Thomas Heck vor mehr als 12 Jahren hinzugefügt

  • ID 46bc75c8079099de22ccbc6281b04f42ade67f1a
  • Vorgänger 2465e851
  • Nachfolger 6cbad8aa

Date-Input-Felder durch 'L.date_tag's ersetzt

Unterschiede anzeigen:

templates/webpages/acctranscorrections/analyze_filter.html
[%- USE T8 %]
[% USE HTML %]
[%- USE L %]
<body>
<p><div class="listheading">[% title %]</div></p>
......
<td>
[% 'Period:' | $T8 %]
[% 'from (time)' | $T8 %]
<input name="transdate_from" id="transdate_from" size="10">
<input type="button" name="transdate_from_trigger" id="transdate_from_trigger" value="?">
[% L.date_tag('transdate_from') %]
[% 'to (time)' | $T8 %]
<input name="transdate_to" id="transdate_to" size="10">
<input type="button" name="transdate_to_trigger" id="transdate_to_trigger" value="?">
[% L.date_tag('transdate_to') %]
</td>
</tr>
</table>
......
<input type="hidden" name="action" value="analyze">
</form>
<script type="text/javascript">
<!--
Calendar.setup({ inputField : "transdate_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdate_from_trigger" });
Calendar.setup({ inputField : "transdate_to", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdate_to_trigger" });
//-->
</script>
</body>
</html>
templates/webpages/amcvar/search_filter.html
[%- USE T8 %]
[%- USE L %]
[% USE HTML %]
[%- FOREACH var = variables %]
......
[%- ELSIF var.type == 'date' %]
[% 'from (time)' | $T8 %]
<input name="[% filter_prefix %]cvar_[% HTML.escape(var.name) %]_from" id="cvar_[% HTML.escape(var.name) %]_from" size="12">
<input type="button" name="cvar_[% HTML.escape(var.name) %]_from_button" id="cvar_[% HTML.escape(var.name) %]_from_trigger" value="?">
[% 'to (time)' | $T8 %]
<input name="[% filter_prefix %]cvar_[% HTML.escape(var.name) %]_to" id="cvar_[% HTML.escape(var.name) %]_to" size="12">
<input type="button" name="cvar_[% HTML.escape(var.name) %]_to_button" id="cvar_[% HTML.escape(var.name) %]_to_trigger" value="?">
[% L.date_tag(filter_prefix _'cvar_'_ HTML.escape(var.name) _'_from') %]
<script type="text/javascript">
<!--
Calendar.setup({ inputField : "cvar_[% HTML.escape(var.name) %]_from",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BR",
button : "cvar_[% HTML.escape(var.name) %]_from_trigger" });
Calendar.setup({ inputField : "cvar_[% HTML.escape(var.name) %]_to",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BR",
button : "cvar_[% HTML.escape(var.name) %]_to_trigger" });
-->
</script>
[% 'to (time)' | $T8 %]
[% L.date_tag(filter_prefix _'cvar_'_ HTML.escape(var.name) _'_to') %]
[%- ELSIF var.type == 'number' %]
<select name="[% filter_prefix %]cvar_[% HTML.escape(var.name) %]_qtyop">
templates/webpages/ap/search.html
[%- USE T8 %]
[%- USE L %]
<body>
<form method=post name="search" action=[% script %]>
......
<tr>
<th align=right nowrap>[% 'From' | $T8 %]</th>
<td>
<input name=transdatefrom id=transdatefrom size=11 title="dateformat | html %]" onBlur=\"check_right_date_format(this)\">
<input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]>
[% L.date_tag('transdatefrom') %]
</td>
<th align=right>[% 'Bis' | $T8 %]</th>
<td>
<input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur=\"check_right_date_format(this)\">
<input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $T8 %]>
[% L.date_tag('transdateto') %]
</td>
</tr>
<input type=hidden name=sort value=transdate>
......
</body>
<script type="text/javascript">
<!--
Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
$(document).ready(function(){
focus();
setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
templates/webpages/ar/search.html
<tr>
<th align=right nowrap>[% 'From' | $T8 %]</th>
<td>
<input name=transdatefrom id=transdatefrom size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
<input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]>
[% L.date_tag('transdatefrom') %]
</td>
<th align=right>[% 'Bis' | $T8 %]</th>
<td>
<input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
<input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $T8 %]>
[% L.date_tag('transdateto') %]
</td>
</tr>
<input type=hidden name=sort value=transdate>
......
</form>
<script type="text/javascript">
<!--
Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
$(document).ready(function(){
$('customer').focus();
setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
templates/webpages/ct/form_footer.html
<script type="text/javascript">
<!--
Calendar.setup({ inputField : "from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_from" });
Calendar.setup({ inputField : "to", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_to" });
Calendar.setup({ inputField : "FU_date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "FU_date_trigger" });
function enable_delete_shipto(used) { var s=document.getElementById('delete_shipto'); if (s) s.disabled = (used > 0 ? true : false); }
function enable_delete_contact(used){ var s=document.getElementById('delete_contact'); if (s) s.disabled = (used > 0 ? true : false); }
templates/webpages/ct/form_header.html
<tr>
<th align="right" nowrap>[% 'From' | $T8 %]</th>
<td>
<input id="from" name="from" size="10" maxlength="10" onChange="get_delivery(['shipto_id__' + delivery_id.value, 'from__' + this.value, 'to__' + to.value, 'id__' + cvid.value, 'db__' + db.value], ['delivery'])" value="[% HTML.escape(from) %]">
<input type="button" name="fromB" id="trigger_from" value="?">
[% L.date_tag('from',
from,
onchange => "\$('#delivery').load('ct.pl?action=get_delivery&shipto_id='+ \$('#delivery_id').val() +'&from='+ \$('#from').val() +'&to='+ \$('#to').val() +'&id='+ \$('#cvid').val() +'&db='+ \$('#db').val())")
%]
</td>
<th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
<td>
<input id="to" name="to" size="10" maxlength="10" onChange="get_delivery(['shipto_id__' + delivery_id.value, 'from__' + from.value, 'to__' + this.value, 'id__' + cvid.value, 'db__' + db.value], ['delivery'])" value="[% HTML.escape(to) %]">
<input type="button" name="toB" id="trigger_to" value="?">
[% L.date_tag('to',
to,
onchange => "\$('#delivery').load('ct.pl?action=get_delivery&shipto_id='+ \$('#delivery_id').val() +'&from='+ \$('#from').val() +'&to='+ \$('#to').val() +'&id='+ \$('#cvid').val() +'&db='+ \$('#db').val())")
%]
</td>
</tr>
......
<tr>
<td valign="right">[% 'Follow-Up On' | $T8 %]</td>
<td>
<input name="FU_date" id="FU_date" value="[% HTML.escape(FU_date) %]" size="12">
<input type="button" name="FU_date_button" id="FU_date_trigger" value="?">
[% L.date_tag('FU_date', FU_date) %]
[% 'for' | $T8 %]
[% L.select_tag('FU_created_for_user', L.options_for_select(ALL_EMPLOYEES, default=(FU_created_for_user ? FU_created_for_user : USER.id), title='safe_name')) %]
</td>
templates/webpages/do/form_header.html
[% IF onload %][% onload %];[% END %]
setupDateFormat('[% myconfig_dateformat %]', '[% 'Falsches Datumsformat!' | $T8 %]');
setupPoints('[% myconfig_numberformat %]', '[% 'wrongformat' | $T8 %]');
[%- UNLESS delivered %]
Calendar.setup({ inputField : "transdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdate_trigger" });
[%- END %]
}
-->
</script>
......
[%- SET is_customer = '0' %]
[%- END %]
[%- IF delivered %]
[%- SET RO = ' readonly' %]
[%- SET DISABLED = ' disabled' %]
[%- END %]
......
<tr>
<th align="right" nowrap>[% 'Delivery Order Date' | $T8 %]</th>
<td nowrap>
<input name="transdate" id="transdate" size="11" title="[% HTML.escape(myconfig_dateformat) %]" value="[% HTML.escape(transdate) %]"
onBlur="check_right_date_format(this)"[% RO %]>
[% UNLESS delivered %]<input type="button" name="b_transdate" id="transdate_trigger" value="?">[% END %]
[% L.date_tag('transdate', transdate, readonly => delivered) %]
</td>
</tr>
templates/webpages/do/search.html
<script type="text/javascript">
<!--
function on_load() {
Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdatefrom_trigger" });
Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdateto_trigger" });
document.Form.donumber.focus();
}
-->
......
<tr>
<th align="right">[% 'From' | $T8 %]</th>
<td>
<input name="transdatefrom" id="transdatefrom" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
<input type="button" name="transdatefrom_button" id="transdatefrom_trigger" value="?">
[% L.date_tag('transdatefrom') %]
</td>
<th align="right">[% 'Bis' | $T8 %]</th>
<td>
<input name="transdateto" id="transdateto" size="11" title="[% myconfig_dateformat %]" onBlur="check_right_date_format(this)">
<input type="button" name="transdateto_button" id="transdateto_trigger" value="?">
[% L.date_tag('transdateto') %]
</td>
</tr>
templates/webpages/do/stock_in_form.html
[%- USE T8 %]
[%- USE L %]
[% USE HTML %][% USE LxERP %][% USE JavaScript %]<body[% UNLESS delivered %] onload="on_load();"[% END %]>
[%- UNLESS delivered %]
......
<td><input name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]"></td>
[% IF conf_show_best_before %]
<td>
<input name="bestbefore_[% loop.count %]" id="bestbefore_[% loop.count %]" value="[% HTML.escape(row.bestbefore) %]" size="11" title="[% myconfig_dateformat %]">
<input type="button" name="b_bestbefore_[% loop.count %]" id="bestbefore_trigger_[% loop.count %]" value="?">
[% L.date_tag('bestbefore_'_ loop.count, row.bestbefore) %]
</td>
[% END %]
<td><input name="qty_[% loop.count %]" size="12" value="[% HTML.escape(LxERP.format_amount(row.qty)) %]"></td>
......
[%- END %]
</p>
</form>
[%- IF NOT delivered %]
[% IF conf_show_best_before %]
<script type="text/javascript">
<!--
[%- FOREACH row = STOCK_INFO %]
Calendar.setup( {
inputField : "bestbefore_[% loop.count %]",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BR",
button : "bestbefore_trigger_[% loop.count %]"
});
[%- END %]
//-->
</script>
[% END %]
[%- END %]
</body>
</html>
templates/webpages/dunning/search.html
<tr>
<th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
<td>
<input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
<input type="button" name="transdatefrom" id="trigger1" value="?">
[% L.date_tag('transdatefrom') %]
</td>
<th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
<td>
<input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
<input type="button" name="transdateto" id="trigger2" value="?">
[% L.date_tag('transdateto') %]
</td>
</tr>
<tr>
<th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
<td>
<input name="dunningfrom" id="dunningfrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
<input type="button" name="dunningfrom" id="trigger3" value="?">
[% L.date_tag('dunningfrom') %]
</td>
<th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
<td>
<input name="dunningto" id="dunningto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
<input type="button" name="dunningto" id="trigger4" value="?">
[% L.date_tag('dunningto') %]
</td>
</tr>
<tr>
......
<input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
</form>
<script type="text/javascript">
<!--
Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger2" });
Calendar.setup({ inputField : "dunningfrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger3" });
Calendar.setup({ inputField : "dunningto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger4" });
-->
</script>
</body>
</html>
templates/webpages/fu/add_edit.html
[%- USE T8 %]
[%- USE L %]
[% USE HTML %]<body onload="on_load();">
<script type="text/javascript">
<!--
function on_load() {
Calendar.setup({ inputField : "follow_up_date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "follow_up_date_trigger" });
document.Form.subject.focus();
}
-->
......
<tr>
<td valign="right">[% 'Follow-Up Date' | $T8 %]</td>
<td>
<input name="follow_up_date" id="follow_up_date" value="[% HTML.escape(follow_up_date) %]" size="12">
<input type="button" name="follow_up_date_button" id="follow_up_date_trigger" value="?">
[% L.date_tag('follow_up_date', follow_up_date) %]
</tr>
<tr>
templates/webpages/fu/search.html
[%- USE T8 %]
[%- USE L %]
[% USE HTML %]
<body onload="on_load()">
<script type="text/javascript">
<!--
function on_load() {
Calendar.setup({ inputField : "follow_up_date_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "follow_up_date_from_trigger" });
Calendar.setup({ inputField : "follow_up_date_to", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "follow_up_date_to_trigger" });
Calendar.setup({ inputField : "itime_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "itime_from_trigger" });
Calendar.setup({ inputField : "itime_to", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "itime_to_trigger" });
document.Form.subject.focus();
}
-->
......
<td align="right">[% 'Follow-Up Date' | $T8 %]</td>
<td>
[% 'From' | $T8 %]
<input name="follow_up_date_from" id="follow_up_date_from" size="12">
<input type="button" name="follow_up_date_from_button" id="follow_up_date_from_trigger" value="?">
[% L.date_tag('follow_up_date_from') %]
[% 'To (time)' | $T8 %]
<input name="follow_up_date_to" id="follow_up_date_to" size="12">
<input type="button" name="follow_up_date_to_button" id="follow_up_date_to_trigger" value="?">
[% L.date_tag('follow_up_date_to') %]
</td>
</tr>
......
<td align="right">[% 'Created on' | $T8 %]</td>
<td>
[% 'From' | $T8 %]
<input name="itime_from" id="itime_from" size="12">
<input type="button" name="itime_from_button" id="itime_from_trigger" value="?">
[% L.date_tag('itime_from') %]
[% 'To (time)' | $T8 %]
<input name="itime_to" id="itime_to" size="12">
<input type="button" name="itime_to_button" id="itime_to_trigger" value="?">
[% L.date_tag('itime_to') %]
</td>
</tr>
templates/webpages/ic/search.html
[%- USE T8 %]
%- USE T8 %]
[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
<body>
<form method="post" action="ic.pl">
......
<table>
<tr>
<th>[% 'From' | $T8 %]</th>
<td><input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]"></td>
<td><input type="button" name="transdatefrom" id="trigger1" value="[% 'button' | $T8 %]"></td>
<td>[% L.date_tag('transdatefrom') %]</td>
<th>[% 'To (time)' | $T8 %]</th>
<td><input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]"></td>
<td><input type="button" name="transdateto" name="transdateto" id="trigger2" value="[% 'button' | $T8 %]"></td>
<td>[% L.date_tag('transdateto') %]</td>
</tr>
</table>
</td>
......
<tr><td colspan="4"><hr size="3" noshade></td></tr>
</table>
<script type="text/javascript">
<!--
Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });
Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
//-->
</script>
<p>
<input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
<input class="submit" type="submit" name="action" value="[% 'TOP100' | $T8 %]">
templates/webpages/ir/_payments.html
[%- USE T8 %]
[%- USE LxERP %]
[%- USE L %]
<tr>
<td>
<table width="100%">
......
<td align="center">
[% IF $changeable %]
<input id="datepaid_[% i %]" name="datepaid_[% i %]" size="11" title="[% dateformat %]" value="[% $datepaid %]">
<input type="button" name="datepaid_[% i %]" id="trigger_datepaid_[% i %]" value="?">
[% L.date_tag('datepaid_'_ i, $datepaid) %]
[% ELSE %]
<input type="hidden" name="datepaid_[% i %]" value="[% $datepaid %]">[% $datepaid %]
[% END %]
......
</tr>
[% IF $changeable %]
<script type='text/javascript'>
Calendar.setup({ inputField : "datepaid_[% i %]", ifFormat :"[% myconfig_jsc_dateformat %]", align : "TR", button : "trigger_datepaid_[% i %]" });
$('input[name="paid_[% i %]"]').blur(function(){ check_right_number_format(this) });
$('#datepaid_[% i %]').blur(function(){ check_right_date_format(this) });
</script>
templates/webpages/is/_payments.html
[%- USE LxERP %][% USE T8 %]
[%- USE LxERP %]
[%- USE T8 %]
[%- USE L %]
<tr>
<td>
<table width="100%">
......
<tr>
<td align="center">
[% IF $changeable %]
<input id="datepaid_[% i %]" name="datepaid_[% i %]" size="11" title="[% dateformat %]" value="[% $datepaid %]">
<input type="button" name="datepaid_[% i %]" id="trigger_datepaid_[% i %]" value="?">
[% L.date_tag('datepaid_'_ i, $datepaid) %]
[% ELSE %]
<input type="hidden" name="datepaid_[% i %]" value="[% $datepaid %]"> [% $datepaid %]
[% END %]
......
<tr style='display:none'>
<td>
<script type='text/javascript'>
Calendar.setup({ inputField : "datepaid_[% i %]", ifFormat :"[% myconfig_jsc_dateformat %]", align : "TR", button : "trigger_datepaid_[% i %]" });
$('input[name="paid_[% i %]"]').blur(function(){ check_right_number_format(this) });
$('#datepaid_[% i %]').blur(function(){ check_right_date_format(this) });
</script>
templates/webpages/oe/form_footer.html
<script type="text/javascript">
<!--
Calendar.setup({ inputField : "transdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });
Calendar.setup({ inputField : "reqdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
$('document').ready(function(){
setupDateFormat('[% dateformat %]', '[% 'Falsches Datumsformat!' | $T8 %]');
setupPoints('[% numberformat %]', '[% 'wrongformat' | $T8 %]');
templates/webpages/oe/form_header.html
[%- END %]
</th>
<td nowrap>
<input name=transdate id=transdate size=11 title="[% HTML.escape(dateformat) %]" value="[% transdate %]" onBlur="check_right_date_format(this)">
<input type=button name=transdate id="trigger1" value="[% 'button' | $T8 %]">
[% L.date_tag('transdate', transdate) %]
</td>
</tr>
<tr>
......
[%- END %]
</th>
<td nowrap>
<input name=reqdate id=reqdate size=11 title="[% HTML.escape(dateformat) %]" value="[% reqdate %]" onBlur="check_right_date_format(this)">
<input type=button name=reqdate id="trigger2" value="[% 'button' | $T8 %]">
[% L.date_tag('reqdate', reqdate) %]
</td>
</tr>
<tr>
templates/webpages/oe/search.html
<tr>
<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="[% dateformat | html %]" onBlur="check_right_date_format(this)">
<input type="button" name="transdatefrom" id="trigger3" value="?">
[% L.date_tag('transdatefrom') %]
</td>
<th align="right">[% 'Bis' | $T8 %]</th>
<td>
<input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
<input type="button" name="transdateto" name="transdateto" id="trigger4" value="?">
[% L.date_tag('transdateto') %]
</td>
</tr>
<tr>
<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=?>
[% L.date_tag('reqdatefrom') %]
</td>
<th align="right">[% 'Bis' | $T8 %]</th>
<td>
<input name=reqdateto id=reqdateto size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
<input type=button name=reqdateto name=reqdateto id="trigger6" value=?>
[% L.date_tag('reqdateto') %]
</td>
</tr>
<tr>
......
</tr>
</table>
<script type="text/javascript">
<!--
Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
Calendar.setup({ inputField : "reqdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger5" });
Calendar.setup({ inputField : "reqdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger6" });
//-->
</script>
<br>
<input type="hidden" name="nextsub" value="orders">
<input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
templates/webpages/sepa/bank_transfer_create.html
[%- USE T8 %]
[%- USE L %]
[% USE HTML %][% USE LxERP %]
[% IF vc == 'vendor' %]
[% SET is_vendor = 1 %]
......
<td><input name="bank_transfers[].reference" value="[% HTML.escape(bank_transfer.reference) %]"></td>
<td align="right"><input name="bank_transfers[].amount" value="[% LxERP.format_amount(bank_transfer.amount, -2) %]" style="text-align: right"></td>
<td nowrap>
<input name="bank_transfers[].requested_execution_date"
id="requested_execution_date_[% loop.count %]"
value="[% HTML.escape(bank_transfer.requested_execution_date) %]"
size="11">
<input type="button" name="requested_execution_date_[% loop.count %]_trigger" id="requested_execution_date_[% loop.count %]_trigger" value="?">
[% L.date_tag('requested_execution_date_'_ loop.count, bank_transfer.requested_execution_date) %]
</td>
</tr>
[%- END %]
......
<input type="hidden" name="confirmation" value="1">
</form>
<script type="text/javascript">
<!--
[%- FOREACH row = BANK_TRANSFERS %]
Calendar.setup({ inputField : "requested_execution_date_[% loop.count %]",
ifFormat : "[% myconfig_jsc_dateformat %]",
align : "BL",
button : "requested_execution_date_[% loop.count %]_trigger" });
[%- END %]
-->
</script>
</body>
</html>
templates/webpages/sepa/bank_transfer_edit.html
[%- USE T8 %]
[% USE HTML %]
[% USE LxERP %]
[%- USE L %]
[% IF vc == 'vendor' %]
[% SET is_vendor = 1 %]
[% SET arap = 'ap' %]
......
[%- IF show_post_payments_button %]
<th class="listheading" colspan="3">&nbsp;</th>
<th class="listheading">
<input name="set_all_execution_date" id="set_all_execution_date" size="11">
<input type="button" name="set_all_execution_date_trigger" id="set_all_execution_date_trigger" value="?">
[% L.date_tag('set_all_execution_date') %]
</th>
[%- ELSE %]
<th class="listheading" colspan="4">&nbsp;</th>
......
[%- ELSIF item.export_closed %]
[% 'not executed' | $T8 %]
[%- ELSE %]
<input name="items[].execution_date" id="execution_date_[% loop.count %]" size="11"
value="[% IF item.requested_execution_date %][% HTML.escape(item.requested_execution_date) %][% ELSE %][% HTML.escape(current_date) %][% END %]">
<input type="button" name="execution_date_[% loop.count %]_trigger" id="execution_date_[% loop.count %]_trigger" value="?">
[% L.date_tag('items[].execution_date', item.requested_execution_date || current_date) %]
[%- END %]
</td>
</tr>
......
$(this).attr('checked', checked);
});
});
[%- IF show_post_payments_button %]
Calendar.setup({ inputField : "set_all_execution_date",
ifFormat : "[% myconfig_jsc_dateformat %]",
align : "BL",
button : "set_all_execution_date_trigger",
onUpdate : set_all_execution_date_fields });
[%- FOREACH item = export.items %]
[%- IF !item.executed %]
Calendar.setup({ inputField : "execution_date_[% loop.count %]",
ifFormat : "[% myconfig_jsc_dateformat %]",
align : "BL",
button : "execution_date_[% loop.count %]_trigger" });
[%- END %]
[%- END %]
[%- END %]
});
-->
</script>
templates/webpages/sepa/bank_transfer_search.html
[%- USE T8 %]
[% USE HTML %][% USE LxERP %]
[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
<body>
<p><div class="listtop">[% title %]</div></p>
......
<tr>
<td align="right">[% 'Export date from' | $T8 %]</td>
<td>
<input name="f_export_date_from" id="f_export_date_from" size="11">
<input type="button" name="f_export_date_from_trigger" id="f_export_date_from_trigger" value="?">
[% 'to (time)' | $T8 %]
<input name="f_export_date_to" id="f_export_date_to" size="11">
<input type="button" name="f_export_date_to_trigger" id="f_export_date_to_trigger" value="?">
[% L.date_tag('f_export_date_from') %]
[% 'to (time)' | $T8 %]
[% L.date_tag('f_export_date_to') %]
</td>
</tr>
<tr>
<td align="right">[% 'Requested execution date from' | $T8 %]</td>
<td>
<input name="f_requested_execution_date_from" id="f_requested_execution_date_from" size="11">
<input type="button" name="f_requested_execution_date_from_trigger" id="f_requested_execution_date_from_trigger" value="?">
[% 'to (time)' | $T8 %]
<input name="f_requested_execution_date_to" id="f_requested_execution_date_to" size="11">
<input type="button" name="f_requested_execution_date_to_trigger" id="f_requested_execution_date_to_trigger" value="?">
[% L.date_tag('f_requested_execution_date_from') %]
[% 'to (time)' | $T8 %]
[% L.date_tag('f_requested_execution_date_to') %]
</td>
</tr>
<tr>
<td align="right">[% 'Execution date from' | $T8 %]</td>
<td>
<input name="f_execution_date_from" id="f_execution_date_from" size="11">
<input type="button" name="f_execution_date_from_trigger" id="f_execution_date_from_trigger" value="?">
[% 'to (time)' | $T8 %]
<input name="f_execution_date_to" id="f_execution_date_to" size="11">
<input type="button" name="f_execution_date_to_trigger" id="f_execution_date_to_trigger" value="?">
[% L.date_tag('f_execution_date_from') %]
[% 'to (time)' | $T8 %]
[% L.date_tag('f_execution_date_to') %]
</td>
</tr>
......
<input type="submit" class="submit" name="action_bank_transfer_list" value="[% 'Continue' | $T8 %]">
</p>
</form>
<script type="text/javascript">
<!--
Calendar.setup({ inputField : "f_export_date_from",
ifFormat : "[% myconfig_jsc_dateformat %]",
align : "BL",
button : "f_export_date_from_trigger" });
Calendar.setup({ inputField : "f_export_date_to",
ifFormat : "[% myconfig_jsc_dateformat %]",
align : "BL",
button : "f_export_date_to_trigger" });
Calendar.setup({ inputField : "f_requested_execution_date_from",
ifFormat : "[% myconfig_jsc_dateformat %]",
align : "BL",
button : "f_requested_execution_date_from_trigger" });
Calendar.setup({ inputField : "f_requested_execution_date_to",
ifFormat : "[% myconfig_jsc_dateformat %]",
align : "BL",
button : "f_requested_execution_date_to_trigger" });
Calendar.setup({ inputField : "f_execution_date_from",
ifFormat : "[% myconfig_jsc_dateformat %]",
align : "BL",
button : "f_execution_date_from_trigger" });
Calendar.setup({ inputField : "f_execution_date_to",
ifFormat : "[% myconfig_jsc_dateformat %]",
align : "BL",
button : "f_execution_date_to_trigger" });
-->
</script>
</body>
</html>
templates/webpages/vk/search_invoice.html
[%- USE T8 %]
[%- USE L %]
<body>
<form method=post name="search_invoice" action=[% script %]>
......
<tr>
<th align=right nowrap>[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %]</th>
<td>
<input name=transdatefrom id=transdatefrom size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
<input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]>
[% L.date_tag('transdatefrom') %]
</td>
<th align=right>[% 'Bis' | $T8 %]</th>
<td>
<input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
<input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $T8 %]>
[% L.date_tag('transdateto') %]
</td>
</tr>
<tr>
......
</form>
<script type="text/javascript">
<!--
Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
$(document).ready(function(){
$('customer').focus();
setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
templates/webpages/wh/journal_filter.html
[%- USE T8 %]
[%- USE L %]
[% USE HTML %][% USE JavaScript %]<body onload="on_load();">
<script type="text/javascript">
......
<tr>
<th align="right" nowrap>[% 'Best Before' | $T8 %]:</th>
<td>
<input name="bestbefore" id="bestbefore" size="11" title="[% myconfig_dateformat %]">
<input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
[% L.date_tag('bestbefore') %]
</td>
</tr>
[% END %]
......
<tr>
<th align="right" nowrap>[% 'From Date' | $T8 %]</th>
<td>
<input name="fromdate" id="fromdate" size="11" title="[% myconfig_dateformat %]">
<input type="button" name="b_fromdate" id="fromdate_trigger" value="?">
[% L.date_tag('fromdate') %]
</td>
</tr>
<tr>
<th align="right">[% 'To Date' | $T8 %]</th>
<td>
<input name="todate" id="todate" size="11" title="[% myconfig_dateformat %]">
<input type="button" name="b_todate" id="todate_trigger" value="?">
[% L.date_tag('todate') %]
</td>
</tr>
</table>
......
</p>
</form>
<script type="text/javascript">
<!--
[% IF conf_show_best_before %]
Calendar.setup( {
inputField : "bestbefore",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BR",
button : "bestbefore_trigger"
});
[% END %]
Calendar.setup( {
inputField : "fromdate",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BR",
button : "fromdate_trigger"
});
Calendar.setup( {
inputField : "todate",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BL",
button : "todate_trigger"
});
//-->
</script>
</body>
</html>
templates/webpages/wh/report_filter.html
<tr>
<th align="right" nowrap>[% 'Best Before' | $T8 %]:</th>
<td>
<input name="bestbefore" id="bestbefore" size="11" title="[% myconfig_dateformat %]">
<input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
[% L.date_tag('bestbefore') %]
</td>
</tr>
[% END %]
......
</p>
</form>
[% IF conf_show_best_before %]
<script type="text/javascript">
<!--
Calendar.setup( {
inputField : "bestbefore",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BR",
button : "bestbefore_trigger"
});
//-->
</script>
[% END %]
</body>
</html>
templates/webpages/wh/warehouse_selection.html
[%- USE T8 %]
[%- USE HTML %]
[%- USE L %]
[% USE JavaScript %]<body onload="on_load();">
<script type="text/javascript" src="js/common.js"></script>
......
<tr>
<th align="right" nowrap>[% 'Best Before' | $T8 %]</th>
<td>
<input name="bestbefore" id="bestbefore" size="11" title="[% myconfig_dateformat %]">
<input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
[% L.date_tag('bestbefore') %]
</td>
</tr>
[% END %]
......
</p>
</form>
[% IF conf_show_best_before %]
<script type="text/javascript">
<!--
Calendar.setup( {
inputField : "bestbefore",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BR",
button : "bestbefore_trigger"
});
//-->
</script>
[% END %]
</body>
</html>
templates/webpages/wh/warehouse_selection_assembly.html
[%- USE T8 %]
[%- USE L %]
[% USE HTML %][% USE JavaScript %][% USE LxERP %]<body onload="on_load(); [% onload %]">
<script type="text/javascript" src="js/common.js"></script>
......
<tr>
<th align="right" nowrap>[% 'Best Before' | $T8 %]</th>
<td>
<input name="bestbefore" id="bestbefore" size="11" value="[% HTML.escape(bestbefore) %]" title="[% myconfig_dateformat %]">
<input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
[% L.date_tag('bestbefore', bestbefore) %]
</td>
</tr>
[% END %]
......
</p>
</form>
[% IF conf_show_best_before %]
<script type="text/javascript">
<!--
Calendar.setup( {
inputField : "bestbefore",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BR",
button : "bestbefore_trigger"
});
//-->
</script>
[% END %]
</body>
</html>
templates/webpages/wh/warehouse_selection_stock.html
[%- USE T8 %]
[%- USE L %]
[% USE HTML %][% USE JavaScript %][% USE LxERP %]<body onload="on_load(); [% onload %]">
<script type="text/javascript" src="js/common.js"></script>
......
<tr>
<th align="right" nowrap>[% 'Best Before' | $T8 %]</th>
<td>
<input name="bestbefore" id="bestbefore" size="11" value="[% HTML.escape(bestbefore) %]" title="[% myconfig_dateformat %]">
<input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
[% L.date_tag('bestbefore', bestbefore) %]
</td>
</tr>
[% END %]
......
<input type="submit" class="submit" name="action" value="[% 'Stock' | $T8 %]">
[%- END %]
</p>
</form>
[% IF conf_show_best_before %]
<script type="text/javascript">
<!--
Calendar.setup( {
inputField : "bestbefore",
ifFormat :"[% myconfig_jsc_dateformat %]",
align : "BR",
button : "bestbefore_trigger"
});
//-->
</script>
[% END %]
</form>
</body>
</html>

Auch abrufbar als: Unified diff