summaryrefslogtreecommitdiff
path: root/bin/jc.pl
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-18 15:05:56 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-18 15:05:56 +0000
commitbbea778560bb6df777f98adead64a0e76f9787f8 (patch)
treef0b0c500a686d2cde23bae49b85650b11f7cf001 /bin/jc.pl
parentdb61c90de910fcaa179ed764e8e588a23584a3a1 (diff)
More changes for similar issues to bug 1795858
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1632 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/jc.pl')
-rwxr-xr-xbin/jc.pl40
1 files changed, 20 insertions, 20 deletions
diff --git a/bin/jc.pl b/bin/jc.pl
index 82a2992b..6de1a832 100755
--- a/bin/jc.pl
+++ b/bin/jc.pl
@@ -491,7 +491,7 @@ qq|<textarea name=description rows=$rows cols=46 wrap=soft>$form->{description}<
$projectlabel = $locale->text('Job Number');
$laborlabel = $locale->text('Labor Code');
- $rate = qq|<input type=hidden name=sellprice value=$form->{sellprice}>|;
+ $rate = qq|<input type="hidden" name="sellprice" value="$form->{sellprice}">|;
}
else {
@@ -509,13 +509,13 @@ qq|<textarea name=description rows=$rows cols=46 wrap=soft>$form->{description}<
$rate = qq|
<tr>
<th align=right nowrap>| . $locale->text('Chargeout Rate') . qq|</th>
- <td><input name=sellprice value=$form->{sellprice}></td>
+ <td><input name="sellprice" value="$form->{sellprice}"></td>
<th align=right nowrap>| . $locale->text('Total') . qq|</th>
<td>$form->{amount}</td>
</tr>
<tr>
<th align=right nowrap>| . $locale->text('Allocated') . qq|</th>
- <td><input name=allocated value=$form->{allocated}></td>
+ <td><input name="allocated" value="$form->{allocated}"></td>
</tr>
|;
}
@@ -531,18 +531,18 @@ qq|<textarea name=description rows=$rows cols=46 wrap=soft>$form->{description}<
<th align=right nowrap>| . $locale->text('Allocated') . qq|</th>
<td>$form->{allocated}</td>
</tr>
- <input type=hidden name=sellprice value=$form->{sellprice}>
- <input type=hidden name=allocated value=$form->{allocated}>
+ <input type=hidden name=sellprice value="$form->{sellprice}">
+ <input type=hidden name=allocated value="$form->{allocated}">
|;
}
}
if ( $myconfig{role} eq 'user' ) {
$charge =
- qq|<input type=hidden name=qty value=$form->{qty}>$form->{qty}|;
+ qq|<input type=hidden name=qty value="$form->{qty}">$form->{qty}|;
}
else {
- $charge = qq|<input name=qty value=$form->{qty}>|;
+ $charge = qq|<input name=qty value="$form->{qty}">|;
}
if ( ( $rows = $form->numtextrows( $form->{notes}, 40, 6 ) ) < 2 ) {
@@ -598,7 +598,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 name=transdate size=11 title="$myconfig{dateformat}" value="$form->{transdate}"></td>
</tr>
<tr>
<th align=right nowrap>$laborlabel</th>
@@ -613,9 +613,9 @@ qq|<textarea name=description rows=$rows cols=46 wrap=soft>$form->{description}<
<td>
<table>
<tr>
- <td><input name=inhour title="hh" size=3 maxlength=2 value=$form->{inhour}></td>
- <td><input name=inmin title="mm" size=3 maxlength=2 value=$form->{inmin}></td>
- <td><input name=insec title="ss" size=3 maxlength=2 value=$form->{insec}></td>
+ <td><input name=inhour title="hh" size=3 maxlength=2 value="$form->{inhour}"></td>
+ <td><input name=inmin title="mm" size=3 maxlength=2 value="$form->{inmin}"></td>
+ <td><input name=insec title="ss" size=3 maxlength=2 value="$form->{insec}"></td>
</tr>
</table>
</td>
@@ -623,9 +623,9 @@ qq|<textarea name=description rows=$rows cols=46 wrap=soft>$form->{description}<
<td>
<table>
<tr>
- <td><input name=outhour title="hh" size=3 maxlength=2 value=$form->{outhour}></td>
- <td><input name=outmin title="mm" size=3 maxlength=2 value=$form->{outmin}></td>
- <td><input name=outsec title="ss" size=3 maxlength=2 value=$form->{outsec}></td>
+ <td><input name=outhour title="hh" size=3 maxlength=2 value="$form->{outhour}"></td>
+ <td><input name=outmin title="mm" size=3 maxlength=2 value="$form->{outmin}"></td>
+ <td><input name=outsec title="ss" size=3 maxlength=2 value="$form->{outsec}"></td>
</tr>
</table>
</td>
@@ -636,7 +636,7 @@ qq|<textarea name=description rows=$rows cols=46 wrap=soft>$form->{description}<
</tr>
<tr>
<th align=right nowrap>| . $locale->text('Non-chargeable') . qq|</th>
- <td><input name=noncharge value=$form->{noncharge}></td>
+ <td><input name=noncharge value="$form->{noncharge}"></td>
</tr>
<tr>
<th align=right nowrap>| . $locale->text('Chargeable') . qq|</th>
@@ -870,7 +870,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 name=transdate size=11 title="$myconfig{dateformat}" value="$form->{transdate}"></td>
</tr>
<tr>
<th align=right nowrap>| . $locale->text('Part Number') . qq|</th>
@@ -882,9 +882,9 @@ qq|<textarea name=description rows=$rows cols=46 wrap=soft>$form->{description}<
</tr>
<tr>
<th align=right nowrap>| . $locale->text('Qty') . qq|</th>
- <td><input name=qty size=6 value=$form->{qty}>
+ <td><input name=qty size=6 value="$form->{qty}">
<b>| . $locale->text('Cost') . qq|</b>
- <input name=sellprice size=10 value=$form->{sellprice}></td>
+ <input name=sellprice size=10 value="$form->{sellprice}"></td>
</tr>
<tr>
<th align=right nowrap>| . $locale->text('Total') . qq|</th>
@@ -2059,13 +2059,13 @@ sub print_options {
$media =~ s/(<option value="\Q$form->{media}\E")/$1 selected/;
print qq|
- <table width=100%>
+ <table width="100%">
<tr>
<td>$type</td>
<td>$lang</td>
<td>$format</td>
<td>$media</td>
- <td align=right width=90%>
+ <td align="right" width="90%">
|;
if ( $form->{printed} =~ /$form->{formname}/ ) {