@@ -, +, @@
---
.../prog/en/modules/suggestion/suggestion.tt | 75 ++++++++++++++--------
suggestion/suggestion.pl | 8 +++
2 files changed, 58 insertions(+), 25 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
@@ -659,13 +659,25 @@
-
+
+
+
+
[% ELSE %]
@@ -839,6 +851,36 @@
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'calendar.inc' %]
+
+
+
[% IF ( op == 'show' || op == 'else' ) %]
[% END %]
--- a/suggestion/suggestion.pl
+++ a/suggestion/suggestion.pl
@@ -261,6 +261,14 @@ elsif ( $op eq 'update_itemtype' ) {
}
redirect_with_params($input);
}
+elsif ( $op eq 'update_manager' ) {
+ my $managedby = $input->param('suggestion_managedby');
+ foreach my $suggestionid (@editsuggestions) {
+ next unless $suggestionid;
+ &ModSuggestion({ suggestionid => $suggestionid, managedby => $managedby });
+ }
+ redirect_with_params($input);
+}
elsif ( $op eq 'show' ) {
$suggestion_ref=&GetSuggestion($$suggestion_ref{'suggestionid'});
my $budget = GetBudget $$suggestion_ref{budgetid};
--