public function historicoTable() { return $this->recordes2(NULL); return json_encode(Historico::all()); }