- Add multi-invoice payment support (link one bank transaction to multiple invoices) - Add payment unlinking feature to correct wrong matches - Show linked payments, invoices and bank entries in transaction detail view - Allow linking already paid invoices to bank transactions - Update README with new features - Add CHANGELOG.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
592 B
PHP
Executable file
26 lines
592 B
PHP
Executable file
<?php
|
|
/** @noinspection PhpUnused */
|
|
|
|
namespace Fhp\Protocol;
|
|
|
|
use Fhp\Model\TanRequest;
|
|
|
|
/**
|
|
* Thrown when an action result is read, but it is not available because the action requires a TAN to be completed.
|
|
*/
|
|
class TanRequiredException extends \RuntimeException
|
|
{
|
|
/** @var TanRequest */
|
|
private $tanRequest;
|
|
|
|
public function __construct(TanRequest $tanRequest)
|
|
{
|
|
parent::__construct('This action requires a TAN to be completed.');
|
|
$this->tanRequest = $tanRequest;
|
|
}
|
|
|
|
public function getTanRequest()
|
|
{
|
|
return $this->tanRequest;
|
|
}
|
|
}
|