Ver código fonte

Feltoltott excel fajl termek import click validacios uzenet worksheet name error index display fix

master
Dukai Károly 3 anos atrás
pai
commit
168b09ea48
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      modules/custom/arlista/src/Factory/SpreadSheetFactory.php

+ 2
- 1
modules/custom/arlista/src/Factory/SpreadSheetFactory.php Ver arquivo

@@ -136,7 +136,8 @@ class SpreadSheetFactory extends AbstractSpreadSheetFactory {
$cleanSheetSettingName = strtolower(preg_replace("/[^A-Za-z0-9 ]/", '', $sheetSetting->getName()));

if (strcmp($cleanWorkSheetTitle, $cleanSheetSettingName) != 0) {
$result['extracted'][$sheetSetting->getIndex()]['validation'] = ['A munkalap neve nem megfelő. Ellenőrizze a konfigurációkat! Munkalap száma: ' . ($sheetSetting->getIndex() + 1)];
$workSheetIndex = $sheetSetting->getIndex() + 1;
$result['extracted'][$sheetSetting->getIndex()]['validation'] = ['A munkalap neve nem megfelő. Ellenőrizze a konfigurációkat! Munkalap száma: ' . $workSheetIndex];

return $result;
}

Carregando…
Cancelar
Salvar