In Debitoren/Kreditorenbuchungen wird jetzt die globale Projektnummer als
Projektnummer in der letzten Position übernommen.
Behebt #1939.
NTI($cgi->popup_menu('-name' => "project_id_$i",
'-values' => \@project_values,
'-labels' => \%project_labels,
- '-default' => $form->{"project_id_$i"} ));
+ '-default' => ($i==$form->{rowcount})? $form->{globalproject_id} : $form->{"project_id_$i"} ));
print qq|
<tr>
my $transaction = {
amount => $form->{"amount_$i"},
tax => $form->{"tax_$i"},
- project_id => $form->{"project_id_$i"},
+ project_id => ($i==$form->{rowcount}) ? $form->{globalproject_id} : $form->{"project_id_$i"},
};
my $selected_accno_full;