From 03b363ed2d47664c535d3f19412c7c82bffb2fd5 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 7 Jul 2020 17:54:21 +1000 Subject: [PATCH] Fixes for trashed invoices --- app/Models/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Client.php b/app/Models/Client.php index e139572690ee..754119dc6a2c 100644 --- a/app/Models/Client.php +++ b/app/Models/Client.php @@ -192,7 +192,7 @@ class Client extends BaseModel implements HasLocalePreference public function invoices() { - return $this->hasMany(Invoice::class); + return $this->hasMany(Invoice::class)->withTrashed(); } public function shipping_country()