mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 06:47:46 -08:00
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:
commit
eca15bd49b
|
@ -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 [
|
return [
|
||||||
'name' => 'iPhone 6s',
|
'name' => 'iPhone 11',
|
||||||
'category_id' => 4,
|
'category_id' => 4,
|
||||||
'manufacturer_id' => 1,
|
'manufacturer_id' => 1,
|
||||||
'eol' => '12',
|
'eol' => '12',
|
||||||
'depreciation_id' => 3,
|
'depreciation_id' => 3,
|
||||||
'image' => 'iphone6.jpg',
|
'image' => 'iphone11.jpeg',
|
||||||
'fieldset_id' => 1,
|
'fieldset_id' => 1,
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
$factory->state(App\Models\AssetModel::class, 'iphone7-model', function ($faker) {
|
$factory->state(App\Models\AssetModel::class, 'iphone12-model', function ($faker) {
|
||||||
return [
|
return [
|
||||||
'name' => 'iPhone 7',
|
'name' => 'iPhone 12',
|
||||||
'category_id' => 4,
|
'category_id' => 4,
|
||||||
'manufacturer_id' => 1,
|
'manufacturer_id' => 1,
|
||||||
'eol' => '12',
|
'eol' => '12',
|
||||||
'depreciation_id' => 1,
|
'depreciation_id' => 1,
|
||||||
'image' => 'iphone7.jpg',
|
'image' => 'iphone12.jpeg',
|
||||||
'fieldset_id' => 1,
|
'fieldset_id' => 1,
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
|
@ -33,8 +33,8 @@ class AssetModelSeeder extends Seeder
|
||||||
factory(AssetModel::class, 1)->states('tab3-model')->create(); // 14
|
factory(AssetModel::class, 1)->states('tab3-model')->create(); // 14
|
||||||
|
|
||||||
// Phones
|
// Phones
|
||||||
factory(AssetModel::class, 1)->states('iphone6s-model')->create(); // 15
|
factory(AssetModel::class, 1)->states('iphone11-model')->create(); // 15
|
||||||
factory(AssetModel::class, 1)->states('iphone7-model')->create(); // 16
|
factory(AssetModel::class, 1)->states('iphone12-model')->create(); // 16
|
||||||
|
|
||||||
// Displays
|
// Displays
|
||||||
factory(AssetModel::class, 1)->states('ultrafine')->create(); // 17
|
factory(AssetModel::class, 1)->states('ultrafine')->create(); // 17
|
||||||
|
|
BIN
public/img/demo/models/iphone11.jpeg
Normal file
BIN
public/img/demo/models/iphone11.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
public/img/demo/models/iphone12.jpeg
Normal file
BIN
public/img/demo/models/iphone12.jpeg
Normal file
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 |
Loading…
Reference in a new issue