Initial commit: CABM-IT (ItGlue-style MSP documentation platform)

Laravel 13 + Livewire/Volt app for managing client organizations,
documents, passwords, flexible assets, virtual machines, contacts,
domains, todos, shortcuts, and role-based user administration.
This commit is contained in:
jeremy bayse
2026-08-16 13:28:12 +02:00
commit 8f22dca9c8
209 changed files with 23324 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Model;
#[Fillable(['name', 'icon', 'description', 'enabled_for_all_organizations'])]
class FlexibleAssetType extends Model
{
protected function casts(): array
{
return [
'enabled_for_all_organizations' => 'boolean',
];
}
public function fields()
{
return $this->hasMany(FlexibleAssetField::class)->orderBy('sort_order');
}
public function assets()
{
return $this->hasMany(FlexibleAsset::class);
}
}