summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/aa.pl5
-rw-r--r--bin/gl.pl5
2 files changed, 10 insertions, 0 deletions
diff --git a/bin/aa.pl b/bin/aa.pl
index b02d69a8..9d4d5ed1 100644
--- a/bin/aa.pl
+++ b/bin/aa.pl
@@ -889,6 +889,11 @@ sub form_footer {
{ ndx => 8, key => 'D', value => $locale->text('Delete') },
);
+ if ($form->{separate_duties}){
+ $button{post}->{value} = $locale->text('Save');
+ $form->hide_form('separate_duties');
+ }
+
if ( $form->{id} ) {
if ( $form->{locked} || ( $transdate && $transdate <= $closedto ) )
diff --git a/bin/gl.pl b/bin/gl.pl
index c79d56d2..9a0d8572 100644
--- a/bin/gl.pl
+++ b/bin/gl.pl
@@ -1256,6 +1256,11 @@ sub form_footer {
{ ndx => 8, key => 'D', value => $locale->text('Delete') },
);
+ if ($form->{separate_duties}){
+ $form->hide_form('separate_duties');
+ $button{post}->{value} = $locale->text('Save');
+ }
+
%a = ();
if ( $form->{id} ) {