master
cody 5 months ago
parent 34567f0b53
commit b21d902493

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

Loading…
Cancel
Save