Merge pull request #9837 from Godmartinz/chore/ch16531/update-demo-photos-of-iphones-to-be-more

Update demo photos of iPhones to be more [ch16531]
This commit is contained in:
snipe 2021-07-27 14:34:52 -07:00 committed by GitHub
commit eca15bd49b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View file

@ -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,
];
});

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB