From e4200a6ba5cb7db61f6a4227f61223f4deeea468 Mon Sep 17 00:00:00 2001 From: MatteoPistorello Date: Wed, 9 Mar 2022 17:30:07 +0100 Subject: [PATCH] Fix minore --- modules/ddt/edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ddt/edit.php b/modules/ddt/edit.php index 0925bec37..92283e65c 100755 --- a/modules/ddt/edit.php +++ b/modules/ddt/edit.php @@ -23,10 +23,10 @@ $block_edit = $record['flag_completato']; $module = Modules::get($id_module); -if ($module['name'] == 'Ddt di vendita') { - $dir = 'entrata'; -} else { +if ($module['name'] == 'Ddt di acquisto') { $dir = 'uscita'; +} else { + $dir = 'entrata'; } $numero_previsto = verifica_numero_ddt($ddt);