We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5449e7 commit 4afe827Copy full SHA for 4afe827
1 file changed
modules/articoli/actions.php
@@ -363,12 +363,12 @@
363
]), date('Y-m-d'));
364
}
365
366
- flash()->info(tr('Aggiunti _NUM_ seriali!', [
367
- '_NUM_' => $count,
368
- ]));
369
-
370
- if ($count != $totale) {
371
- flash()->warning(tr('Alcuni seriali erano già presenti').'...');
+ if ($count > 0) {
+ flash()->info(tr('Aggiunti _NUM_ seriali!', [
+ '_NUM_' => $count,
+ ]));
+ } else {
+ flash()->warning(tr('Nessun seriale è stato aggiunto. Verifica che i seriali inseriti non esistano già.'));
372
373
374
break;
0 commit comments