1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 15:42:51 +01:00
invoiceninja/resources/views/export/credits.blade.php

28 lines
967 B
PHP
Raw Normal View History

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>
2017-03-30 10:46:52 +02:00
<td>{{ trans('texts.public_notes') }}</td>
<td>{{ trans('texts.private_notes') }}</td>
2015-11-12 21:36:28 +01:00
</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
<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>
2017-03-30 10:46:52 +02:00
<td>{{ $credit->public_notes }}</td>
<td>{{ $credit->private_notes }}</td>
2015-11-15 18:23:45 +01:00
</tr>
@endif
2015-11-12 21:36:28 +01:00
@endforeach