1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-22 12:00:19 +01:00

Fix minore

This commit is contained in:
MatteoPistorello 2024-09-20 12:23:38 +02:00
parent 0f6acf1faa
commit d86706e378

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();