- $template->param(branch => $branch);
- $template->param(branch_name => $branch_name || 'Default');
- $template->param(branches => \@branches);
- $template->param(categories => \@categories);
- $template->param(item_types => \@item_types);
- $template->param(grid_checkout => $grid_checkout);
- $template->param(grid_checkin => $grid_checkin);
+ $template->param(
+ branch => $branch,
+ item_types => Koha::ItemTypes->search,
+ grid_checkout => $grid_checkout,
+ grid_checkin => $grid_checkin,
+ );