/** * Get Contract with pdf process status * * @param $status * @return Collection */ public function getContractWithPdfProcessingStatus($status) { return $this->contract->where('pdf_process_status', $status)->get(); }