FIX can not show all csv fields (a reason for that ?)

This commit is contained in:
Regis Houssin 2023-03-29 12:27:29 +02:00
parent 18a050660d
commit dbc12cb169

View File

@ -1079,9 +1079,9 @@ if ($step == 4 && $datatoimport) {
$valforsourcefieldnb[$lefti] = $key;
$lefti++;
if ($lefti > count($fieldstarget)) {
/*if ($lefti > count($fieldstarget)) {
break; // Other fields are in the not imported area
}
}*/
}
//var_dump($valforsourcefieldnb);
@ -1134,9 +1134,9 @@ if ($step == 4 && $datatoimport) {
print '<table class="nobordernopadding centpercent tableimport">';
foreach ($fieldssource as $code => $line) { // $fieldssource is an array code=column num, line=content on first line for column in source file.
if ($i == $minpos) {
/*if ($i == $minpos) {
break;
}
}*/
print '<tr style="height:'.$height.'" class="trimport oddevenimport">';
$entity = (!empty($objimport->array_import_entities[0][$code]) ? $objimport->array_import_entities[0][$code] : $objimport->array_import_icon[0]);