diff --git a/database/factories/AssetModelFactory.php b/database/factories/AssetModelFactory.php index 89cb21578c..025b2b9f99 100644 --- a/database/factories/AssetModelFactory.php +++ b/database/factories/AssetModelFactory.php @@ -226,26 +226,26 @@ $factory->state(App\Models\AssetModel::class, 'tab3-model', function ($faker) { |-------------------------------------------------------------------------- */ -$factory->state(App\Models\AssetModel::class, 'iphone6s-model', function ($faker) { +$factory->state(App\Models\AssetModel::class, 'iphone11-model', function ($faker) { return [ - 'name' => 'iPhone 6s', + 'name' => 'iPhone 11', 'category_id' => 4, 'manufacturer_id' => 1, 'eol' => '12', 'depreciation_id' => 3, - 'image' => 'iphone6.jpg', + 'image' => 'iphone11.jpeg', 'fieldset_id' => 1, ]; }); -$factory->state(App\Models\AssetModel::class, 'iphone7-model', function ($faker) { +$factory->state(App\Models\AssetModel::class, 'iphone12-model', function ($faker) { return [ - 'name' => 'iPhone 7', + 'name' => 'iPhone 12', 'category_id' => 4, 'manufacturer_id' => 1, 'eol' => '12', 'depreciation_id' => 1, - 'image' => 'iphone7.jpg', + 'image' => 'iphone12.jpeg', 'fieldset_id' => 1, ]; }); diff --git a/database/seeds/AssetModelSeeder.php b/database/seeds/AssetModelSeeder.php index c9f188ed10..79e0747af0 100755 --- a/database/seeds/AssetModelSeeder.php +++ b/database/seeds/AssetModelSeeder.php @@ -33,8 +33,8 @@ class AssetModelSeeder extends Seeder factory(AssetModel::class, 1)->states('tab3-model')->create(); // 14 // Phones - factory(AssetModel::class, 1)->states('iphone6s-model')->create(); // 15 - factory(AssetModel::class, 1)->states('iphone7-model')->create(); // 16 + factory(AssetModel::class, 1)->states('iphone11-model')->create(); // 15 + factory(AssetModel::class, 1)->states('iphone12-model')->create(); // 16 // Displays factory(AssetModel::class, 1)->states('ultrafine')->create(); // 17 diff --git a/public/img/demo/models/iphone11.jpeg b/public/img/demo/models/iphone11.jpeg new file mode 100644 index 0000000000..a7c406aea2 Binary files /dev/null and b/public/img/demo/models/iphone11.jpeg differ diff --git a/public/img/demo/models/iphone12.jpeg b/public/img/demo/models/iphone12.jpeg new file mode 100644 index 0000000000..e251cbd717 Binary files /dev/null and b/public/img/demo/models/iphone12.jpeg differ diff --git a/public/img/demo/models/iphone6.jpg b/public/img/demo/models/iphone6.jpg deleted file mode 100644 index 5a0bc9ba0f..0000000000 Binary files a/public/img/demo/models/iphone6.jpg and /dev/null differ diff --git a/public/img/demo/models/iphone7.jpg b/public/img/demo/models/iphone7.jpg deleted file mode 100644 index 4d73fb6e40..0000000000 Binary files a/public/img/demo/models/iphone7.jpg and /dev/null differ