Added soon-out-of-warranty example to test notifications

This commit is contained in:
snipe
2013-11-28 16:37:24 -05:00
parent 5c28089f2b
commit b3bb2d4f11
+25
View File
@@ -266,6 +266,31 @@ class AssetsSeeder extends Seeder {
'depreciate' => '0',
);
// Almost out of warranty example
$asset[] = array(
'name' => 'Noah MBP',
'asset_tag' => 'NNY98056775',
'model_id' => 2,
'serial' => 'WS909098888',
'purchase_date' => '2011-12-20',
'purchase_cost' => '699.99',
'order_number' => '657756',
'created_at' => $date->modify('-10 day'),
'updated_at' => $date->modify('-3 day'),
'user_id' => 2,
'assigned_to' => 0,
'physical' => 1,
'archived' => 0,
'status_id' => 0,
'notes' => '',
'deleted_at' => NULL,
'archived' => '0',
'warranty_months' => '24',
'depreciate' => '0',
);
// Delete all the old data
DB::table('assets')->truncate();