From bbf45e0924d18f2884c93b207b278e46f649313f Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 27 Feb 2019 11:42:39 +0100 Subject: [PATCH] Revert "Update edit.php" This reverts commit 953a7b57990ab68cd27df7a49fd8788d161ba4e9. --- modules/fatture/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/fatture/edit.php b/modules/fatture/edit.php index bbedc0f39..93876ea49 100644 --- a/modules/fatture/edit.php +++ b/modules/fatture/edit.php @@ -128,7 +128,7 @@ if (empty($record['is_fiscale'])) { if ($dir == 'entrata') { ?> - {[ "type": "select", "label": "", "name": "idanagrafica", "required": 1, "ajax-source": "clienti", "help": "fetchOne('SELECT ragione_sociale FROM an_anagrafiche WHERE idanagrafica = '.prepare(setting('Azienda predefinita')))['ragione_sociale']); ?>", "value": "$idanagrafica$" ]} + {[ "type": "select", "label": "", "name": "idanagrafica", "required": 1, "ajax-source": "clienti", "help": "fetchOne('SELECT ragione_sociale FROM an_anagrafiche WHERE idanagrafica = '.prepare(setting('Azienda predefinita')))['ragione_sociale']; ?>", "value": "$idanagrafica$" ]} @@ -215,7 +215,7 @@ if ($dir == 'uscita') { if ($dir == 'entrata') { ?>
- {[ "type": "checkbox", "label": "", "name": "is_fattura_conto_terzi", "value": "$is_fattura_conto_terzi$", "help": "fetchOne('SELECT ragione_sociale FROM an_anagrafiche WHERE idanagrafica = '.prepare(setting('Azienda predefinita')))['ragione_sociale']).') come cessionario e il cliente come cedente/prestatore.'); ?>", "placeholder": "" ]} + {[ "type": "checkbox", "label": "", "name": "is_fattura_conto_terzi", "value": "$is_fattura_conto_terzi$", "help": "fetchOne('SELECT ragione_sociale FROM an_anagrafiche WHERE idanagrafica = '.prepare(setting('Azienda predefinita')))['ragione_sociale'].') come cessionario e il cliente come cedente/prestatore.'); ?>", "placeholder": "" ]}