1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/resources/views/export/payments.blade.php
2017-03-28 11:40:42 +03:00

28 lines
1010 B
PHP

<tr>
<td>{{ trans('texts.client') }}</td>
@if ($multiUser)
<td>{{ trans('texts.user') }}</td>
@endif
<td>{{ trans('texts.invoice_number') }}</td>
<td>{{ trans('texts.amount') }}</td>
<td>{{ trans('texts.payment_date') }}</td>
<td>{{ trans('texts.method') }}</td>
<td>{{ trans('texts.transaction_reference') }}</td>
</tr>
@foreach ($payments as $payment)
@if ( ! $payment->client->is_deleted && ! $payment->invoice->is_deleted)
<tr>
<td>{{ $payment->present()->client }}</td>
@if ($multiUser)
<td>{{ $payment->user->getDisplayName() }}</td>
@endif
<td>{{ $payment->invoice->invoice_number }}</td>
<td>{{ $account->formatMoney($payment->amount, $payment->client) }}</td>
<td>{{ $payment->present()->payment_date }}</td>
<td>{{ $payment->present()->method }}</td>
<td>{{ $payment->transaction_reference }}</td>
</tr>
@endif
@endforeach