Bug 37090: Correct op parameter in edi_accounts.pl

To test:
1. Go to Acquisitions > EDI Accounts
2. Create an EDI account if one is not already there
3. Try to delete the EDI account
--> Page refreshes and nothing happens
4. Apply patch, restart_all, and refresh the page
5. Try to delete the EDI account again
--> A confirmation page displays with correct information
6. Click "Yes, delete"
--> The EDI account is deleted

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 199b21bfc3)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Emily Lamancusa 2024-06-14 10:16:47 -04:00 committed by Lucas Gass
parent 804404ab3f
commit 9edb3346f4

View file

@ -63,7 +63,7 @@ if ( $op eq 'acct_form' ) {
$template->param( plugins => \@plugins ); $template->param( plugins => \@plugins );
} }
} }
elsif ( $op eq 'cud-delete_confirm' ) { elsif ( $op eq 'delete_confirm' ) {
show_account($crypt); show_account($crypt);
$template->param( delete_confirm => 1 ); $template->param( delete_confirm => 1 );
} }