diff --git a/app/Models/Orders.php b/app/Models/Orders.php index 7dd5b37..7e9fb20 100755 --- a/app/Models/Orders.php +++ b/app/Models/Orders.php @@ -31,7 +31,7 @@ class Orders extends SoftDeletesModel */ public function needAgreements() { - dd($this->paramedic_id,$this->project); + dd($this->paramedic_id,$this->project->toArray()); if ($this->paramedic_id && $this->project->agreement == 1 && strtotime($this->created_at) >= strtotime(Orders::AGREEMENT_START_DATE)