Revision 029d9955
Von Sven Schöling vor mehr als 15 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
893 | 893 |
$form->{invdate} = $form->{transdate}; |
894 | 894 |
my %saved_variables = map +( $_ => $form->{$_} ), qw(AP AP_amount_1 taxchart_1); |
895 | 895 |
|
896 |
&check_name("vendor"); |
|
896 |
my $vendor_changed = &check_name("vendor");
|
|
897 | 897 |
|
898 | 898 |
$form->{AP} = $saved_variables{AP}; |
899 | 899 |
if ($saved_variables{AP_amount_1} =~ m/.--./) { |
... | ... | |
928 | 928 |
$form->{oldtotalpaid} = $totalpaid; |
929 | 929 |
|
930 | 930 |
# notes |
931 |
$form->{notes} = $form->{intnotes}; |
|
931 |
$form->{notes} = $form->{intnotes} if $vendor_changed;
|
|
932 | 932 |
|
933 | 933 |
&display_form; |
934 | 934 |
|
Auch abrufbar als: Unified diff
Bugfix: Kreditorenbuchungen Bemerkungen gingen beim Update verloren.