summaryrefslogtreecommitdiff
path: root/bin/rp.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-07 21:11:41 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-07 21:11:41 +0000
commitb7f5fa4dcb610b04ef142d9367ffd93e4d697c8e (patch)
treeadfb69dcdb08b15ada180bcde58c0320984bcd85 /bin/rp.pl
parentcfd99074f5fb0b24970bde9ba3f087cd4f210931 (diff)
Applying and completing the patch for adding date classes to all fields.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1536 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/rp.pl')
-rw-r--r--bin/rp.pl38
1 files changed, 19 insertions, 19 deletions
diff --git a/bin/rp.pl b/bin/rp.pl
index 533582f5..a444f7b3 100644
--- a/bin/rp.pl
+++ b/bin/rp.pl
@@ -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}">&nbsp;$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}">&nbsp;$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}">&nbsp;$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>