Agregar Proveedor
This commit is contained in:
@ -31,7 +31,7 @@ class Sociedad extends Ideal\Repository
|
||||
->register('contacto_rut', (new Implement\Repository\Mapper())
|
||||
->setProperty('contacto')
|
||||
->setFunction(function ($data) {
|
||||
return $this->personaService->getByRut($data['contacto_rut']);
|
||||
return $this->personaService->getById($data['contacto_rut']);
|
||||
}));
|
||||
return $this->parseData(new Model\Sociedad(), $data, $map);
|
||||
}
|
||||
|
Reference in New Issue
Block a user