Lines 177-185
elsif ( $op eq 'delete_confirmed' ) {
Link Here
|
177 |
|
177 |
|
178 |
# display the form for duplicating |
178 |
# display the form for duplicating |
179 |
elsif ( $op eq 'duplicate_form'){ |
179 |
elsif ( $op eq 'duplicate_form'){ |
|
|
180 |
my $budgetperiod = GetBudgetPeriod($budget_period_id, $input); |
180 |
$template->param( |
181 |
$template->param( |
181 |
'duplicate_form' => '1', |
182 |
'duplicate_form' => '1', |
182 |
'budget_period_id' => $budget_period_id, |
183 |
'budget_period_id' => $budget_period_id, |
|
|
184 |
'budgetperiod' => $budgetperiod, |
183 |
); |
185 |
); |
184 |
} |
186 |
} |
185 |
|
187 |
|
Lines 189-194
elsif ( $op eq 'duplicate_budget' ){
Link Here
|
189 |
|
191 |
|
190 |
my $budget_period_startdate = dt_from_string $input->param('budget_period_startdate'); |
192 |
my $budget_period_startdate = dt_from_string $input->param('budget_period_startdate'); |
191 |
my $budget_period_enddate = dt_from_string $input->param('budget_period_enddate'); |
193 |
my $budget_period_enddate = dt_from_string $input->param('budget_period_enddate'); |
|
|
194 |
my $budget_period_description = $input->param('budget_period_description'); |
192 |
my $mark_original_budget_as_inactive = $input->param('mark_original_budget_as_inactive'); |
195 |
my $mark_original_budget_as_inactive = $input->param('mark_original_budget_as_inactive'); |
193 |
my $reset_all_budgets = $input->param('reset_all_budgets'); |
196 |
my $reset_all_budgets = $input->param('reset_all_budgets'); |
194 |
|
197 |
|
Lines 197-202
elsif ( $op eq 'duplicate_budget' ){
Link Here
|
197 |
budget_period_id => $budget_period_id, |
200 |
budget_period_id => $budget_period_id, |
198 |
budget_period_startdate => $budget_period_startdate, |
201 |
budget_period_startdate => $budget_period_startdate, |
199 |
budget_period_enddate => $budget_period_enddate, |
202 |
budget_period_enddate => $budget_period_enddate, |
|
|
203 |
budget_period_description => $budget_period_description, |
200 |
mark_original_budget_as_inactive => $mark_original_budget_as_inactive, |
204 |
mark_original_budget_as_inactive => $mark_original_budget_as_inactive, |
201 |
reset_all_budgets => $reset_all_budgets, |
205 |
reset_all_budgets => $reset_all_budgets, |
202 |
} |
206 |
} |