This commit is contained in:
Pek5892 2023-05-29 10:53:08 +02:00
parent f89c065435
commit 29ebe033a3
1 changed files with 1 additions and 0 deletions

View File

@ -339,6 +339,7 @@ switch (post('op')) {
// Duplicazione fattura
case 'copy':
$new = $fattura->replicate();
$new->id_autofattura = null;
$new->save();
$id_record = $new->id;