CRM - tp 1,2, et 3 bientot fini
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
class ClientsController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$clients = [
|
||||
[
|
||||
'name' => 'Jean Dupont',
|
||||
'email' => 'jean@example.com',
|
||||
'city' => 'Paris'
|
||||
],
|
||||
[
|
||||
'name' => 'Marie Martin',
|
||||
'email' => 'marie@example.com',
|
||||
'city' => 'Lyon'
|
||||
],
|
||||
[
|
||||
'name' => 'Paul Durand',
|
||||
'email' => 'paul@example.com',
|
||||
'city' => 'Marseille'
|
||||
]
|
||||
];
|
||||
|
||||
return view('clients', ['clients' => $clients]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user