Mostrar correctamente venta desistida

This commit is contained in:
2023-12-21 19:15:11 -03:00
parent 80a6bf1535
commit d7d17a3051
5 changed files with 23 additions and 5 deletions

View File

@ -55,7 +55,7 @@ class Mapper implements Define\Repository\Mapper
if ($this->hasProperty()) {
$property = $this->property;
}
if (isset($data[$column])) {
if (in_array($column, array_keys($data))) {
if ($this->hasFactory()) {
$model->addFactory($property, $this->factory);
return true;