View | Details | Raw Unified | Return to bug 37089
Collapse All | Expand All

(-)a/admin/aqbudgets.pl (-1 / +1 lines)
Lines 185-191 if ($op eq 'add_form') { Link Here
185
#---------------------- DEFAULT DISPLAY BELOW ---------------------
185
#---------------------- DEFAULT DISPLAY BELOW ---------------------
186
186
187
# called by default form, used to confirm deletion of data in DB
187
# called by default form, used to confirm deletion of data in DB
188
} elsif ($op eq 'cud-delete_confirm') {
188
} elsif ($op eq 'delete_confirm') {
189
189
190
    my $budget = GetBudget($budget_id);
190
    my $budget = GetBudget($budget_id);
191
    $template->param(
191
    $template->param(
(-)a/admin/currency.pl (-2 / +1 lines)
Lines 91-97 if ( $op eq 'add_form' ) { Link Here
91
    }
91
    }
92
    $searchfield = q||;
92
    $searchfield = q||;
93
    $op          = 'list';
93
    $op          = 'list';
94
} elsif ( $op eq 'cud-delete_confirm' ) {
94
} elsif ( $op eq 'delete_confirm' ) {
95
    my $currency = Koha::Acquisition::Currencies->find($currency_code);
95
    my $currency = Koha::Acquisition::Currencies->find($currency_code);
96
96
97
    my $nb_of_orders = Koha::Acquisition::Orders->search( { currency => $currency->currency } )->count;
97
    my $nb_of_orders = Koha::Acquisition::Orders->search( { currency => $currency->currency } )->count;
98
- 

Return to bug 37089