public function scopeNewCases($query) { return $query->where('status', '0')->orderBy('id', 'DESC')->get(); }