. */ include_once __DIR__.'/../../core.php'; use Modules\Iva\Aliquota; if (isset($id_record)) { $record = $dbo->fetchOne('SELECT * FROM `co_iva` LEFT JOIN `co_iva_lang` ON (`co_iva`.`id` = `co_iva_lang`.`id_record` AND `co_iva_lang`.`id_lang` = '.prepare(setting('Lingua')).') WHERE `co_iva`.`id`='.prepare($id_record)); $iva = Aliquota::find($id_record); }