Lines 53-60
if ( $op eq 'acct_form' ) {
Link Here
|
53 |
); |
53 |
); |
54 |
$template->param( vendors => \@vendors ); |
54 |
$template->param( vendors => \@vendors ); |
55 |
|
55 |
|
56 |
my @plugins = Koha::Plugins->new()->GetPlugins('edifact'); |
56 |
my $plugins_enabled = C4::Context->preference('UseKohaPlugins') && C4::Context->config("enable_plugins"); |
57 |
$template->param( plugins => \@plugins ); |
57 |
$template->param( plugins_enabled => $plugins_enabled ); |
|
|
58 |
|
59 |
if ( $plugins_enabled ) { |
60 |
my @plugins = Koha::Plugins->new()->GetPlugins('edifact'); |
61 |
$template->param( plugins => \@plugins ); |
62 |
} |
58 |
} |
63 |
} |
59 |
elsif ( $op eq 'delete_confirm' ) { |
64 |
elsif ( $op eq 'delete_confirm' ) { |
60 |
show_account(); |
65 |
show_account(); |