diff --git a/app/Http/Controllers/SolicitaController.php b/app/Http/Controllers/SolicitaController.php index 362d538..3affaf1 100644 --- a/app/Http/Controllers/SolicitaController.php +++ b/app/Http/Controllers/SolicitaController.php @@ -40,7 +40,7 @@ public function create(Request $request) if ($carbon->diffInDays(Carbon::now()) < 120) { array_push($computers, [ - 'computer' => $computer->getFirstAttribute('cn'), + 'computer' => $computer->getFirstAttribute('name'), 'os' => $os, 'lastLogon' => $carbon->format('d/m/Y H:i:s') ]); diff --git a/resources/views/solicita/create.blade.php b/resources/views/solicita/create.blade.php index 4a648ca..93cac28 100644 --- a/resources/views/solicita/create.blade.php +++ b/resources/views/solicita/create.blade.php @@ -44,7 +44,7 @@