From 30ddf4459800580cf3ffa189dbb7f472bde7a4ca Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 30 Jun 2023 10:26:51 +1000 Subject: [PATCH] Working on refactor for displaying PDFs --- app/Models/BaseModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/BaseModel.php b/app/Models/BaseModel.php index f0b787f337..fc3dbface7 100644 --- a/app/Models/BaseModel.php +++ b/app/Models/BaseModel.php @@ -274,7 +274,7 @@ class BaseModel extends Model } if (! $invitation) { - throw new \Exception('Hard fail, could not create an invitation - is there a valid contact?'); + throw new \Exception('Hard fail, could not create an invitation.'); } if($this instanceof \App\Models\PurchaseOrder)