From 98b2a37fdf50a23dfdbc5190ed57dc13d520faed Mon Sep 17 00:00:00 2001 From: Fabio Lovato Date: Tue, 9 Apr 2019 17:58:42 +0200 Subject: [PATCH] Rimozione campo "relazione" durante aggiunta anagrafica --- modules/anagrafiche/actions.php | 1 - modules/anagrafiche/add.php | 12 +----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/modules/anagrafiche/actions.php b/modules/anagrafiche/actions.php index 8fc06237d..2aacd9732 100644 --- a/modules/anagrafiche/actions.php +++ b/modules/anagrafiche/actions.php @@ -163,7 +163,6 @@ switch (post('op')) { $anagrafica->telefono = post('telefono'); $anagrafica->cellulare = post('cellulare'); $anagrafica->email = post('email'); - $anagrafica->idrelazione = post('idrelazione'); $anagrafica->idagente = $idagente; $anagrafica->pec = post('pec'); $anagrafica->tipo = post('tipo'); diff --git a/modules/anagrafiche/add.php b/modules/anagrafiche/add.php index fe3f6f3d6..6bd24da9b 100644 --- a/modules/anagrafiche/add.php +++ b/modules/anagrafiche/add.php @@ -116,17 +116,7 @@ echo '
{[ "type": "text", "label": "'.tr('Codice destinatario').'", "name": "codice_destinatario", "required": 0, "class": "text-center text-uppercase alphanumeric-mask", "maxlength": "7", "extra": "", "help": "'.tr($help_codice_destinatario).'" ]}
- - - - -
-
- {[ "type": "select", "label": "'.tr('Relazione').'", "name": "idrelazione", "values": "query=SELECT id, descrizione, colore AS _bgcolor_ FROM an_relazioni ORDER BY descrizione" ]} -
-
- '; @@ -160,4 +150,4 @@ echo $('#ragione_sociale', '#bs-popup, #bs-popup2').prop('disabled', false).prop('required', true); } }); - \ No newline at end of file +