Fix calcolo numero revisione preventivi
This commit is contained in:
parent
3e96668bbc
commit
adc715844b
|
@ -266,6 +266,7 @@ switch (post('op')) {
|
|||
$new->save();
|
||||
|
||||
$new->default_revision = 1;
|
||||
$new->numero_revision = count($new->revisioni) - 1;
|
||||
$new->save();
|
||||
|
||||
$id_record = $new->id;
|
||||
|
|
Loading…
Reference in New Issue