Fix minore
This commit is contained in:
parent
79edbf64f9
commit
a52f568ab9
|
@ -262,7 +262,7 @@ if ($righe_vuote) {
|
|||
|
||||
$query = 'SELECT `co_statidocumento`.*, `co_statidocumento`.`id` AS id, `colore` AS _bgcolor_, `co_statidocumento_lang`.`title` as descrizione FROM `co_statidocumento` LEFT JOIN `co_statidocumento_lang` ON (`co_statidocumento_lang`.`id_record` = `co_statidocumento`.`id` AND `co_statidocumento_lang`.`id_lang` = '.prepare(Models\Locale::getDefault()->id).')';
|
||||
if (empty($record['is_fiscale'])) {
|
||||
$query .= " WHERE `co_statidocumento`.`id` = '.$id_stato_bozza.'";
|
||||
$query .= " WHERE `co_statidocumento`.`id` = $id_stato_bozza";
|
||||
|
||||
$plugin = $dbo->fetchArray('SELECT `zz_plugins`.`id` FROM `zz_plugins` LEFT JOIN `zz_plugins_lang` ON (`zz_plugins`.`id` = `zz_plugins_lang`.`id_record` AND `zz_plugins_lang`.`id_lang` = '.prepare(Models\Locale::getDefault()->id).") WHERE `title`='Fatturazione Elettronica' AND `idmodule_to` = ".prepare($id_module));
|
||||
echo '<script>$("#link-tab_'.$plugin[0]['id'].'").addClass("disabled");</script>';
|
||||
|
|
Loading…
Reference in New Issue