Bug 40255: (follow-up) Fix failure in add_debit tests
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
3a91b4f8d0
commit
3fd93025ec
|
|
@ -1119,7 +1119,7 @@ sub store {
|
|||
|
||||
#if there is a matching debit description letter, pull that content and render it for the accountline.description
|
||||
if ( $self->is_debit && !$self->in_storage ) {
|
||||
my $debit_type = $self->debit_type;
|
||||
my $debit_type = Koha::Account::DebitTypes->find( $self->debit_type_code );
|
||||
if ($debit_type) {
|
||||
|
||||
# get the patron's prederred lang
|
||||
|
|
|
|||
Loading…
Reference in New Issue