feature/cierres #31

Merged
aldarien merged 462 commits from feature/cierres into develop 2025-09-11 17:05:18 -03:00
384 changed files with 1001 additions and 17238 deletions
Showing only changes of commit 31f49dddb6 - Show all commits

View File

@ -38,10 +38,10 @@ class Propiedad extends Ideal\Repository
{
$model->id = $this->saveNew(
[
#'unidad_principal',
'unidad_principal',
'estacionamientos', 'bodegas', 'estado'],
[
#$model->principal()?->id,
$model->principal()?->id,
implode(',', array_map(function(Model\Venta\Unidad $unidad) {return $unidad->id;}, $model->estacionamientos())),
implode(',', array_map(function(Model\Venta\Unidad $unidad) {return $unidad->id;}, $model->bodegas())),
1]