Skip to content

Commit

Permalink
De seeder aangepast
Browse files Browse the repository at this point in the history
  • Loading branch information
whytievanie committed Dec 9, 2019
1 parent 81e69a6 commit d637f88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/WorkorderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function store( Request $request)
//echo $WorkProductSupplyId . "is " . $WorkProductSuppliesAmount . "x besteld. <br>";

if ($WorkProductSuppliesAmount != null ) {

workproduct::insert ([
'workorder_id' => $workerorderId,
'supply_id' => $WorkProductSupplyId,
Expand Down
2 changes: 1 addition & 1 deletion database/seeds/DatabaseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function run()
$this->call(RolesTableSeeder::class);
$this->call(users::class);
$this->call(suppliesSeeder::class);
$this->call(LeasesuppliesTableSeeder::class);
$this->call(LeaseTypeTableSeeder::class);
$this->call(LeasesuppliesTableSeeder::class);
}
}

0 comments on commit d637f88

Please sign in to comment.