mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX can not show all csv fields (a reason for that ?)
This commit is contained in:
parent
18a050660d
commit
dbc12cb169
|
|
@ -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]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user