mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Prevent payments for deleted invoices from being included in export
This commit is contained in:
parent
6dba7f7153
commit
ca94f5053e
@ -11,7 +11,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@foreach ($payments as $payment)
|
@foreach ($payments as $payment)
|
||||||
@if (!$payment->client->is_deleted)
|
@if ( ! $payment->client->is_deleted && ! $payment->invoice->is_deleted)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $payment->present()->client }}</td>
|
<td>{{ $payment->present()->client }}</td>
|
||||||
@if ($multiUser)
|
@if ($multiUser)
|
||||||
|
Loading…
Reference in New Issue
Block a user