|
Lines 1849-1854
subtest '_FixAccountForLostAndReturned' => sub {
Link Here
|
| 1849 |
|
1849 |
|
| 1850 |
my $patron = $builder->build( { source => 'Borrower' } ); |
1850 |
my $patron = $builder->build( { source => 'Borrower' } ); |
| 1851 |
|
1851 |
|
|
|
1852 |
Koha::Account::Line->new( |
| 1853 |
{ |
| 1854 |
borrowernumber => $patron->{borrowernumber}, |
| 1855 |
accounttype => 'F', |
| 1856 |
itemnumber => $itemnumber, |
| 1857 |
amount => 10.00, |
| 1858 |
amountoutstanding => 10.00, |
| 1859 |
} |
| 1860 |
)->store(); |
| 1861 |
|
| 1852 |
my $accountline = Koha::Account::Line->new( |
1862 |
my $accountline = Koha::Account::Line->new( |
| 1853 |
{ |
1863 |
{ |
| 1854 |
borrowernumber => $patron->{borrowernumber}, |
1864 |
borrowernumber => $patron->{borrowernumber}, |
| 1855 |
- |
|
|