From 2f322d630d504e2c2f24a7b966328e237c5b3354 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 9 Sep 2022 09:27:29 +1000 Subject: [PATCH] Change [] for vendors to contacts.company --- app/Models/Vendor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Vendor.php b/app/Models/Vendor.php index 461c7e7400b5..ba9fbb96c0fc 100644 --- a/app/Models/Vendor.php +++ b/app/Models/Vendor.php @@ -64,7 +64,7 @@ class Vendor extends BaseModel protected $touches = []; protected $with = [ - 'company', + 'contacts.company', ]; protected $presenter = VendorPresenter::class;