Bug 24190: (QA follow-up) record unchanged bookfund and fix typo

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Nick Clemens 2021-08-02 13:44:31 +00:00 committed by Jonathan Druart
parent f9f457ab14
commit 57c5d83998
2 changed files with 2 additions and 2 deletions

View file

@ -195,7 +195,7 @@ if ($suggestion_id) {
if (C4::Context->preference("AcquisitionLog")) {
my $infos = {
quantityrec => $quantityrec,
bookfund => $bookfund,
bookfund => $bookfund || 'unchanged',
tax_rate => $input->param("tax_rate"),
replacementprice => $replacementprice,
unitprice => $unitprice

View file

@ -190,7 +190,7 @@ elsif ( $op && $op eq 'mod_adj' ) {
note => $note[$i],
budget_id => $budget_id[$i] || undef,
encumber_open => defined $e_open{ $adjustment_id[$i] } ? 1 : 0,
});
};
my $new_adj = Koha::Acquisition::Invoice::Adjustment->new($adj);
$new_adj->store();
# Log this addition