Neustrukturierung Customer / Lead / Booking Phase 2

This commit is contained in:
Kevin Adametz 2026-05-28 17:10:37 +02:00
parent 313f0dbf4e
commit 6df9c401af
69 changed files with 3809 additions and 374 deletions

View file

@ -0,0 +1,24 @@
<?php
namespace App\Events\Offer;
use App\Models\Offer;
use App\Models\OfferVersion;
use Illuminate\Foundation\Events\Dispatchable;
/**
* Wird gefeuert, nachdem eine OfferVersion als `declined` markiert wurde.
* Listener schreiben Audit-Log + informieren das Team.
*/
class OfferDeclined
{
use Dispatchable;
public function __construct(
public readonly Offer $offer,
public readonly OfferVersion $version,
public readonly string $via,
public readonly ?string $reason = null,
) {
}
}