summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pos.pl5
1 files changed, 2 insertions, 3 deletions
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|<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"}'>|;