FIX: Tipo Cuenta
This commit is contained in:
@ -31,7 +31,7 @@ class CentroCosto extends Ideal\Repository
|
||||
->setFunction(function(array $data) {
|
||||
return $this->categoriaCentroRepository->fetchById($data['categoria_id']);
|
||||
}))
|
||||
->register('tipo_cuenta', (new Mapper())
|
||||
->register('tipo_cuenta_id', (new Mapper())
|
||||
->setProperty('tipoCuenta')
|
||||
->setFunction(function(array $data) {
|
||||
return $this->tipoCuentaRepository->fetchById($data['tipo_cuenta_id']);
|
||||
|
Reference in New Issue
Block a user