diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 77a2a5e..b0db4a4 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,15 +2,8 @@ - - - - - - - @@ -203,9 +197,10 @@ - - + + + diff --git a/app/Http/Controllers/operationsController.php b/app/Http/Controllers/operationsController.php index 30f7175..d32a094 100644 --- a/app/Http/Controllers/operationsController.php +++ b/app/Http/Controllers/operationsController.php @@ -160,8 +160,8 @@ class operationsController extends Controller for($count = 0; $count < count($operationDriver); $count++){ $operationsTrucks = operationsTrucks::create([ 'operationID' => $operations->id, - 'truckID' => $operationDriver[$count], - 'driverID' => $operationVehicle[$count] + 'truckID' => $operationVehicle[$count], + 'driverID' => $operationDriver[$count] ]); }