diff options
-rw-r--r-- | UI/employee.html | 6 | ||||
-rw-r--r-- | UI/voucher.html | 8 | ||||
-rw-r--r-- | bin/aa.pl | 6 | ||||
-rw-r--r-- | bin/am.pl | 8 | ||||
-rw-r--r-- | bin/arap.pl | 4 | ||||
-rw-r--r-- | bin/bp.pl | 4 | ||||
-rw-r--r-- | bin/ca.pl | 4 | ||||
-rw-r--r-- | bin/cp.pl | 8 | ||||
-rw-r--r-- | bin/ct.pl | 16 | ||||
-rw-r--r-- | bin/gl.pl | 6 | ||||
-rw-r--r-- | bin/hr.pl | 8 | ||||
-rw-r--r-- | bin/ic.pl | 8 | ||||
-rw-r--r-- | bin/ir.pl | 6 | ||||
-rw-r--r-- | bin/is.pl | 6 | ||||
-rw-r--r-- | bin/jc.pl | 8 | ||||
-rw-r--r-- | bin/oe.pl | 14 | ||||
-rw-r--r-- | bin/pe.pl | 18 | ||||
-rw-r--r-- | bin/pos.pl | 4 | ||||
-rw-r--r-- | bin/rc.pl | 4 | ||||
-rw-r--r-- | bin/rp.pl | 38 |
20 files changed, 93 insertions, 91 deletions
diff --git a/UI/employee.html b/UI/employee.html index de6f4c8e..a9eacc2e 100644 --- a/UI/employee.html +++ b/UI/employee.html @@ -120,13 +120,13 @@ formatting desired. <div class="input_row" id="startdate_row"> <span class="input_label"><?lsmb text('Start Date') ?></span> <span class="input_field"> - <input type="text" name="startdate" maxlength="11" value="<?lsmb startdate ?>" /> + <input class="date" type="text" name="startdate" maxlength="11" value="<?lsmb startdate ?>" /> </span> </div> <div class="input_row" id="enddate_row"> <span class="input_label"><?lsmb text('End Date') ?></span> <span class="input_field"> - <input type="text" name="enddate" maxlength="11" value="<?lsmb enddate ?>" /> + <input class="date" type="text" name="enddate" maxlength="11" value="<?lsmb enddate ?>" /> </span> </div> <div class="input_row" id="ssn_row"> @@ -138,7 +138,7 @@ formatting desired. <div class="input_row" id="dob_row"> <span class="input_label"><?lsmb text('DOB') ?></span> <span class="input_field"> - <input type="text" maxlength="11" name="dob" value="<?lsmb dob ?>" /> + <input class="date" type="text" maxlength="11" name="dob" value="<?lsmb dob ?>" /> </span> </div> <div class="input_row" id="iban_row"> diff --git a/UI/voucher.html b/UI/voucher.html index 4cf6bf29..c0c6aa6a 100644 --- a/UI/voucher.html +++ b/UI/voucher.html @@ -18,16 +18,18 @@ <div id="filter"> <div id="date_from" class="header_entry"> <span class="label" id="date_from_label">Date From:</span> - <span class="field" id="date_from_field"><input name="date_from"></span> + <span class="field" id="date_from_field"> + <input type="text" class="date" name="date_from"></span> </div> <div id="date_to" class="header_entry"> <span class="label" id="date_to_label">Date To:</span> - <span class="field" id="date_to_field"><input name="date_to"></span> + <span class="field" id="date_to_field"> + <input name="date_to" class="date" type="text"></span> </div> <div id="include_date" class="header_entry"> <span class="label" id="include_date_label">And Date:</span> <span class="field" id="include_date_field"> - <input name="include_date"> + <input name="include_date" class="date" type="text"> </span> </div> </body> @@ -807,7 +807,7 @@ qq|<td align=center><input name="paid_$i" size=11 value=$form->{"paid_$i"}></td> qq|<td align=center><select name="$form->{ARAP}_paid_$i">$form->{"select$form->{ARAP}_paid_$i"}</select></td>|; $column_data{exchangerate} = qq|<td align=center>$exchangerate</td>|; $column_data{datepaid} = -qq|<td align=center><input name="datepaid_$i" size=11 value=$form->{"datepaid_$i"}></td>|; +qq|<td align=center><input class="date" name="datepaid_$i" size=11 value=$form->{"datepaid_$i"}></td>|; $column_data{source} = qq|<td align=center><input name="source_$i" size=11 value="$form->{"source_$i"}"></td>|; $column_data{memo} = @@ -1434,9 +1434,9 @@ qq|<input name="l_transdate" class=checkbox type=checkbox value=Y checked> | </tr> <tr> <th align=right nowrap>| . $locale->text('From') . qq|</th> - <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdatefrom size=11 title="$myconfig{dateformat}"></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdateto size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom </table> @@ -2086,7 +2086,7 @@ sub display_taxes { print qq|</th> <td><input name="taxrate_$i" size=6 value=$form->{"taxrate_$i"}></td> <td><input name="taxnumber_$i" value="$form->{"taxnumber_$i"}"></td> - <td><input name="validto_$i" size=11 value="$form->{"validto_$i"}" title="$myconfig{dateformat}"></td> + <td><input class="date" name="validto_$i" size=11 value="$form->{"validto_$i"}" title="$myconfig{dateformat}"></td> <td><input name="pass_$i" size=6 value="$form->{"pass_$i"}"></td> <td><select name="taxmodule_id_$i" size=1>|; foreach my $taxmodule ( sort keys %$form ) { @@ -2515,7 +2515,7 @@ sub audit_control { </tr> <tr> <th align="right">| . $locale->text('Close Books up to') . qq|</th> - <td><input name=closedto size=11 title="$myconfig{dateformat}" value=$form->{closedto}></td> + <td><input class="date" name=closedto size=11 title="$myconfig{dateformat}" value=$form->{closedto}></td> </tr> <tr> <th align="right">| . $locale->text('Activate Audit trail') . qq|</th> @@ -2527,7 +2527,7 @@ sub audit_control { </tr><!-- SC: Disabling audit trail deletion <tr> <th align="right">| . $locale->text('Remove Audit trail up to') . qq|</th> - <td><input name=removeaudittrail size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=removeaudittrail size=11 title="$myconfig{dateformat}"></td> </tr> --> </table> </td> @@ -2803,7 +2803,7 @@ sub yearend { <table> <tr> <th align="right">| . $locale->text('Yearend') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}" value=$todate></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}" value=$todate></td> </tr> <tr> <th align="right">| . $locale->text('Reference') . qq|</th> diff --git a/bin/arap.pl b/bin/arap.pl index bce15aae..782cc077 100644 --- a/bin/arap.pl +++ b/bin/arap.pl @@ -601,7 +601,7 @@ sub schedule { $nextdate = qq| <tr> <th align=right nowrap>| . $locale->text('Next Date') . qq|</th> - <td><input name=recurringnextdate size=11 title="($myconfig{'dateformat'})" value=$form->{recurringnextdate}></td> + <td><input class="date" name=recurringnextdate size=11 title="($myconfig{'dateformat'})" value=$form->{recurringnextdate}></td> </tr> |; } @@ -804,7 +804,7 @@ sub schedule { </tr> <tr> <th align=right nowrap>| . $locale->text('Startdate') . qq|</th> - <td><input name=recurringstartdate size=11 title="($myconfig{'dateformat'})" value=$form->{recurringstartdate}></td> + <td><input class="date" name=recurringstartdate size=11 title="($myconfig{'dateformat'})" value=$form->{recurringstartdate}></td> </tr> $nextdate </table> @@ -184,9 +184,9 @@ sub search { $label{$form->{type}}{quonumber} <tr> <th align=right nowrap>| . $locale->text('From') . qq|</th> - <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdatefrom size=11 title="$myconfig{dateformat}"></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdateto size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom </table> @@ -281,9 +281,9 @@ qq|<option value="$_->{description}--$_->{id}">$_->{description}\n|; $department <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=fromdate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=fromdate size=11 title="$myconfig{dateformat}"></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom <tr> @@ -333,9 +333,9 @@ sub payments_header { . qq| | . $locale->text('From') . qq|</th> - <td><input name=duedatefrom value="$form->{duedatefrom}" title="$myconfig{dateformat}" size=11></td> + <td><input class="date" name=duedatefrom value="$form->{duedatefrom}" title="$myconfig{dateformat}" size=11></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=duedateto value="$form->{duedateto}" title="$myconfig{dateformat}" size=11></td> + <td><input class="date" name=duedateto value="$form->{duedateto}" title="$myconfig{dateformat}" size=11></td> </tr> </table> </td> @@ -357,7 +357,7 @@ sub payments_header { </tr> <tr> <th align=right nowrap>| . $locale->text('Date') . qq|</th> - <td><input name=datepaid value="$form->{datepaid}" title="$myconfig{dateformat}" size=11></td> + <td><input class="date" name=datepaid value="$form->{datepaid}" title="$myconfig{dateformat}" size=11></td> </tr> $exchangerate </table> @@ -1087,7 +1087,7 @@ sub payment_header { </tr> <tr> <th align=right nowrap>| . $locale->text('Date') . qq|</th> - <td><input name=datepaid value="$form->{datepaid}" title="$myconfig{dateformat}" size=11></td> + <td><input class="date" name=datepaid value="$form->{datepaid}" title="$myconfig{dateformat}" size=11></td> <input type=hidden name=olddatepaid value=$form->{olddatepaid}> </tr> $exchangerate @@ -112,9 +112,9 @@ sub history { <table> <tr> <th>| . $locale->text('From') . qq|</th> - <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdatefrom size=11 title="$myconfig{dateformat}"></td> <th>| . $locale->text('To') . qq|</th> - <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdateto size=11 title="$myconfig{dateformat}"></td> </tr> <tr> <td></td> @@ -252,9 +252,9 @@ sub transactions { <table> <tr> <th>| . $locale->text('From') . qq|</th> - <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdatefrom size=11 title="$myconfig{dateformat}"></td> <th>| . $locale->text('To') . qq|</th> - <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdateto size=11 title="$myconfig{dateformat}"></td> </tr> <tr> <td></td> @@ -547,9 +547,9 @@ sub search_name { <th align=right nowrap>| . $locale->text('Startdate') . qq|</th> <td>| . $locale->text('From') - . qq| <input name=startdatefrom size=11 title="$myconfig{dateformat}"> | + . qq| <input class="date" name=startdatefrom size=11 title="$myconfig{dateformat}"> | . $locale->text('To') - . qq| <input name=startdateto size=11 title="$myconfig{dateformat}"></td> + . qq| <input class="date" name=startdateto size=11 title="$myconfig{dateformat}"></td> </tr> </table> </td> @@ -1894,9 +1894,9 @@ s/(<option value="\Q$form->{employee}--$form->{employee_id}\E")/$1 selected/; $tax <tr> <th align=right>| . $locale->text('Startdate') . qq|</th> - <td><input name=startdate size=11 title="$myconfig{dateformat}" value=$form->{startdate}></td> + <td><input class="date" name=startdate size=11 title="$myconfig{dateformat}" value=$form->{startdate}></td> <th align=right>| . $locale->text('Enddate') . qq|</th> - <td><input name=enddate size=11 title="$myconfig{dateformat}" value=$form->{enddate}></td> + <td><input class="date" name=enddate size=11 title="$myconfig{dateformat}" value=$form->{enddate}></td> </tr> <tr> <th align=right>| . $locale->text('Credit Limit') . qq|</th> @@ -341,9 +341,9 @@ qq|<input name="l_description" class=checkbox type=checkbox value=Y checked> | </tr> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=datefrom size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=datefrom size=11 title="$myconfig{dateformat}"></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=dateto size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=dateto size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom <tr> @@ -1140,7 +1140,7 @@ qq|<textarea name=notes rows=$rows cols=50 wrap=soft>$form->{notes}</textarea>|; <th align=right>| . $locale->text('Reference') . qq|</th> <td><input name=reference size=20 value="$form->{reference}"></td> <th align=right>| . $locale->text('Date') . qq|</th> - <td><input name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> + <td><input class="date" name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> </tr> $department <tr> @@ -149,9 +149,9 @@ qq|<input name="l_startdate" type=checkbox class=checkbox value=Y checked> | <th align=right nowrap>| . $locale->text('Startdate') . qq|</th> <td>| . $locale->text('From') - . qq| <input name=startdatefrom size=11 title="$myconfig{dateformat}"> | + . qq| <input class="date" name=startdatefrom size=11 title="$myconfig{dateformat}"> | . $locale->text('To') - . qq| <input name=startdateto size=11 title="$myconfig{dateformat}"></td> + . qq| <input class="date" name=startdateto size=11 title="$myconfig{dateformat}"></td> </tr> <tr valign=top> <th align=right nowrap>| . $locale->text('Notes') . qq|</th> @@ -708,11 +708,11 @@ sub employee_header { </tr> <tr> <th align=right nowrap>| . $locale->text('Startdate') . qq|</th> - <td><input name=startdate size=11 title="$myconfig{dateformat}" value=$form->{startdate}></td> + <td><input class="date" name=startdate size=11 title="$myconfig{dateformat}" value=$form->{startdate}></td> </tr> <tr> <th align=right nowrap>| . $locale->text('Enddate') . qq|</th> - <td><input name=enddate size=11 title="$myconfig{dateformat}" value=$form->{enddate}></td> + <td><input class="date" name=enddate size=11 title="$myconfig{dateformat}" value=$form->{enddate}></td> </tr> <tr> @@ -992,9 +992,9 @@ sub search { <table> <tr> <td nowrap><b>| . $locale->text('From') . qq|</b> - <input name=transdatefrom size=11 title="$myconfig{dateformat}"> + <input class="date" name=transdatefrom size=11 title="$myconfig{dateformat}"> <b>| . $locale->text('To') . qq|</b> - <input name=transdateto size=11 title="$myconfig{dateformat}"></td> + <input class="date" name=transdateto size=11 title="$myconfig{dateformat}"></td> </tr> <tr> <td nowrap><input name=method class=radio type=radio value=accrual checked>| @@ -2907,8 +2907,8 @@ s/option>$form->{"customercurr_$i"}/option selected>$form->{"customercurr_$i"}/; . $form->format_amount( \%myconfig, $form->{"customerprice_$i"}, 2 ) . qq|></td> $currency - <td><input name="validfrom_$i" size=11 title="$myconfig{dateformat}" value="$form->{"validfrom_$i"}"></td> - <td><input name="validto_$i" size=11 title="$myconfig{dateformat}" value="$form->{"validto_$i"}"></td> + <td><input class="date" name="validfrom_$i" size=11 title="$myconfig{dateformat}" value="$form->{"validfrom_$i"}"></td> + <td><input class="date" name="validto_$i" size=11 title="$myconfig{dateformat}" value="$form->{"validto_$i"}"></td> </tr> |; } @@ -441,11 +441,11 @@ sub form_header { </tr> <tr> <th align=right nowrap>| . $locale->text('Invoice Date') . qq|</th> - <td><input name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> + <td><input class="date" name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> </tr> <tr> <th align=right nowrap>| . $locale->text('Due Date') . qq|</th> - <td><input name=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}></td> + <td><input class="date" name=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}></td> </tr> <tr> <th align=right nowrap>| . $locale->text('PO Number') . qq|</th> @@ -640,7 +640,7 @@ qq|<td align=center><input name="paid_$i" size=11 value=$form->{"paid_$i"}></td> $column_data{"AP_paid_$i"} = qq|<td align=center><select name="AP_paid_$i">$form->{"selectAP_paid_$i"}</select></td>|; $column_data{"datepaid_$i"} = -qq|<td align=center><input name="datepaid_$i" size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}></td>|; +qq|<td align=center><input class="date" name="datepaid_$i" size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}></td>|; $column_data{"source_$i"} = qq|<td align=center><input name="source_$i" size=11 value="$form->{"source_$i"}"></td>|; $column_data{"memo_$i"} = @@ -484,11 +484,11 @@ sub form_header { </tr> <tr> <th align=right>| . $locale->text('Invoice Date') . qq|</th> - <td><input name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> + <td><input class="date" name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> </tr> <tr> <th align=right>| . $locale->text('Due Date') . qq|</th> - <td><input name=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}></td> + <td><input class="date" name=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}></td> </tr> <tr> <th align=right nowrap>| . $locale->text('PO Number') . qq|</th> @@ -689,7 +689,7 @@ qq|<td align=center><input name="paid_$i" size=11 value=$form->{"paid_$i"}></td> $column_data{AR_paid} = qq|<td align=center><select name="AR_paid_$i">$form->{"selectAR_paid_$i"}</select></td>|; $column_data{datepaid} = -qq|<td align=center><input name="datepaid_$i" size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}></td>|; +qq|<td align=center><input class="date" name="datepaid_$i" size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}></td>|; $column_data{source} = qq|<td align=center><input name="source_$i" size=11 value="$form->{"source_$i"}"></td>|; $column_data{memo} = @@ -189,10 +189,10 @@ sub search { <th align=right nowrap>| . $locale->text('Startdate') . qq|</th> <td>| . $locale->text('From') - . qq| <input name=startdatefrom size=11 title="$myconfig{dateformat}"> + . qq| <input class="date" name=startdatefrom size=11 title="$myconfig{dateformat}"> | . $locale->text('To') - . qq| <input name=startdateto size=11 title="$myconfig{dateformat}"></td> + . qq| <input class="date" name=startdateto size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom |; @@ -600,7 +600,7 @@ qq|<textarea name=description rows=$rows cols=46 wrap=soft>$form->{description}< </tr> <tr> <th align=right nowrap>| . $locale->text('Date worked') . qq|</th> - <td><input name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> + <td><input class="date" name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> </tr> <tr> <th align=right nowrap>$laborlabel</th> @@ -872,7 +872,7 @@ qq|<textarea name=description rows=$rows cols=46 wrap=soft>$form->{description}< </tr> <tr> <th align=right nowrap>| . $locale->text('Date') . qq|</th> - <td><input name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> + <td><input class="date" name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> </tr> <tr> <th align=right nowrap>| . $locale->text('Part Number') . qq|</th> @@ -447,11 +447,11 @@ sub form_header { </tr> <tr> <th align=right nowrap>| . $locale->text('Order Date') . qq|</th> - <td><input name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> + <td><input class="date" name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> </tr> <tr> <th align=right nowrap=true>| . $locale->text('Required by') . qq|</th> - <td><input name=reqdate size=11 title="$myconfig{dateformat}" value=$form->{reqdate}></td> + <td><input class="date" name=reqdate size=11 title="$myconfig{dateformat}" value=$form->{reqdate}></td> </tr> <tr> <th align=right nowrap>| . $locale->text('PO Number') . qq|</th> @@ -513,11 +513,11 @@ sub form_header { $ordnumber .= qq| <tr> <th align=right nowrap>| . $locale->text('Quotation Date') . qq|</th> - <td><input name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> + <td><input class="date" name=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td> </tr> <tr> <th align=right nowrap=true>$reqlabel</th> - <td><input name=reqdate size=11 title="$myconfig{dateformat}" value=$form->{reqdate}></td> + <td><input class="date" name=reqdate size=11 title="$myconfig{dateformat}" value=$form->{reqdate}></td> </tr> |; @@ -1445,9 +1445,9 @@ qq|<input name="l_name" class=checkbox type=checkbox value=Y checked> $vclabel|; </tr> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=transdatefrom size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdatefrom size=11 title="$myconfig{dateformat}"></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=transdateto size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=transdateto size=11 title="$myconfig{dateformat}"></td> </tr> <input type=hidden name=sort value=transdate> $selectfrom @@ -2756,7 +2756,7 @@ sub display_ship_receive { </tr> <tr> <th align=right nowrap>$shipped</th> - <td><input name=shippingdate size=11 value=$form->{shippingdate}></td> + <td><input class="date" name=shippingdate size=11 value=$form->{shippingdate}></td> </tr> </table> </td> @@ -340,9 +340,9 @@ qq|<textarea name=notes rows=$rows cols=40 wrap=soft>$form->{notes}</textarea>|; $name <tr> <th align=right>| . $locale->text('Startdate') . qq|</th> - <td><input name=startdate size=11 title="($myconfig{dateformat})" value=$form->{startdate}></td> + <td><input class="date" name=startdate size=11 title="($myconfig{dateformat})" value=$form->{startdate}></td> <th align=right>| . $locale->text('Enddate') . qq|</th> - <td><input name=enddate size=11 title="($myconfig{dateformat})" value=$form->{enddate}></td> + <td><input class="date" name=enddate size=11 title="($myconfig{dateformat})" value=$form->{enddate}></td> </tr> $production </table> @@ -696,9 +696,9 @@ sub search { <th align=right>| . $locale->text('Startdate') . qq|</th> <td>| . $locale->text('From') - . qq| <input name=startdatefrom size=11 title="($myconfig{'dateformat'})">| + . qq| <input class="date" name=startdatefrom size=11 title="($myconfig{'dateformat'})">| . $locale->text('To') . qq| - <input name=startdateto size=11 title="($myconfig{'dateformat'})"></td> + <input class="date" name=startdateto size=11 title="($myconfig{'dateformat'})"></td> </tr> |; @@ -752,7 +752,7 @@ sub search { $fromto = qq| <tr> <th align=right nowrap>| . $locale->text('As of') . qq|</th> - <td><input name=stockingdate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=stockingdate size=11 title="$myconfig{dateformat}"></td> </tr> |; @@ -1215,9 +1215,9 @@ qq|<textarea name="description" rows=$rows cols=60 style="width: 100%" wrap=soft $name <tr> <th align=right>| . $locale->text('Startdate') . qq|</th> - <td><input name=startdate size=11 title="($myconfig{dateformat})" value=$form->{startdate}></td> + <td><input class="date" name=startdate size=11 title="($myconfig{dateformat})" value=$form->{startdate}></td> <th align=right>| . $locale->text('Enddate') . qq|</th> - <td><input name=enddate size=11 title="($myconfig{dateformat})" value=$form->{enddate}></td> + <td><input class="date" name=enddate size=11 title="($myconfig{dateformat})" value=$form->{enddate}></td> </tr> </table> </td> @@ -2450,10 +2450,10 @@ sub project_sales_order { <th align=right nowrap>| . $locale->text('Transaction Dates') . qq|</th> <td>| . $locale->text('From') - . qq| <input name=transdatefrom size=11 title="$myconfig{dateformat}"> + . qq| <input class="date" name=transdatefrom size=11 title="$myconfig{dateformat}"> | . $locale->text('To') - . qq| <input name=transdateto size=11 title="$myconfig{dateformat}"></td> + . qq| <input class="date" name=transdateto size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom |; @@ -1186,9 +1186,9 @@ sub receipts { <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> + <td><input class="date" name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom <input type=hidden name=sort value=transdate> @@ -151,9 +151,9 @@ sub reconciliation { </tr> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td colspan=3><input name=fromdate size=11 title="$myconfig{dateformat}"> <b>| + <td colspan=3><input class="date" name=fromdate size=11 title="$myconfig{dateformat}"> <b>| . $locale->text('To') - . qq|</b> <input name=todate size=11 title="$myconfig{dateformat}"></td> + . qq|</b> <input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom $cleared @@ -243,9 +243,9 @@ qq|<option value="$_->{projectnumber}--$_->{id}">$_->{projectnumber}\n|; <input type=hidden name=nextsub value=generate_projects> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> + <td><input class="date" name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom </table> @@ -271,9 +271,9 @@ qq|<option value="$_->{projectnumber}--$_->{id}">$_->{projectnumber}\n|; <input type=hidden name=nextsub value=generate_inv_activity> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> + <td><input class="date" name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> <tr> <th align=right>| . $locale->text('Period') . qq|</th> @@ -305,9 +305,9 @@ qq|<option value="$_->{projectnumber}--$_->{id}">$_->{projectnumber}\n|; <input type=hidden name=nextsub value=generate_income_statement> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> + <td><input class="date" name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> |; @@ -338,9 +338,9 @@ qq|<option value="$_->{projectnumber}--$_->{id}">$_->{projectnumber}\n|; </tr> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=comparefromdate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=comparefromdate size=11 title="$myconfig{dateformat}"></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=comparetodate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=comparetodate size=11 title="$myconfig{dateformat}"></td> </tr> |; @@ -394,7 +394,7 @@ qq|<option value="$_->{projectnumber}--$_->{id}">$_->{projectnumber}\n|; <input type=hidden name=nextsub value=generate_balance_sheet> <tr> <th align=right>| . $locale->text('as at') . qq|</th> - <td><input name=asofdate size=11 title="$myconfig{dateformat}" value=$form->{asofdate}></td> + <td><input class="date" name=asofdate size=11 title="$myconfig{dateformat}" value=$form->{asofdate}></td> |; if ($selectfrom) { @@ -410,7 +410,7 @@ qq|<option value="$_->{projectnumber}--$_->{id}">$_->{projectnumber}\n|; </tr> <th align=right nowrap>| . $locale->text('Compare to') . qq|</th> - <td><input name=compareasofdate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=compareasofdate size=11 title="$myconfig{dateformat}"></td> <td> |; @@ -461,9 +461,9 @@ qq|<option value="$_->{projectnumber}--$_->{id}">$_->{projectnumber}\n|; <input type=hidden name=nextsub value=generate_trial_balance> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> + <td><input class="date" name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom </table> @@ -496,9 +496,9 @@ qq|<option value="$_->{projectnumber}--$_->{id}">$_->{projectnumber}\n|; <input type=hidden name=nextsub value=generate_tax_report> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> + <td><input class="date" name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom $summary @@ -628,9 +628,9 @@ qq|<input name=accno class=radio type=radio value="gifi_$ref->{accno}"> $re <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> + <td><input class="date" name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom $summary @@ -720,7 +720,7 @@ qq|<input name=accno class=radio type=radio value="gifi_$ref->{accno}"> $re </tr> <tr> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> $selectto <input type=hidden name=type value=statement> @@ -802,9 +802,9 @@ qq|<input name=accno class=radio type=radio value="gifi_$ref->{accno}"> $re </tr> <tr> <th align=right>| . $locale->text('From') . qq|</th> - <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> + <td><input class="date" name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td> <th align=right>| . $locale->text('To') . qq|</th> - <td><input name=todate size=11 title="$myconfig{dateformat}"></td> + <td><input class="date" name=todate size=11 title="$myconfig{dateformat}"></td> </tr> $selectfrom <tr> |