Fix minore

This commit is contained in:
Pek5892 2023-02-17 16:57:36 +01:00
parent 5f4e2849bf
commit abdd37a3d6
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ switch (filter('op')) {
// Duplica ddt
case 'copy':
$new = $ddt->replicate();
$new->numero = DDT::getNextNumero($new->data, $dir);
$new->numero = DDT::getNextNumero($new->data, $dir, $id_segment);
$new->numero_esterno = DDT::getNextNumeroSecondario($new->data, $dir, $new->id_segment);
$stato = Stato::where('descrizione', '=', 'Bozza')->first();