master
cody 6 months ago
parent ca28084eb9
commit 6918a211c6

@ -31,7 +31,6 @@ class Orders extends SoftDeletesModel
*/ */
public function needAgreements() public function needAgreements()
{ {
dd(strtotime($this->created_at) ,strtotime(Orders::AGREEMENT_START_DATE));
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