Skip to content

Commit d6e274a

Browse files
committed
fix: #1557 duplicazione preventivo
1 parent 9093ff7 commit d6e274a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/preventivi/actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
// Duplica preventivo
111111
case 'copy':
112112
// Copia del preventivo
113-
$new = $preventivo->replicate();
113+
$new = $preventivo->replicate(['data_accettazione', 'data_conclusione', 'data_rifiuto']);
114114
$new->numero = Preventivo::getNextNumero(Carbon::now(), $new->id_segment);
115115
$new->data_bozza = Carbon::now();
116116

0 commit comments

Comments
 (0)