2016-12-05 19:35:01 +01:00
|
|
|
<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>
|
2018-02-14 16:51:01 +01:00
|
|
|
<td>{{ trans('texts.tax') }}</td>
|
2016-12-05 19:35:01 +01:00
|
|
|
<td>{{ trans('texts.category') }}</td>
|
2017-04-19 16:18:24 +02:00
|
|
|
<td>{{ trans('texts.status') }}</td>
|
2016-12-05 19:35:01 +01:00
|
|
|
<td>{{ trans('texts.public_notes') }}</td>
|
|
|
|
<td>{{ trans('texts.private_notes') }}</td>
|
2017-04-19 16:18:24 +02:00
|
|
|
<td>{{ trans('texts.payment_date') }}</td>
|
|
|
|
<td>{{ trans('texts.transaction_reference') }}</td>
|
2016-12-05 19:35:01 +01:00
|
|
|
</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>
|
2018-02-14 16:51:01 +01:00
|
|
|
<td>{{ $expense->present()->taxAmount }}</td>
|
2016-12-05 19:35:01 +01:00
|
|
|
<td>{{ $expense->present()->category }}</td>
|
2017-04-19 16:18:24 +02:00
|
|
|
<td>{{ $expense->statusLabel() }}</td>
|
2016-12-05 19:35:01 +01:00
|
|
|
<td>{{ $expense->public_notes }}</td>
|
|
|
|
<td>{{ $expense->private_notes }}</td>
|
2017-04-19 16:18:24 +02:00
|
|
|
<td>{{ $expense->present()->payment_date }}</td>
|
|
|
|
<td>{{ $expense->transaction_reference }}</td>
|
2016-12-05 19:35:01 +01:00
|
|
|
</tr>
|
|
|
|
@endforeach
|