diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-06 21:10:14 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-06 21:10:14 +0000 |
commit | 6bd15a9cdada79bdc7706fe895dd3d4b91b36b09 (patch) | |
tree | 6304d4dd6f471ca27c234737c14c1c853948142b /bin/pos.pl | |
parent | db14e924017649a1e229e3a221787877d4f7d976 (diff) |
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
Diffstat (limited to 'bin/pos.pl')
-rwxr-xr-x | bin/pos.pl | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -510,10 +510,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"}'>|; |