add superadmin dashboard. subscriptions
This commit is contained in:
@@ -11,7 +11,16 @@ class OrganizationModel extends Model
|
||||
protected $useAutoIncrement = true;
|
||||
protected $returnType = 'array';
|
||||
protected $useSoftDeletes = true; // Включаем мягкое удаление (deleted_at)
|
||||
protected $allowedFields = ['owner_id', 'name', 'type', 'logo', 'requisites', 'trial_ends_at', 'settings'];
|
||||
protected $allowedFields = [
|
||||
'owner_id',
|
||||
'name',
|
||||
'type',
|
||||
'logo',
|
||||
'requisites',
|
||||
'trial_ends_at',
|
||||
'settings',
|
||||
'status',
|
||||
];
|
||||
|
||||
protected $useTimestamps = true;
|
||||
protected $dateFormat = 'datetime';
|
||||
|
||||
Reference in New Issue
Block a user