1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 08:02:40 +01:00
invoiceninja/resources/views/export/credits.blade.php
2017-03-30 11:46:52 +03:00

28 lines
967 B
PHP

<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>
<td>{{ trans('texts.public_notes') }}</td>
<td>{{ trans('texts.private_notes') }}</td>
</tr>
@foreach ($credits as $credit)
@if (!$credit->client->is_deleted)
<tr>
<td>{{ $credit->client->getDisplayName() }}</td>
@if ($multiUser)
<td>{{ $credit->user->getDisplayName() }}</td>
@endif
<td>{{ $account->formatMoney($credit->amount, $credit->client) }}</td>
<td>{{ $account->formatMoney($credit->balance, $credit->client) }}</td>
<td>{{ $credit->present()->credit_date }}</td>
<td>{{ $credit->public_notes }}</td>
<td>{{ $credit->private_notes }}</td>
</tr>
@endif
@endforeach