Can make update during import of members

This commit is contained in:
Laurent Destailleur 2021-10-27 09:23:03 +02:00
parent e9ba9fc103
commit 4bde20dd8d
2 changed files with 3 additions and 2 deletions

View File

@ -375,6 +375,7 @@ class modAdherent extends DolibarrModules
if (!empty($conf->societe->enabled)) {
$this->import_examplevalues_array[$r]['a.fk_soc'] = "rowid or name";
}
$this->import_updatekeys_array[$r] = array('a.login'=>'Login');
// Cronjobs
$arraydate = dol_getdate(dol_now());

View File

@ -1451,10 +1451,10 @@ if ($step == 5 && $datatoimport) {
print $langs->trans("ImportFromToLine");
print '</td><td>';
if ($action == 'launchsimu') {
print '<input type="number" class="maxwidth50" name="excludefirstlinebis" disabled="disabled" value="'.$excludefirstline.'">';
print '<input type="number" class="maxwidth50 right" name="excludefirstlinebis" disabled="disabled" value="'.$excludefirstline.'">';
print '<input type="hidden" name="excludefirstline" value="'.$excludefirstline.'">';
} else {
print '<input type="number" class="maxwidth50" name="excludefirstline" value="'.$excludefirstline.'">';
print '<input type="number" class="maxwidth50 right" name="excludefirstline" value="'.$excludefirstline.'">';
print $form->textwithpicto("", $langs->trans("SetThisValueTo2ToExcludeFirstLine"));
}
print ' - ';