From 1ae2fdf5bb8784dc314e8709ddda718d2f49cb71 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 29 Apr 2018 12:37:49 +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(); } /**