@@ -, +, @@ --- admin/branches.pl | 5 - .../prog/en/modules/admin/branches.tt | 218 ++++++++++++------ 2 files changed, 149 insertions(+), 74 deletions(-) --- a/admin/branches.pl +++ a/admin/branches.pl @@ -147,11 +147,6 @@ if ( $op eq 'add_form' ) { $op = 'list'; } -if ( $op eq 'list' ) { - my $libraries = Koha::Libraries->search( {}, { order_by => ['branchcode'] }, ); - $template->param( libraries => $libraries, ); -} - $template->param( messages => \@messages, op => $op, --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -183,69 +183,19 @@ [% IF op == 'list' %]
Name | -Code | -Address | -MARC organization code | -IP | -Pickup location | -Actions | -
---|---|---|---|---|---|---|
[% library.branchname | html %] | -[% library.branchcode | html %] | -
- [% IF library.branchaddress1 %]
- [% library.branchaddress1 | html %][% END %]
- [% IF library.branchaddress2 %]
- [% library.branchaddress2 | html %][% END %] - [% IF library.branchaddress3 %] - [% library.branchaddress3 | html %][% END %] - [% IF library.branchcity %] - [% library.branchcity | html %][% END %][% IF ( library.branchstate ) %], - [% library.branchstate | html %][% END %] - [% IF library.branchzip %] - [% library.branchzip | html %][% END %] - [% IF library.branchcountry %] - [% library.branchcountry | html %][% END %] - [% IF library.branchphone %] - Ph: [% library.branchphone | html %][% END %] - [% IF library.branchfax %] - Fax: [% library.branchfax | html %][% END %] - [% IF library.branchemail %] - [% library.branchemail | html %][% END %] - [% IF library.branchurl %] - [% library.branchurl | html %][% END %] - [% IF library.opac_info %] - OPAC Info: [% library.opac_info | $raw %] [% END %]
- [% IF library.branchnotes %]
- Notes: [% library.branchnotes | html %][% END %] - |
- [% library.marcorgcode | html %] | -[% library.branchip | html %] | -[% IF library.pickup_location %]Yes[% ELSE %]No[% END %] | -- Edit - - | -
Name | +Code | +Address | +MARC organization code | +IP | +Pickup location | +Actions | +
---|