feat: integrate opportunity draft management with audited lifecycle

This commit is contained in:
2026-10-09 08:16:51 +02:00
parent ebfc188240
commit 7ecfe3d543
20 changed files with 1459 additions and 22 deletions
+9
View File
@@ -11,11 +11,20 @@ use Illuminate\Database\Eloquent\SoftDeletes;
/**
* @property string|null $primary_territory_id
* @property int $territory_version
* @property int $management_version
* @property string|null $management_draft
* @property string|null $management_creation_key
* @property string|null $first_submitted_at
* @property bool $management_closed_once
* @property string|null $opportunity_category
* @property string|null $estimated_investment_currency
*/
class Opportunity extends Model
{
use SoftDeletes;
protected $hidden = ['management_draft', 'management_creation_key', 'management_version', 'first_submitted_at', 'management_closed_once'];
protected $fillable = [
'sector_id', 'reference', 'title', 'slug', 'summary', 'description',
'province', 'district', 'promoter_name', 'promoter_type',