Files
pollux/resources/views/people/index.blade.php
T
Lukas Halbritter 0608094039 Added views for indexing all people and showing a single one.
Added a method to get all (sub-)bookings associated with a person-target.
2018-09-09 10:01:37 +02:00

34 lines
925 B
PHP

<table border='1'>
<tr>
<th>ID</th>
<th>Titel</th>
<th>Name / Firma</th>
<th>Vorname</th>
<th>Straße</th>
<th>PLZ</th>
<th>Ort</th>
<th>E-Mail</th>
<th>Handy</th>
<th>Telefon</th>
<th>Aktionen</th>
</tr>
@foreach ($people as $person)
<tr>
<td>{{ $person->id }}</td>
<td>{{ $person->title }}</td>
<td>{{ $person->name_or_company }}</td>
<td>{{ $person->surname }}</td>
<td>{{ $person->street }}</td>
<td>{{ $person->postal_code }}</td>
<td>{{ $person->city }}</td>
<td>{{ $person->email }}</td>
<td>{{ $person->mobile }}</td>
<td>{{ $person->phone }}</td>
<td>
<a href='/people/{{ $person-> id }}'>Anzeigen</a>
</td>
</tr>
@endforeach
</table>