Embedded people show view into the master layout.
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
<a href='/people'>Zurück</a>
|
@extends('layout.master')
|
||||||
<h2>Stammdaten</h2>
|
|
||||||
<table border='1'>
|
@section('subnav')
|
||||||
|
<a href='/people'>Zurück</a>
|
||||||
|
<a href='/people/{{ $person->id }}/edit'>Bearbeiten</a>
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<h2>Stammdaten</h2>
|
||||||
|
<table border='1'>
|
||||||
<tr>
|
<tr>
|
||||||
<td>ID</td>
|
<td>ID</td>
|
||||||
<td>{{ $person->id }}</td>
|
<td>{{ $person->id }}</td>
|
||||||
@@ -45,9 +52,9 @@
|
|||||||
<td>Geburtstag</td>
|
<td>Geburtstag</td>
|
||||||
<td>{{ $person->date_of_birth }}</td>
|
<td>{{ $person->date_of_birth }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@if ($person->title != 'Firma')
|
@if ($person->title != 'Firma')
|
||||||
<h2>Mitgliederdaten</h2>
|
<h2>Mitgliederdaten</h2>
|
||||||
@if ($person->wasMember())
|
@if ($person->wasMember())
|
||||||
<table border='1'>
|
<table border='1'>
|
||||||
@@ -73,10 +80,10 @@
|
|||||||
@else
|
@else
|
||||||
<p>{{ $person->fullName() }} war nie Mitglied.</p>
|
<p>{{ $person->fullName() }} war nie Mitglied.</p>
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<h2>Konto<h2>
|
<h2>Konto<h2>
|
||||||
<table border='1'>
|
<table border='1'>
|
||||||
<tr>
|
<tr>
|
||||||
<th> </th>
|
<th> </th>
|
||||||
<th>Datum</th>
|
<th>Datum</th>
|
||||||
@@ -105,4 +112,5 @@
|
|||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endforeach
|
@endforeach
|
||||||
</table>
|
</table>
|
||||||
|
@endsection
|
||||||
|
|||||||
Reference in New Issue
Block a user