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

Fix codice_stato_fe su duplica fattura

This commit is contained in:
Luca 2020-05-25 13:08:41 +02:00
parent a71c45d4dd
commit b09c0090d1

View File

@ -270,6 +270,7 @@ switch (post('op')) {
$new->numero_esterno = Fattura::getNextNumeroSecondario($new->data, $new->direzione, $new->id_segment);
}
$new->codice_stato_fe = null;
$new->stato()->associate($stato);
$new->save();