diff --git a/app/Models/Control.php b/app/Models/Control.php
index 26f6579d..a6286a49 100644
--- a/app/Models/Control.php
+++ b/app/Models/Control.php
@@ -10,11 +10,11 @@ class Control extends Model
'name',
'clause',
'objective',
+ 'observations',
'input',
'attributes',
'model',
'action_plan',
- 'realisation_date',
];
protected $dates = [
diff --git a/resources/views/search.blade.php b/resources/views/search.blade.php
index e51465f8..d4359dd0 100644
--- a/resources/views/search.blade.php
+++ b/resources/views/search.blade.php
@@ -5,13 +5,13 @@
@foreach($results as $result)
@if ($result['model']==='App\\Models\\Domain')
-
Domaine
+
{{ trans("cruds.domain.title")}}
{{ $result['title'] }} : {{ $result['description'] }}
@elseif ($result['model']==='App\\Models\\Measure')
-
Mesure
+
{{ trans("cruds.measure.title")}}
{{ $result['clause'] }} : {{ $result["name"] }}
@elseif ($result['model']==='App\\Models\\Control')
-
Contrôle
+
{{ trans("cruds.control.title_singular")}}
{{ $result["clause"] }} : {{ $result["name"] }}
@if (array_key_exists("realisation_date",$result))
- {{ $result["realisation_date"] }}