1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/resources/views/export/expenses.blade.php
2017-04-19 17:18:24 +03:00

34 lines
1.3 KiB
PHP

<tr>
<td>{{ trans('texts.vendor') }}</td>
<td>{{ trans('texts.client') }}</td>
@if ($multiUser)
<td>{{ trans('texts.user') }}</td>
@endif
<td>{{ trans('texts.expense_date') }}</td>
<td>{{ trans('texts.amount') }}</td>
<td>{{ trans('texts.category') }}</td>
<td>{{ trans('texts.status') }}</td>
<td>{{ trans('texts.public_notes') }}</td>
<td>{{ trans('texts.private_notes') }}</td>
<td>{{ trans('texts.payment_date') }}</td>
<td>{{ trans('texts.transaction_reference') }}</td>
</tr>
@foreach ($expenses as $expense)
<tr>
<td>{{ $expense->vendor ? $expense->vendor->getDisplayName() : '' }}</td>
<td>{{ $expense->client ? $expense->client->getDisplayName() : '' }}</td>
@if ($multiUser)
<td>{{ $expense->user->getDisplayName() }}</td>
@endif
<td>{{ $expense->present()->expense_date }}</td>
<td>{{ $expense->present()->amount }}</td>
<td>{{ $expense->present()->category }}</td>
<td>{{ $expense->statusLabel() }}</td>
<td>{{ $expense->public_notes }}</td>
<td>{{ $expense->private_notes }}</td>
<td>{{ $expense->present()->payment_date }}</td>
<td>{{ $expense->transaction_reference }}</td>
</tr>
@endforeach