summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-31 05:29:32 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-31 05:29:32 +0000
commita5cca7eafe505579b1d69a8782f4c0d69f9a8199 (patch)
treed6791206b4dbc945eea77f48d32a05edf3a53599 /bin
parent29c86d0d226bf46c96ff9eedde0232d016e32722 (diff)
1) Fixing bug which hides discount input in POS screen.
2) Fixing bug: Obsolete items show on short parts report git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1828 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pos.pl7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/pos.pl b/bin/pos.pl
index 873e2a24..66e6e93f 100755
--- a/bin/pos.pl
+++ b/bin/pos.pl
@@ -808,15 +808,10 @@ sub display_row {
}
}
- if ( $i < $numrows ) {
- $column_data{discount} =
+ $column_data{discount} =
qq|<td align="right"><input name="discount_$i" size="3" value="|
. $form->format_amount( \%myconfig, $form->{"discount_$i"} )
. qq|"></td>|;
- }
- else {
- $column_data{discount} = qq|<td></td>|;
- }
$discount =
$form->round_amount(