Added tooltips. Fixed style issues with delete dialogs. Edited bookings index style.

This commit is contained in:
Lukas Halbritter
2019-02-08 13:56:11 +01:00
parent bf0c97db25
commit 5d472dc33b
8 changed files with 164 additions and 95 deletions
+21 -18
View File
@@ -3,32 +3,35 @@
@section('title', 'Zahlungsverflichtung löschen')
@section('subnav')
<a href='{{ url()->previous() }}'>Zurück</a>
<a href='{{ url()->previous() }}' class='btn btn-outline-secondary'>Zurück</a>
@endsection
@section('content')
<h2>@yield('title')</h2>
<form action='/targets/{{ $personTarget->id }}' method='post'>
<form action='/targets/{{ $personTarget->id }}' method='post' class='mt-4 text-center'>
{{ method_field('delete') }}
{{ csrf_field() }}
<p>Soll folgende Zahlungsverpflichtung wirklich gelöscht werden?</p>
<div class='alert alert-danger'>
<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>
<table class='table'>
<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>
<button class='btn btn-primary' type="submit" id="submit">Ja</button>
<a href="{{ url()->previous() }}" class="btn btn-outline-secondary">Nein</a>
</div>
</form>
@endsection