diff --git a/readme.md b/readme.md
index 29abc1e737e6..cb3a30fa2953 100644
--- a/readme.md
+++ b/readme.md
@@ -11,7 +11,7 @@ If you'd like to use our code to sell your own invoicing app email us for detail
### Installation Options
* [Self-Host Zip](https://www.invoiceninja.com/knowledgebase/self-host/) - Free
-* [Docker File](https://github.com/lalop/invoice-ninja-docker/blob/master/Dockerfile) - Free
+* [Docker File](https://github.com/invoiceninja/dockerfiles) - Free
* [Bitnami](https://bitnami.com/stack/invoice-ninja) - Free
* [Softaculous](https://www.softaculous.com/apps/ecommerce/Invoice_Ninja) - $30
diff --git a/resources/views/export/invoices.blade.php b/resources/views/export/invoices.blade.php
index 78af6fa9dae9..018e5b096ecb 100644
--- a/resources/views/export/invoices.blade.php
+++ b/resources/views/export/invoices.blade.php
@@ -25,31 +25,33 @@
@foreach ($invoices as $invoice)
-
- {{ $invoice->present()->client }} |
- @if ($multiUser)
- {{ $invoice->present()->user }} |
- @endif
- {{ $invoice->invoice_number }} |
- {{ $invoice->present()->balance }} |
- {{ $invoice->present()->amount }} |
- {{ $invoice->po_number }} |
- {{ $invoice->present()->status }} |
- {{ $invoice->present()->invoice_date }} |
- {{ $invoice->present()->due_date }} |
- @if ($account->custom_invoice_label1)
- {{ $invoice->custom_value1 }} |
- @endif
- @if ($account->custom_invoice_label2)
- {{ $invoice->custom_value2 }} |
- @endif
- @if ($account->custom_invoice_label1)
- {{ $invoice->custom_text_value1 }} |
- @endif
- @if ($account->custom_invoice_label2)
- {{ $invoice->custom_text_value2 }} |
- @endif
-
+ @if (!$invoice->client->is_deleted)
+
+ {{ $invoice->present()->client }} |
+ @if ($multiUser)
+ {{ $invoice->present()->user }} |
+ @endif
+ {{ $invoice->invoice_number }} |
+ {{ $invoice->present()->balance }} |
+ {{ $invoice->present()->amount }} |
+ {{ $invoice->po_number }} |
+ {{ $invoice->present()->status }} |
+ {{ $invoice->present()->invoice_date }} |
+ {{ $invoice->present()->due_date }} |
+ @if ($account->custom_invoice_label1)
+ {{ $invoice->custom_value1 }} |
+ @endif
+ @if ($account->custom_invoice_label2)
+ {{ $invoice->custom_value2 }} |
+ @endif
+ @if ($account->custom_invoice_label1)
+ {{ $invoice->custom_text_value1 }} |
+ @endif
+ @if ($account->custom_invoice_label2)
+ {{ $invoice->custom_text_value2 }} |
+ @endif
+
+ @endif
@endforeach
|
\ No newline at end of file
diff --git a/resources/views/export/payments.blade.php b/resources/views/export/payments.blade.php
index 84a07deaa46c..0d07d6e2e058 100644
--- a/resources/views/export/payments.blade.php
+++ b/resources/views/export/payments.blade.php
@@ -11,17 +11,19 @@
@foreach ($payments as $payment)
-
- {{ $payment->present()->client }} |
- @if ($multiUser)
- {{ $payment->user->getDisplayName() }} |
- @endif
- {{ $payment->invoice->invoice_number }} |
- {{ $payment->present()->amount }} |
- {{ $payment->present()->payment_date }} |
- {{ $payment->present()->method }} |
- {{ $payment->transaction_reference }} |
-
+ @if (!$payment->client->is_deleted)
+
+ {{ $payment->present()->client }} |
+ @if ($multiUser)
+ {{ $payment->user->getDisplayName() }} |
+ @endif
+ {{ $payment->invoice->invoice_number }} |
+ {{ $payment->present()->amount }} |
+ {{ $payment->present()->payment_date }} |
+ {{ $payment->present()->method }} |
+ {{ $payment->transaction_reference }} |
+
+ @endif
@endforeach
|
\ No newline at end of file
diff --git a/resources/views/export/tasks.blade.php b/resources/views/export/tasks.blade.php
index 1c8e58e54cdc..3cacc198b935 100644
--- a/resources/views/export/tasks.blade.php
+++ b/resources/views/export/tasks.blade.php
@@ -9,15 +9,17 @@
@foreach ($tasks as $task)
-
- {{ $task->present()->client }} |
- @if ($multiUser)
- {{ $task->present()->user }} |
- @endif
- {{ $task->getStartTime() }} |
- {{ $task->getDuration() }} |
- {{ $task->description }} |
-
+ @if (!$task->client || !$task->client->is_deleted)
+
+ {{ $task->present()->client }} |
+ @if ($multiUser)
+ {{ $task->present()->user }} |
+ @endif
+ {{ $task->getStartTime() }} |
+ {{ $task->getDuration() }} |
+ {{ $task->description }} |
+
+ @endif
@endforeach
|
\ No newline at end of file