Fix minore

This commit is contained in:
MatteoPistorello 2024-09-20 12:23:38 +02:00
parent 0f6acf1faa
commit d86706e378
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ class Sessione extends Model
}
$model->km = empty($km) ? 0 : $km;
$model->tipo_sconto = (setting('Tipo di sconto predefinito') == '%' ? 'PRC' : 'UNT');
$model->tipo_scontokm = (setting('Tipo di sconto predefinito') == '%' ? 'PRC' : 'UNT');
$model->save();