From afda5971989077fc0896c034474f6de4319800a0 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 29 Apr 2018 12:37:36 +0300 Subject: [PATCH] Load deleted payment contact --- app/Models/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Payment.php b/app/Models/Payment.php index e7332f5e047b..ed873f5ca8be 100644 --- a/app/Models/Payment.php +++ b/app/Models/Payment.php @@ -92,7 +92,7 @@ class Payment extends EntityModel */ public function contact() { - return $this->belongsTo('App\Models\Contact'); + return $this->belongsTo('App\Models\Contact')->withTrashed(); } /**