Neustrukturierung Customer / Lead / Booking Phase 2
This commit is contained in:
parent
313f0dbf4e
commit
6df9c401af
69 changed files with 3809 additions and 374 deletions
24
app/Events/Offer/OfferDeclined.php
Normal file
24
app/Events/Offer/OfferDeclined.php
Normal 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,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue