From 94c2ec7d55e349ff28de90b4cb03cd17e3aa4da7 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Mon, 27 Oct 2025 10:15:08 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Models/Orders.php b/app/Models/Orders.php index f91b721..0588efa 100755 --- a/app/Models/Orders.php +++ b/app/Models/Orders.php @@ -31,6 +31,7 @@ class Orders extends SoftDeletesModel */ public function needAgreements() { + dd($this->paramedic_id , $this->project->agreement); if ($this->paramedic_id && $this->project->agreement == 1 && strtotime($this->created_at) >= strtotime(Orders::AGREEMENT_START_DATE) && ($this->orderAgreementByLast()->isEmpty() || ($this->orderAgreementByLast()->isNotEmpty() && $this->orderAgreementByLast()->paramedic_id != $this->paramedic_id))) {