L.date_tag für reqdate im Lieferschein verwenden.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Tue, 20 Nov 2012 12:44:23 +0000 (13:44 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Tue, 20 Nov 2012 12:44:23 +0000 (13:44 +0100)
behebt #2076

templates/webpages/do/form_header.html

index ef41502..cd99f96 100644 (file)
        <tr>
         <th align="right" nowrap>[% 'Reqdate' | $T8 %]</th>
         <td nowrap>
-         <input name="reqdate" id="reqdate" size="11" title="[% HTML.escape(myconfig_dateformat) %]" value="[% HTML.escape(reqdate) %]"
-                onBlur="check_right_date_format(this)"[% RO %]>
-         <input type="button" name="b_reqdate" id="reqdate_trigger" value="?">
+         [% L.date_tag('reqdate', reqdate, readonly => delivered) %]
         </td>
        </tr>