modified: SRC/app/Http/Controllers/ReferentController.php
This commit is contained in:
parent
a17832b4b6
commit
4c061c4d73
@ -37,11 +37,11 @@ class ReferentController extends Controller {
|
|||||||
$user = User::all();
|
$user = User::all();
|
||||||
|
|
||||||
$dataSearch = [];
|
$dataSearch = [];
|
||||||
$dataSearch['auteur'] = Auteur::all();
|
$dataSearch['auteur'] = Auteur::orderBy('nom')->get();
|
||||||
$dataSearch['designation'] = Designation::all();
|
$dataSearch['designation'] = Designation::orderBy('nom')->get();
|
||||||
$dataSearch['domaine'] = Domaine::all();
|
$dataSearch['domaine'] = Domaine::orderBy('nom')->get();
|
||||||
$dataSearch['matiere'] = Matiere::all();
|
$dataSearch['matiere'] = Matiere::orderBy('nom')->get();
|
||||||
$dataSearch['technique'] = Technique::all();
|
$dataSearch['technique'] = Technique::orderBy('nom')->get();
|
||||||
|
|
||||||
//$ListeOeuvre = ListeOeuvre::find(2);
|
//$ListeOeuvre = ListeOeuvre::find(2);
|
||||||
//$ListeOeuvre->oeuvres()->attach([22, 23, 24, 25, 26]);
|
//$ListeOeuvre->oeuvres()->attach([22, 23, 24, 25, 26]);
|
||||||
|
Reference in New Issue
Block a user