2015-11-12 21:36:28 +01:00
|
|
|
<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>
|
2017-05-16 15:47:20 +02:00
|
|
|
<td>{{ trans('texts.private_notes') }}</td>
|
2017-11-19 10:55:01 +01:00
|
|
|
<td>{{ trans('texts.converted_amount') }}</td>
|
2015-11-12 21:36:28 +01:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
@foreach ($payments as $payment)
|
2016-07-11 21:24:49 +02:00
|
|
|
@if ( ! $payment->client->is_deleted && ! $payment->invoice->is_deleted)
|
2015-11-16 13:53:02 +01:00
|
|
|
<tr>
|
|
|
|
<td>{{ $payment->present()->client }}</td>
|
|
|
|
@if ($multiUser)
|
|
|
|
<td>{{ $payment->user->getDisplayName() }}</td>
|
|
|
|
@endif
|
|
|
|
<td>{{ $payment->invoice->invoice_number }}</td>
|
2015-12-07 14:34:55 +01:00
|
|
|
<td>{{ $account->formatMoney($payment->amount, $payment->client) }}</td>
|
2015-11-16 13:53:02 +01:00
|
|
|
<td>{{ $payment->present()->payment_date }}</td>
|
|
|
|
<td>{{ $payment->present()->method }}</td>
|
|
|
|
<td>{{ $payment->transaction_reference }}</td>
|
2017-05-16 15:47:20 +02:00
|
|
|
<td>{{ $payment->private_notes }}</td>
|
2017-11-19 10:55:01 +01:00
|
|
|
<td>{{ Utils::formatMoney($payment->amount * $payment->exchange_rate, $payment->exchange_currency_id) }}</td>
|
2015-11-16 13:53:02 +01:00
|
|
|
</tr>
|
|
|
|
@endif
|
2015-11-12 21:36:28 +01:00
|
|
|
@endforeach
|