mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-27 00:06:14 +01:00
Fix #1339
This commit is contained in:
parent
687525c7f1
commit
45fe4e2e3f
@ -141,7 +141,7 @@ switch (post('op')) {
|
||||
|
||||
// Duplica contratto
|
||||
case 'copy':
|
||||
$new = $contratto->replicate();
|
||||
$new = $contratto->replicate(['idcontratto_prev']);
|
||||
$new->numero = Contratto::getNextNumero($contratto->data_bozza, $contratto->id_segment);
|
||||
|
||||
$stato = Stato::where('descrizione', '=', 'Bozza')->first();
|
||||
|
Loading…
Reference in New Issue
Block a user