|
Lines 76-83
is( int($accountline->amount), int($itemtype->{processfee}), "The accountline am
Link Here
|
| 76 |
is( $accountline->itemnumber, $itemnumber1, "The accountline itemnumber should the linked with barcode '0101'" ); |
76 |
is( $accountline->itemnumber, $itemnumber1, "The accountline itemnumber should the linked with barcode '0101'" ); |
| 77 |
is( $accountline->note, C4::Context->preference("ProcessingFeeNote"), "The accountline description should be 'test'" ); |
77 |
is( $accountline->note, C4::Context->preference("ProcessingFeeNote"), "The accountline description should be 'test'" ); |
| 78 |
|
78 |
|
| 79 |
my $lost_ao = Koha::Account::Offsets->single( { type => 'Lost Item' } ); |
79 |
my $lost_ao = Koha::Account::Offsets->search( { type => 'Lost Item' } ); |
| 80 |
ok( $lost_ao, 'Account offset of type "Lost Item" created' ); |
80 |
is( $lost_ao->count, 1, 'Account offset of type "Lost Item" created' ); |
| 81 |
|
81 |
|
| 82 |
my $processing_fee_ao = Koha::Account::Offsets->single( { type => 'Processing Fee' } ); |
82 |
my $processing_fee_ao = Koha::Account::Offsets->search( { type => 'Processing Fee' } ); |
| 83 |
ok( $processing_fee_ao, 'Account offset of type "Processing Fee" created' ); |
83 |
is( $processing_fee_ao->count, 1, 'Account offset of type "Processing Fee" created' ); |
| 84 |
- |
|
|