Added views for authorizing.

This commit is contained in:
Lukas Halbritter
2018-12-06 11:48:42 +01:00
parent 280b132282
commit 85493343d6
13 changed files with 504 additions and 72 deletions
+18 -1
View File
@@ -19,6 +19,15 @@
<th>Differenz</th>
<th>Aktion</th>
</tr>
<tr>
<th></th>
<th>SUMME</th>
<th></th>
<th></th>
<th></th>
<th>{!! formatAmount($sums['debts']) !!}</th>
<th></th>
</tr>
@foreach ($personTargets['debts'] as $personTarget)
<tr>
<td>{{ formatDate($personTarget->date) }}</td>
@@ -47,6 +56,15 @@
<th>Differenz</th>
<th>Aktion</th>
</tr>
<tr>
<th></th>
<th>SUMME</th>
<th></th>
<th></th>
<th></th>
<th>{!! formatAmount($sums['receivables']) !!}</th>
<th></th>
</tr>
@foreach ($personTargets['receivables'] as $personTarget)
<tr>
<td>{{ formatDate($personTarget->date) }}</td>
@@ -57,7 +75,6 @@
<td>{!! formatAmount($personTarget->difference()) !!}</td>
<td>
<div class="btn-group" role="group" aria-label="Basic example">
<a href='/targets/{{ $personTarget->id }}' class="btn btn-primary"><i class="fas fa-eye"></i></a>
<a href='/targets/{{ $personTarget->id }}/edit' class="btn btn-success"><i class="fas fa-edit"></i></a>
<a href='/targets/{{ $personTarget->id }}/delete' class="btn btn-danger"><i class="fas fa-trash"></i></a>
</div>