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