From 6bd15a9cdada79bdc7706fe895dd3d4b91b36b09 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 6 Sep 2007 21:10:14 +0000 Subject: Correcting minor bug in till account selection. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1524 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/pos.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin/pos.pl') diff --git a/bin/pos.pl b/bin/pos.pl index caad92a3..e1f26c8c 100755 --- a/bin/pos.pl +++ b/bin/pos.pl @@ -510,10 +510,9 @@ qq||; $column_data{cctrack} = qq||; - 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||; -- cgit v1.2.3