Neustrukturierung Customer / Lead / Booking Phase 2
This commit is contained in:
parent
313f0dbf4e
commit
6df9c401af
69 changed files with 3809 additions and 374 deletions
22
app/Events/Offer/OfferWithdrawn.php
Normal file
22
app/Events/Offer/OfferWithdrawn.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace App\Events\Offer;
|
||||
|
||||
use App\Models\Offer;
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
|
||||
/**
|
||||
* Wird gefeuert, nachdem ein Offer durch den Admin zurückgezogen wurde
|
||||
* (status=withdrawn, alle aktiven Tokens revoked). Listener schreiben
|
||||
* Audit-Log + benachrichtigen ggf. den Kunden.
|
||||
*/
|
||||
class OfferWithdrawn
|
||||
{
|
||||
use Dispatchable;
|
||||
|
||||
public function __construct(
|
||||
public readonly Offer $offer,
|
||||
public readonly string $reason,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue