Lines 68-74
C4::Accounts::chargelostitem( $borrowernumber, $issue->{itemnumber}, '1.00');
Link Here
|
68 |
|
68 |
|
69 |
my $accountline = Koha::Account::Lines->search( { borrowernumber => $borrowernumber, accounttype => 'PF' } )->next(); |
69 |
my $accountline = Koha::Account::Lines->search( { borrowernumber => $borrowernumber, accounttype => 'PF' } )->next(); |
70 |
|
70 |
|
71 |
is( int($accountline->amount), $itemtype->{processfee}, "The accountline amount should be precessfee value " ); |
71 |
is( int($accountline->amount), int($itemtype->{processfee}), "The accountline amount should be precessfee value " ); |
72 |
is( $accountline->itemnumber, $itemnumber1, "The accountline itemnumber should the linked with barcode '0101'" ); |
72 |
is( $accountline->itemnumber, $itemnumber1, "The accountline itemnumber should the linked with barcode '0101'" ); |
73 |
is( $accountline->note, C4::Context->preference("ProcessingFeeNote"), "The accountline description should be 'test'" ); |
73 |
is( $accountline->note, C4::Context->preference("ProcessingFeeNote"), "The accountline description should be 'test'" ); |
74 |
|
74 |
|
75 |
- |
|
|