public function get_lineas() { $linea = new linea_presupuesto_proveedor(); return $linea->all_from_presupuesto($this->idpresupuesto); }