mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-15 10:40:05 +01:00
Fix data conclusione in fase di duplicazione preventivo
This commit is contained in:
parent
242e0245a3
commit
4e4737dc82
@ -99,7 +99,6 @@ switch (post('op')) {
|
||||
$new = $preventivo->replicate();
|
||||
$new->numero = Preventivo::getNextNumero(Carbon::now());
|
||||
$new->data_bozza = Carbon::now();
|
||||
$new->data_conclusione = Carbon::now()->addMonth();
|
||||
|
||||
$stato_preventivo = Stato::where('descrizione', '=', 'Bozza')->first();
|
||||
$new->stato()->associate($stato_preventivo);
|
||||
|
Loading…
x
Reference in New Issue
Block a user