summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-06 21:14:20 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-06 21:14:20 +0000
commit71cb342705bfd86c67aece91dfb6f533f9859603 (patch)
tree0f9d2d78b70fdb18d1b63ccd129095eee3d3f1c9
parent030b169a8f85ba045fb1c0385c49b3e41084289f (diff)
Correcting minor bug in till account selection.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1525 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--bin/pos.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/pos.pl b/bin/pos.pl
index 90a12e58..9983e33d 100644
--- a/bin/pos.pl
+++ b/bin/pos.pl
@@ -513,10 +513,9 @@ qq|<td><input name="source_$i" size=10 value="$form->{"source_$i"}"></td>|;
$column_data{cctrack} = qq|<td><input type="text" name="cctrack_$i"
value="| . $form->{"cctrack_$i"} . qq|" size="3"></td>|;
- if ( $pos_config{"coa_prefix"} ) {
+ if ( $pos_config{till_accno} ) {
if ( !$form->{"AR_paid_$i"} ) {
- $form->{"AR_paid_$i"} =
- $pos_config{"coa_prefix"} . '.' . $pos_config{"till"};
+ $form->{"AR_paid_$i"} = $pos_config{till_accno};
}
$column_data{AR_paid} = qq|<input type=hidden name="AR_paid_$i"
value='$form->{"AR_paid_$i"}'>|;