mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +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>
|
||||
|
||||
@foreach ($payments as $payment)
|
||||
@if (!$payment->client->is_deleted)
|
||||
@if ( ! $payment->client->is_deleted && ! $payment->invoice->is_deleted)
|
||||
<tr>
|
||||
<td>{{ $payment->present()->client }}</td>
|
||||
@if ($multiUser)
|
||||
@ -26,4 +26,4 @@
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
<tr><td></td></tr>
|
||||
<tr><td></td></tr>
|
||||
|
Loading…
Reference in New Issue
Block a user