Revision 49c04489
Von Sven Schöling vor mehr als 15 Jahren hinzugefügt
templates/webpages/ct/form_footer_de.html | ||
---|---|---|
33 | 33 |
|
34 | 34 |
<script type="text/javascript"> |
35 | 35 |
<!-- |
36 |
Calendar.setup({ inputField : "fromB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_from" });
|
|
37 |
Calendar.setup({ inputField : "toB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_to" });
|
|
36 |
Calendar.setup({ inputField : "from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_from" });
|
|
37 |
Calendar.setup({ inputField : "to", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_to" });
|
|
38 | 38 |
Calendar.setup({ inputField : "FU_date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "FU_date_trigger" }); |
39 | 39 |
|
40 | 40 |
function enable_delete_shipto(used) { var s=document.getElementById('delete_shipto'); if (s) s.disabled = (used > 0 ? true : false); } |
templates/webpages/ct/form_footer_master.html | ||
---|---|---|
33 | 33 |
|
34 | 34 |
<script type="text/javascript"> |
35 | 35 |
<!-- |
36 |
Calendar.setup({ inputField : "fromB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_from" });
|
|
37 |
Calendar.setup({ inputField : "toB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_to" });
|
|
36 |
Calendar.setup({ inputField : "from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_from" });
|
|
37 |
Calendar.setup({ inputField : "to", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_to" });
|
|
38 | 38 |
Calendar.setup({ inputField : "FU_date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "FU_date_trigger" }); |
39 | 39 |
|
40 | 40 |
function enable_delete_shipto(used) { var s=document.getElementById('delete_shipto'); if (s) s.disabled = (used > 0 ? true : false); } |
templates/webpages/ct/form_header_de.html | ||
---|---|---|
476 | 476 |
</tr> |
477 | 477 |
|
478 | 478 |
<tr> |
479 |
<th align="left" nowrap>Von</th>
|
|
479 |
<th align="right" nowrap>Von</th>
|
|
480 | 480 |
<td> |
481 |
<input id="from" name="from" size="10" maxlength="10" value="[% HTML.escape(from) %]"> |
|
481 |
<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) %]">
|
|
482 | 482 |
<input type="button" name="fromB" id="trigger_from" value="?"> |
483 | 483 |
</td> |
484 |
<th align="left" nowrap>Bis</th>
|
|
484 |
<th align="right" nowrap>Bis</th>
|
|
485 | 485 |
<td> |
486 |
<input id="to" name="to" size="10" maxlength="10" value="[% HTML.escape(to) %]"> |
|
486 |
<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) %]">
|
|
487 | 487 |
<input type="button" name="toB" id="trigger_to" value="?"> |
488 | 488 |
</td> |
489 | 489 |
</tr> |
templates/webpages/ct/form_header_master.html | ||
---|---|---|
476 | 476 |
</tr> |
477 | 477 |
|
478 | 478 |
<tr> |
479 |
<th align="left" nowrap><translate>From</translate></th>
|
|
479 |
<th align="right" nowrap><translate>From</translate></th>
|
|
480 | 480 |
<td> |
481 |
<input id="from" name="from" size="10" maxlength="10" value="[% HTML.escape(from) %]"> |
|
481 |
<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) %]">
|
|
482 | 482 |
<input type="button" name="fromB" id="trigger_from" value="?"> |
483 | 483 |
</td> |
484 |
<th align="left" nowrap><translate>To (time)</translate></th>
|
|
484 |
<th align="right" nowrap><translate>To (time)</translate></th>
|
|
485 | 485 |
<td> |
486 |
<input id="to" name="to" size="10" maxlength="10" value="[% HTML.escape(to) %]"> |
|
486 |
<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) %]">
|
|
487 | 487 |
<input type="button" name="toB" id="trigger_to" value="?"> |
488 | 488 |
</td> |
489 | 489 |
</tr> |
Auch abrufbar als: Unified diff
Kunde/Lieferant -> Lieferungen:
- javascript kalender für die Datumsfelder gefixt.
- ajax aktualisiert jetzt auch bei änderungen der datumsfelder.