]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ct.pl
Jede Menge Javascript-Kalender eingefügt, und an einigen Stellen die Beschriftung...
[mfinanz.git] / bin / mozilla / ct.pl
index d94b9b19a04bfe3abe1b758eceefb55c690b2c5b..49672ab54e8ecf1a084dee22fdf1c1a1a24eac70 100644 (file)
@@ -864,6 +864,7 @@ sub form_header {
   # $locale->text('Customer Number')
   # $locale->text('Vendor Number')
   $form->{fokus} = "ct.greeting";
+  $form->{jsscript} = 1;
   $form->header;
 
   print qq|
@@ -1165,9 +1166,11 @@ $shipto
     $delivery
     <tr>
       <th align=left nowrap>| . $locale->text('From') . qq|</th>
-      <td><input id=from name=from size=10 maxlength=10 value="$form->{from}"></td>
-      <th align=left nowrap>| . $locale->text('Bis') . qq|</th>
-      <td><input id=to name=to size=10 maxlength=10 value="$form->{to}"></td>
+      <td><input id=from name=from size=10 maxlength=10 value="$form->{from}">
+        <input type="button" name="from" id="trigger_from" value="?"></td>
+      <th align=left nowrap>| . $locale->text('To (time)') . qq|</th>
+      <td><input id=to name=to size=10 maxlength=10 value="$form->{to}">
+        <input type="button" name="to" id="trigger_to" value="?"></td>
     </tr>       
     <tr>
      <td colspan=4>
@@ -1180,7 +1183,8 @@ $shipto
 
 </div>
 
-|;
+| . $form->write_trigger(\%myconfig, 2, "from", "BL", "trigger_from",
+                         "to", "BL", "trigger_to");
 
   $lxdebug->leave_sub();
 }