|
Lines 25-33
use C4::Output;
Link Here
|
| 25 |
use Koha::Database; |
25 |
use Koha::Database; |
| 26 |
use Koha::Plugins; |
26 |
use Koha::Plugins; |
| 27 |
|
27 |
|
| 28 |
my $input = CGI->new(); |
28 |
our $input = CGI->new(); |
|
|
29 |
our $schema = Koha::Database->new()->schema(); |
| 29 |
|
30 |
|
| 30 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
31 |
our ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
| 31 |
{ |
32 |
{ |
| 32 |
template_name => 'admin/edi_accounts.tt', |
33 |
template_name => 'admin/edi_accounts.tt', |
| 33 |
query => $input, |
34 |
query => $input, |
|
Lines 39-45
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
| 39 |
|
40 |
|
| 40 |
my $op = $input->param('op'); |
41 |
my $op = $input->param('op'); |
| 41 |
$op ||= 'display'; |
42 |
$op ||= 'display'; |
| 42 |
my $schema = Koha::Database->new()->schema(); |
|
|
| 43 |
|
43 |
|
| 44 |
if ( $op eq 'acct_form' ) { |
44 |
if ( $op eq 'acct_form' ) { |
| 45 |
show_account(); |
45 |
show_account(); |
| 46 |
- |
|
|