diff --git a/admin/aqbudget.pl b/admin/aqbudget.pl index 4b6ee7374d..7c612a5308 100755 --- a/admin/aqbudget.pl +++ b/admin/aqbudget.pl @@ -122,7 +122,8 @@ if ($op eq 'add_form') { $template->param(bookfundid => $dataaqbudget->{bookfundid}); $template->param(bookfundname => $dataaqbudget->{bookfundname}); } else { - $template->param(adding => 1); + $template->param(bookfundid => $bookfundid, + adding => 1); } $template->param(dateformat => display_date_format(), aqbudgetid => $dataaqbudget->{'aqbudgetid'}, @@ -143,7 +144,9 @@ if ($op eq 'add_form') { $input->param('budgetamount') ); $sth->finish; - # END $OP eq ADD_VALIDATE + print $input->redirect("aqbookfund.pl"); + exit; +# END $OP eq ADD_VALIDATE ################## DELETE_CONFIRM ################################## # called by default form, used to confirm deletion of data in DB } elsif ($op eq 'delete_confirm') { diff --git a/koha-tmpl/intranet-tmpl/default/en/parameters/aqbookfund.tmpl b/koha-tmpl/intranet-tmpl/default/en/parameters/aqbookfund.tmpl index de9567d805..b572df7bff 100644 --- a/koha-tmpl/intranet-tmpl/default/en/parameters/aqbookfund.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/parameters/aqbookfund.tmpl @@ -20,10 +20,16 @@
-
/images/background-mem.gif">Fonds documentaire | -/images/background-mem.gif">Nom | -/images/background-mem.gif">Groupe | -/images/background-mem.gif">Budget | /images/background-mem.gif"> | /images/background-mem.gif"> | /images/background-mem.gif"> | Fonds documentaire | +Nom | +Modif | +Suppr | +
">Budget | -?op=add_form&bookfundid= |
- ?op=delete_confirm&bookfundid= |
- - | |||
?op=add_form&bookfundid= |
+ ?op=delete_confirm&bookfundid= |
+ |||||
+ | Budget | ++ | ">/ |
+ |||
+ |
+ |
+ ">/images/fileopen.png" width=32 hspace=0 vspace=0 border=0> | +">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0> | + +
/images/background-mem.gif">Fonds documentaire | -/images/background-mem.gif"> | /images/background-mem.gif">Budget | +/images/background-mem.gif"> |