openstamanager/modules/import/init.php

14 lines
320 B
PHP
Raw Normal View History

2018-02-23 19:04:05 +01:00
<?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,
];
2018-02-23 19:04:05 +01:00
if (!empty($id_record)) {
2020-08-07 12:02:16 +02:00
$record = $modulo_import->uploads($id_record)->last();
2018-02-23 19:04:05 +01:00
}