mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-23 22:03:18 +01:00
Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
8f62c7b623
@ -531,7 +531,8 @@ 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();
|
||||
|
Loading…
Reference in New Issue
Block a user