Fix calcolo numero revisione preventivi

This commit is contained in:
Fabio Lovato 2020-04-07 14:59:37 +02:00
parent 3e96668bbc
commit adc715844b
1 changed files with 1 additions and 0 deletions

View File

@ -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;