Revision 0048944b
Von freiphone vor mehr als 7 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
1194 | 1194 |
my $closedto = $::form->datetonum($::form->{closedto}, \%::myconfig); |
1195 | 1195 |
my $is_closed = $transdate <= $closedto; |
1196 | 1196 |
|
1197 |
my $change_never = $::instance_conf->get_ar_changeable == 0;
|
|
1198 |
my $change_on_same_day_only = $::instance_conf->get_ar_changeable == 2 && ($::form->current_date(\%::myconfig) ne $::form->{gldate});
|
|
1197 |
my $change_never = $::instance_conf->get_ap_changeable == 0;
|
|
1198 |
my $change_on_same_day_only = $::instance_conf->get_ap_changeable == 2 && ($::form->current_date(\%::myconfig) ne $::form->{gldate});
|
|
1199 | 1199 |
|
1200 | 1200 |
my $is_storno = IS->is_storno(\%::myconfig, $::form, 'ap', $::form->{id}); |
1201 | 1201 |
my $has_storno = IS->has_storno(\%::myconfig, $::form, 'ap'); |
Auch abrufbar als: Unified diff
Bug-Fix: Kreditorenbuchung-Änderbarkeit
Es wurde der Wert der Debitorenbuchung-Änderbarkeit statt der Kreditorenbuchung-Änderbarkeit aus der Mandantenkonfiguration abgefragt.