Lines 78-84
is( $accountline->amountoutstanding, "10.000000", "Found 10.00 amount outstandin
Link Here
|
78 |
is( $accountline->accounttype, "L", "Account type is L" ); |
78 |
is( $accountline->accounttype, "L", "Account type is L" ); |
79 |
|
79 |
|
80 |
my $offset = Koha::Account::Offsets->search({ debit_id => $accountline->id })->next(); |
80 |
my $offset = Koha::Account::Offsets->search({ debit_id => $accountline->id })->next(); |
81 |
is( $offset->type, 'Manual Debit', 'Got correct offset type' ); |
81 |
is( $offset->type, 'Lost Item', 'Got correct offset type' ); |
82 |
is( $offset->amount, '10.000000', 'Got amount of $10.00' ); |
82 |
is( $offset->amount, '10.000000', 'Got amount of $10.00' ); |
83 |
|
83 |
|
84 |
$schema->storage->txn_rollback; |
84 |
$schema->storage->txn_rollback; |
85 |
- |
|
|