Fix avviso aggiunta ddt

This commit is contained in:
Pek5892 2023-03-22 16:28:35 +01:00
parent f595acd3e2
commit 18a8177595
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ switch (filter('op')) {
$ddt->save();
flash()->info(tr('Aggiunto ddt in _TYPE_ numero _NUM_!', [
'_TYPE_' => $dir,
'_NUM_' => $ddt->numero,
'_TYPE_' => ($dir == 'entrata' ? 'uscita' : 'entrata'),
'_NUM_' => ($dir == 'entrata' ? $ddt->numero_esterno : $ddt->numero),
]));
break;