From c08b6d2167ed415b5008f9892a67a23ec32f0fc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 29 Jan 2014 13:24:10 +0100 Subject: [PATCH] Debitorenbuchungen auch mit Vorauswahl Umlaufkonto vorbelegen aber nicht bei bereits bebuchten Konten (Positionen). Genauso behandeln wie Kreditorenbuchungen closes #2438 --- bin/mozilla/ar.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index 480507bb3..5bb45bde8 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -409,7 +409,7 @@ sub form_header { gldate => $form->{"gldate_$i"}, }; - # default account for current assets (i.e. 1801 - SKR04) + # default account for current assets (i.e. 1801 - SKR04) if no account is selected $form->{accno_arap} = IS->get_standard_accno_current_assets(\%myconfig, \%$form); $payment->{selectAR_paid} = @@ -417,7 +417,7 @@ sub form_header { '-id' => "AR_paid_$i", '-values' => \@AR_paid_values, '-labels' => \%chart_labels, - '-default' => $form->{accno_arap})); + '-default' => $payment->{AR_paid} || $form->{accno_arap})); -- 2.20.1