update
This commit is contained in:
@@ -7,8 +7,24 @@
|
||||
</div>
|
||||
</div>
|
||||
@if ($payments ?? false)
|
||||
@foreach ($payments as $payment)
|
||||
@endforeach
|
||||
<table class="table">
|
||||
<thead>
|
||||
<th>Date</th>
|
||||
<th>Type</th>
|
||||
<th class="text-right">Montant</th>
|
||||
<th>Ref</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($payments as $payment)
|
||||
<tr>
|
||||
<td>{{ $payment['date'] }}</td>
|
||||
<td>{{ $payment_types[$payment['payment_type']] }}</td>
|
||||
<td class="text-right font-weight-bold">{{ sprintf('%01.2f', $payment['amount']) }} €</td>
|
||||
<td>{{ $payment['reference'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
@push('js')
|
||||
|
||||
Reference in New Issue
Block a user