master
cody 6 months ago
parent 42b18fee88
commit c724a7548e

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

Loading…
Cancel
Save