2015-11-12 21:36:28 +01:00
|
|
|
<tr>
|
|
|
|
<td>{{ trans('texts.name') }}</td>
|
|
|
|
@if ($multiUser)
|
|
|
|
<td>{{ trans('texts.user') }}</td>
|
|
|
|
@endif
|
|
|
|
<td>{{ trans('texts.amount') }}</td>
|
|
|
|
<td>{{ trans('texts.balance') }}</td>
|
|
|
|
<td>{{ trans('texts.credit_date') }}</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
@foreach ($credits as $credit)
|
2015-11-15 18:23:45 +01:00
|
|
|
@if (!$credit->client->is_deleted)
|
|
|
|
<tr>
|
|
|
|
<td>{{ $credit->client->getDisplayName() }}</td>
|
|
|
|
@if ($multiUser)
|
|
|
|
<td>{{ $credit->user->getDisplayName() }}</td>
|
|
|
|
@endif
|
2015-12-07 14:34:55 +01:00
|
|
|
<td>{{ $account->formatMoney($credit->amount, $credit->client) }}</td>
|
|
|
|
<td>{{ $account->formatMoney($credit->balance, $credit->client) }}</td>
|
2015-11-15 18:23:45 +01:00
|
|
|
<td>{{ $credit->present()->credit_date }}</td>
|
|
|
|
</tr>
|
|
|
|
@endif
|
2015-11-12 21:36:28 +01:00
|
|
|
@endforeach
|
|
|
|
|
|
|
|
<tr><td></td></tr>
|