|
Lines 1994-1999
subtest '_FixAccountForLostAndReturned' => sub {
Link Here
|
| 1994 |
|
1994 |
|
| 1995 |
my $patron = $builder->build( { source => 'Borrower' } ); |
1995 |
my $patron = $builder->build( { source => 'Borrower' } ); |
| 1996 |
|
1996 |
|
|
|
1997 |
Koha::Account::Line->new( |
| 1998 |
{ |
| 1999 |
borrowernumber => $patron->{borrowernumber}, |
| 2000 |
accounttype => 'F', |
| 2001 |
itemnumber => $itemnumber, |
| 2002 |
amount => 10.00, |
| 2003 |
amountoutstanding => 10.00, |
| 2004 |
} |
| 2005 |
)->store(); |
| 2006 |
|
| 1997 |
my $accountline = Koha::Account::Line->new( |
2007 |
my $accountline = Koha::Account::Line->new( |
| 1998 |
{ |
2008 |
{ |
| 1999 |
borrowernumber => $patron->{borrowernumber}, |
2009 |
borrowernumber => $patron->{borrowernumber}, |
| 2000 |
- |
|
|