Skip to content

Commit

Permalink
Merge pull request #7716 from ehuelsmann/fix/master/500-ap-reversal
Browse files Browse the repository at this point in the history
AR/AP Reversal fixes
  • Loading branch information
ehuelsmann authored Nov 16, 2023
2 parents 786eed7 + 69bf9cc commit 0ee34b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions old/bin/aa.pl
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ sub post_reversing {
WHERE id = ?
QUERY
}

delete $form->{__action};
display_form();
}

sub display_form {
Expand Down Expand Up @@ -1124,9 +1127,6 @@ sub form_footer {
if ($form->{reversing}) {
delete $button{$_} for (qw(schedule update save_temp edit_and_save));
}
if (not $form->{approved}) {
delete $button{reverse};
}


for ( sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} }
Expand Down

0 comments on commit 0ee34b0

Please sign in to comment.