action => "add_credit",
payload => {
type => lc($credit_type),
line => $line->get_from_storage
line => $line->get_from_storage, #TODO Seems unneeded
}
);
qr/after_account_action called with action: add_credit, type: payment, ref: Koha::Account::Line/,
'->add_credit calls the after_account_action hook with type payment';
$schema->storage->txn_rollback;
Koha::Plugins::Methods->delete;
};
-