Revision 05174f19
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
bin/mozilla/ar.pl | ||
---|---|---|
1089 | 1089 |
$form->isblank("duedate", $locale->text('Due Date missing!')); |
1090 | 1090 |
$form->isblank("customer", $locale->text('Customer missing!')); |
1091 | 1091 |
|
1092 |
if ($myconfig{mandatory_departments} && !$form->{department}) { |
|
1093 |
$form->{saved_message} = $::locale->text('You have to specify a department.'); |
|
1094 |
update(); |
|
1095 |
exit; |
|
1096 |
} |
|
1097 |
|
|
1092 | 1098 |
my $closedto = $form->datetonum($form->{closedto}, \%myconfig); |
1093 | 1099 |
my $transdate = $form->datetonum($form->{transdate}, \%myconfig); |
1094 | 1100 |
$form->error($locale->text('Cannot post transaction for a closed period!')) if ($form->date_closed($form->{"transdate"}, \%myconfig)); |
Auch abrufbar als: Unified diff
Abteilungen in Belegen sind nun Pflichtfelder, wenn der Benutzer das Flag "mandatory_departments" hat.