master
cody 6 months ago
parent c724a7548e
commit 66c8785844

@ -31,7 +31,6 @@ class Orders extends SoftDeletesModel
*/ */
public function needAgreements() public function needAgreements()
{ {
dd($this->orderAgreements->toArray());
if ($this->paramedic_id if ($this->paramedic_id
&& $this->project->agreement == 1 && $this->project->agreement == 1
&& strtotime($this->created_at) >= strtotime(Orders::AGREEMENT_START_DATE) && strtotime($this->created_at) >= strtotime(Orders::AGREEMENT_START_DATE)

Loading…
Cancel
Save