Implemented some person target functionality.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
@extends('layout.master')
|
||||
|
||||
@section('title', 'Zahlungsverflichtung löschen')
|
||||
|
||||
@section('subnav')
|
||||
<a href='{{ url()->previous() }}'>Zurück</a>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<h2>@yield('title')</h2>
|
||||
<form action='/targets/{{ $personTarget->id }}' method='post'>
|
||||
{{ method_field('delete') }}
|
||||
{{ csrf_field() }}
|
||||
<p>Soll folgende Zahlungsverpflichtung wirklich gelöscht werden?</p>
|
||||
|
||||
<table border='1'>
|
||||
<tr>
|
||||
<th>Datum</th>
|
||||
<th>Position</th>
|
||||
<th>Person / Firma</th>
|
||||
<th>Betrag</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ formatDate($personTarget->date) }}</td>
|
||||
<td>{{ $personTarget->reference }}</td>
|
||||
<td>{{ $personTarget->person->fullName() }}</td>
|
||||
<td>{{ $personTarget->signedAmount() }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<button type="submit" id="submit">Ja</button>
|
||||
</form>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user