$account->reconcile_balance();
Find outstanding credits and use them to pay outstanding debits
Find outstanding credits and use them to pay outstanding debits.
Currently, this implicitly uses the 'First In First Out' rule for
applying credits against debits.
=cut
return 'Accountline';
}
=head3 object_class (internal)
sub object_class {
return 'Koha::Account::Line';
1;
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-16 17:00:24
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pygYYKxFDRLX97PyeUeLvg
sub koha_objects_class {
'Koha::Account::Lines';
sub koha_object_class {
'Koha::Account::Line';
# You can replace this text with custom content, and it will be preserved on regeneration
$schema->storage->txn_rollback;
};
subtest 'same debit than credit' => sub {
subtest 'same debit as credit' => sub {
plan tests => 6;
-