diff --git a/app/src/Service/Venta/Precio/Import.php b/app/src/Service/Venta/Precio/Import.php index 5a56900..02501b9 100644 --- a/app/src/Service/Venta/Precio/Import.php +++ b/app/src/Service/Venta/Precio/Import.php @@ -75,19 +75,19 @@ class Import extends Ideal\Service 'precio' => [], 'unidad' => ['departamento'], 'tipo' => ['tipo unidad'], - 'fecha' => [] + 'fecha' => [], ]; $realTitlesMap = []; $titles = array_keys($data[0]); foreach ($baseTitlesMap as $base => $optionals) { foreach ($titles as $title) { - if (str_contains($title, $base)) { + if (str_contains(strtolower($title), $base)) { $realTitlesMap[$title] = $base; break; } foreach ($optionals as $optional) { - if (str_contains($title, $optional)) { + if (str_contains(strtolower($title), $optional)) { $realTitlesMap[$title] = $base; break; }