FIX: Fecha terreno
This commit is contained in:
@ -53,4 +53,13 @@ class Nubox extends Ideal\Repository
|
||||
{
|
||||
return 'inmobiliaria_rut';
|
||||
}
|
||||
protected function getIndex(Define\Model $model): mixed
|
||||
{
|
||||
return $model->inmobiliaria->rut;
|
||||
}
|
||||
protected function setIndex(Define\Model &$model, mixed $value): Ideal\Repository
|
||||
{
|
||||
$model->inmobiliaria = $this->inmobiliariaRepository->fetchById($value);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
@ -52,4 +52,9 @@ class Prorrateo extends Ideal\Repository
|
||||
{
|
||||
return array_intersect_key($data, array_flip(['prorrateo']));
|
||||
}
|
||||
|
||||
protected function getIndex(Define\Model $model): mixed
|
||||
{
|
||||
return $model->unidad->id;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user