master
cody 5 months ago
parent e6303a2581
commit c0a8ba1c52

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

Loading…
Cancel
Save