From 34567f0b53b18323a8dcc0823eef38c6c2c61a59 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Mon, 27 Oct 2025 10:39:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Orders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Orders.php b/app/Models/Orders.php index 0d03cf5..bebf0c9 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->agreement); + dd($this->paramedic_id,$this->project()->agreement); if ($this->paramedic_id && $this->project->agreement == 1 && strtotime($this->created_at) >= strtotime(Orders::AGREEMENT_START_DATE)