From 88e79a35d350f123d8ab64de7dd433067856fc5b Mon Sep 17 00:00:00 2001 From: Matteo Date: Mon, 10 Feb 2025 10:39:17 +0100 Subject: [PATCH] fix: correzione in fase di aggiunta ordine --- modules/ordini/add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ordini/add.php b/modules/ordini/add.php index 6af4eeac3..ee1f81840 100755 --- a/modules/ordini/add.php +++ b/modules/ordini/add.php @@ -22,7 +22,7 @@ use Models\Module; $module = Module::find($id_module); -if ($module->getTranslation('title', Models\Locale::getPredefined()->id) == 'Ordini cliente') { +if ($module->name == 'Ordini cliente') { $dir = 'entrata'; $tipo_anagrafica = 'Cliente';