mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Remove outdated comments
This commit is contained in:
parent
1fd574779b
commit
1bad8e1fc2
|
@ -17,34 +17,34 @@ class AssetModelSeeder extends Seeder
|
|||
$admin = User::where('permissions->superuser', '1')->first() ?? User::factory()->firstAdmin()->create();
|
||||
|
||||
// Laptops
|
||||
AssetModel::factory()->count(1)->mbp13Model()->create(['user_id' => $admin->id]); // 1
|
||||
AssetModel::factory()->count(1)->mbpAirModel()->create(['user_id' => $admin->id]); // 2
|
||||
AssetModel::factory()->count(1)->surfaceModel()->create(['user_id' => $admin->id]); // 3
|
||||
AssetModel::factory()->count(1)->xps13Model()->create(['user_id' => $admin->id]); // 4
|
||||
AssetModel::factory()->count(1)->spectreModel()->create(['user_id' => $admin->id]); // 5
|
||||
AssetModel::factory()->count(1)->zenbookModel()->create(['user_id' => $admin->id]); // 6
|
||||
AssetModel::factory()->count(1)->yogaModel()->create(['user_id' => $admin->id]); // 7
|
||||
AssetModel::factory()->count(1)->mbp13Model()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->mbpAirModel()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->surfaceModel()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->xps13Model()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->spectreModel()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->zenbookModel()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->yogaModel()->create(['user_id' => $admin->id]);
|
||||
|
||||
// Desktops
|
||||
AssetModel::factory()->count(1)->macproModel()->create(['user_id' => $admin->id]); // 8
|
||||
AssetModel::factory()->count(1)->lenovoI5Model()->create(['user_id' => $admin->id]); // 9
|
||||
AssetModel::factory()->count(1)->optiplexModel()->create(['user_id' => $admin->id]); // 10
|
||||
AssetModel::factory()->count(1)->macproModel()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->lenovoI5Model()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->optiplexModel()->create(['user_id' => $admin->id]);
|
||||
|
||||
// Conference Phones
|
||||
AssetModel::factory()->count(1)->polycomModel()->create(['user_id' => $admin->id]); // 11
|
||||
AssetModel::factory()->count(1)->polycomcxModel()->create(['user_id' => $admin->id]); // 12
|
||||
AssetModel::factory()->count(1)->polycomModel()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->polycomcxModel()->create(['user_id' => $admin->id]);
|
||||
|
||||
// Tablets
|
||||
AssetModel::factory()->count(1)->ipadModel()->create(['user_id' => $admin->id]); // 13
|
||||
AssetModel::factory()->count(1)->tab3Model()->create(['user_id' => $admin->id]); // 14
|
||||
AssetModel::factory()->count(1)->ipadModel()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->tab3Model()->create(['user_id' => $admin->id]);
|
||||
|
||||
// Phones
|
||||
AssetModel::factory()->count(1)->iphone11Model()->create(['user_id' => $admin->id]); // 15
|
||||
AssetModel::factory()->count(1)->iphone12Model()->create(['user_id' => $admin->id]); // 16
|
||||
AssetModel::factory()->count(1)->iphone11Model()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->iphone12Model()->create(['user_id' => $admin->id]);
|
||||
|
||||
// Displays
|
||||
AssetModel::factory()->count(1)->ultrafine()->create(['user_id' => $admin->id]); // 17
|
||||
AssetModel::factory()->count(1)->ultrasharp()->create(['user_id' => $admin->id]); // 18
|
||||
AssetModel::factory()->count(1)->ultrafine()->create(['user_id' => $admin->id]);
|
||||
AssetModel::factory()->count(1)->ultrasharp()->create(['user_id' => $admin->id]);
|
||||
|
||||
$src = public_path('/img/demo/models/');
|
||||
$dst = 'models'.'/';
|
||||
|
|
|
@ -14,20 +14,20 @@ class CategorySeeder extends Seeder
|
|||
|
||||
$admin = User::where('permissions->superuser', '1')->first() ?? User::factory()->firstAdmin()->create();
|
||||
|
||||
Category::factory()->count(1)->assetLaptopCategory()->create(['user_id' => $admin->id]); // 1
|
||||
Category::factory()->count(1)->assetDesktopCategory()->create(['user_id' => $admin->id]); // 2
|
||||
Category::factory()->count(1)->assetTabletCategory()->create(['user_id' => $admin->id]); // 3
|
||||
Category::factory()->count(1)->assetMobileCategory()->create(['user_id' => $admin->id]); // 4
|
||||
Category::factory()->count(1)->assetDisplayCategory()->create(['user_id' => $admin->id]); // 5
|
||||
Category::factory()->count(1)->assetVoipCategory()->create(['user_id' => $admin->id]); // 6
|
||||
Category::factory()->count(1)->assetConferenceCategory()->create(['user_id' => $admin->id]); // 7
|
||||
Category::factory()->count(1)->accessoryKeyboardCategory()->create(['user_id' => $admin->id]); // 8
|
||||
Category::factory()->count(1)->accessoryMouseCategory()->create(['user_id' => $admin->id]); // 9
|
||||
Category::factory()->count(1)->consumablePaperCategory()->create(['user_id' => $admin->id]); // 10
|
||||
Category::factory()->count(1)->consumableInkCategory()->create(['user_id' => $admin->id]); // 11
|
||||
Category::factory()->count(1)->componentHddCategory()->create(['user_id' => $admin->id]); // 12
|
||||
Category::factory()->count(1)->componentRamCategory()->create(['user_id' => $admin->id]); // 13
|
||||
Category::factory()->count(1)->licenseGraphicsCategory()->create(['user_id' => $admin->id]); // 14
|
||||
Category::factory()->count(1)->licenseOfficeCategory()->create(['user_id' => $admin->id]); // 15
|
||||
Category::factory()->count(1)->assetLaptopCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->assetDesktopCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->assetTabletCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->assetMobileCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->assetDisplayCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->assetVoipCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->assetConferenceCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->accessoryKeyboardCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->accessoryMouseCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->consumablePaperCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->consumableInkCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->componentHddCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->componentRamCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->licenseGraphicsCategory()->create(['user_id' => $admin->id]);
|
||||
Category::factory()->count(1)->licenseOfficeCategory()->create(['user_id' => $admin->id]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,8 +16,8 @@ class ConsumableSeeder extends Seeder
|
|||
|
||||
$admin = User::where('permissions->superuser', '1')->first() ?? User::factory()->firstAdmin()->create();
|
||||
|
||||
Consumable::factory()->count(1)->cardstock()->create(['user_id' => $admin->id]); // 1
|
||||
Consumable::factory()->count(1)->paper()->create(['user_id' => $admin->id]); // 2
|
||||
Consumable::factory()->count(1)->ink()->create(['user_id' => $admin->id]); // 3
|
||||
Consumable::factory()->count(1)->cardstock()->create(['user_id' => $admin->id]);
|
||||
Consumable::factory()->count(1)->paper()->create(['user_id' => $admin->id]);
|
||||
Consumable::factory()->count(1)->ink()->create(['user_id' => $admin->id]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,8 +14,8 @@ class DepreciationSeeder extends Seeder
|
|||
|
||||
$admin = User::where('permissions->superuser', '1')->first() ?? User::factory()->firstAdmin()->create();
|
||||
|
||||
Depreciation::factory()->count(1)->computer()->create(['user_id' => $admin->id]); // 1
|
||||
Depreciation::factory()->count(1)->display()->create(['user_id' => $admin->id]); // 2
|
||||
Depreciation::factory()->count(1)->mobilePhones()->create(['user_id' => $admin->id]); // 3
|
||||
Depreciation::factory()->count(1)->computer()->create(['user_id' => $admin->id]);
|
||||
Depreciation::factory()->count(1)->display()->create(['user_id' => $admin->id]);
|
||||
Depreciation::factory()->count(1)->mobilePhones()->create(['user_id' => $admin->id]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,17 +16,17 @@ class ManufacturerSeeder extends Seeder
|
|||
|
||||
$admin = User::where('permissions->superuser', '1')->first() ?? User::factory()->firstAdmin()->create();
|
||||
|
||||
Manufacturer::factory()->count(1)->apple()->create(['user_id' => $admin->id]); // 1
|
||||
Manufacturer::factory()->count(1)->microsoft()->create(['user_id' => $admin->id]); // 2
|
||||
Manufacturer::factory()->count(1)->dell()->create(['user_id' => $admin->id]); // 3
|
||||
Manufacturer::factory()->count(1)->asus()->create(['user_id' => $admin->id]); // 4
|
||||
Manufacturer::factory()->count(1)->hp()->create(['user_id' => $admin->id]); // 5
|
||||
Manufacturer::factory()->count(1)->lenovo()->create(['user_id' => $admin->id]); // 6
|
||||
Manufacturer::factory()->count(1)->lg()->create(['user_id' => $admin->id]); // 7
|
||||
Manufacturer::factory()->count(1)->polycom()->create(['user_id' => $admin->id]); // 8
|
||||
Manufacturer::factory()->count(1)->adobe()->create(['user_id' => $admin->id]); // 9
|
||||
Manufacturer::factory()->count(1)->avery()->create(['user_id' => $admin->id]); // 10
|
||||
Manufacturer::factory()->count(1)->crucial()->create(['user_id' => $admin->id]); // 10
|
||||
Manufacturer::factory()->count(1)->apple()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->microsoft()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->dell()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->asus()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->hp()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->lenovo()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->lg()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->polycom()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->adobe()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->avery()->create(['user_id' => $admin->id]);
|
||||
Manufacturer::factory()->count(1)->crucial()->create(['user_id' => $admin->id]);
|
||||
|
||||
$src = public_path('/img/demo/manufacturers/');
|
||||
$dst = 'manufacturers'.'/';
|
||||
|
|
Loading…
Reference in a new issue