master
cody 5 months ago
parent 66c8785844
commit 09e39c17b7

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

Loading…
Cancel
Save