Bug 4277: Display the correct budget planning after saving
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 24 Mar 2015 15:22:46 +0000 (16:22 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 31 Mar 2015 17:15:07 +0000 (14:15 -0300)
The budget_period_id is not pass to the script, so after saving the
budget planning, the planning for the first active budget is displayed.

Test plan:
1/ Edit a budget planning
2/ Save
3/ You should see the budget planning you were editing

Patch behaves as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt

index b465f8c..abfe5de 100644 (file)
     </tbody>
     </table>
 
+    <input type="hidden" name="budget_period_id" value="[% budget_period_id %]" />
     [% IF ( budget_period_locked ) %]
         <!-- <input STYLE="background: gray;"   type="submit" value="Save" disabled="disabled"/> -->
     [% ELSE %]