1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-29 09:11:11 +01:00
openstamanager/modules/import/init.php
2020-08-07 12:02:16 +02:00

14 lines
320 B
PHP
Executable File

<?php
include_once __DIR__.'/../../core.php';
$modulo_import = Modules::get('Import');
$moduli_disponibili = [
'Anagrafiche' => \Modules\Anagrafiche\Import\CSV::class,
'Articoli' => \Modules\Articoli\Import\CSV::class,
];
if (!empty($id_record)) {
$record = $modulo_import->uploads($id_record)->last();
}