30 require_once
'include/class_import_card.php';
31 require_once NOALYSS_INCLUDE.
'/class/class_acc_ledger.php';
32 require_once NOALYSS_INCLUDE.
'/class/class_acc_ledger_purchase.php';
33 require_once NOALYSS_INCLUDE.
'/class/class_acc_ledger_sold.php';
34 require_once NOALYSS_INCLUDE.
'/class/class_acc_operation.php';
36 echo
'<div style="float:right"><a class="mtitle" style="font-size:140%" href="http://wiki.noalyss.eu/doku.php?id=importation_dolibarr" target="_blank">Aide</a>'.
37 '<span style="font-size:0.8em;color:red;display:inline">vers:SVNINFO</span>'.
39 $cn=Dossier::connect();
43 Extension::check_version(6910);
47 require_once(
'impdol.js');
50 echo create_script(
$j);
57 array(
$url.
'&sa=fiche',_(
'Fiches'),_(
'Importation de nouvelles fiches'),1),
58 array(
$url.
'&sa=opr',_(
'Opérations Ventes/Achats'),_(
'Importation d\'opérations de vente ou d\'achat'),2),
59 array(
$url.
'&sa=parm',_(
'Paramètrage'),_(
'Paramètrage'),5)
78 if (
$cn->exist_schema(
'impdol') ==
false)
80 require_once(
'include/class_install_impdol.php');
82 $iplugn=
new Install_Impdol();
83 $iplugn->install(
$cn);
86 echo ShowItem(
$array,
'H',
'mtitle',
'mtitle',$default,
' style="width:80%;margin-left:10%"');
87 echo
'<div class="content" style="padding:10">';
112 require_once(
'include/imd_parameter.inc.php');
118 require_once
'include/imd_operation.inc.php';
test_import()
Test the CSV file, show the choosed delimiter, the CSV parsed, and replace column header by attribute...
new_import()
show the first screen,
record_import()
record all rows