Complete TP7 TP8 authentication authorization and classic CSS

This commit is contained in:
2026-10-21 00:48:38 +02:00
parent 4a84a17cbf
commit ffe85d5f0d
101 changed files with 7643 additions and 110 deletions
@@ -30,12 +30,16 @@
<td>{{ $client->created_at->format('d/m/Y') }}</td>
<td>
<a href="{{ route('clients.show', $client) }}">Voir</a>
<a href="{{ route('clients.edit', $client) }}">Modifier</a>
@can('update', $client)
<a href="{{ route('clients.edit', $client) }}">Modifier</a>
@endcan
@can('delete', $client)
<form method="POST" action="{{ route('clients.destroy', $client) }}" style="display: inline">
@csrf
@method('DELETE')
<button type="submit">Supprimer</button>
</form>
@endcan
</td>
</tr>
@endforeach