Fix minore

This commit is contained in:
Pek5892 2024-03-25 11:38:43 +01:00
parent 5fff793da2
commit 68fac4c12a
2 changed files with 1 additions and 6 deletions

View File

@ -85,8 +85,6 @@ class DDT extends Document
$model->id_segment = $id_segment;
$model->idagente = $anagrafica->idagente;
$model->save();
// Salvataggio delle informazioni
$model->data = $data;

View File

@ -61,8 +61,6 @@ class Ordine extends Document
$direzione = $tipo_documento->dir;
$id_segment = $id_segment ?: getSegmentPredefined($model->getModule()->id);
$database = database();
if ($direzione == 'entrata') {
$conto = 'vendite';
} else {
@ -82,8 +80,7 @@ class Ordine extends Document
$model->stato()->associate($stato_documento);
$model->id_segment = $id_segment;
$model->idagente = $anagrafica->idagente;
$model->save();
// Salvataggio delle informazioni
$model->data = $data;