Big changes added events for decisions

This commit is contained in:
Simon Pocrnjič
2025-10-22 23:20:04 +02:00
parent 872b76b012
commit 67ebe4b225
36 changed files with 2240 additions and 189 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace App\Events;
use App\Models\Contract;
use Illuminate\Foundation\Events\Dispatchable;
class ChangeContractSegment
{
use Dispatchable;
public function __construct(
public Contract $contract,
public int $segmentId,
public bool $deactivatePrevious = true,
) {}
}