mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 03:51:06 +01:00
Risolto bug import fatture passive
This commit is contained in:
parent
6b535e843a
commit
afdfd9bb44
@ -125,6 +125,7 @@ switch (post('op')) {
|
||||
}
|
||||
|
||||
// Operazioni sul bollo
|
||||
if($dir == 'entrata'){
|
||||
$fattura->addebita_bollo = post('addebita_bollo');
|
||||
$bollo_automatico = post('bollo_automatico');
|
||||
if (empty($bollo_automatico)) {
|
||||
@ -132,6 +133,7 @@ switch (post('op')) {
|
||||
} else {
|
||||
$fattura->bollo = null;
|
||||
}
|
||||
}
|
||||
|
||||
// Operazioni sulla dichiarazione d'intento
|
||||
$dichiarazione_precedente = $fattura->dichiarazione;
|
||||
|
@ -346,12 +346,6 @@ class FatturaElettronica
|
||||
$fattura->note = $note;
|
||||
}
|
||||
|
||||
// Bollo
|
||||
$bollo = $dati_generali['DatiBollo'];
|
||||
if (!empty($bollo)) {
|
||||
$fattura->bollo = $bollo['ImportoBollo'];
|
||||
}
|
||||
|
||||
$fattura->save();
|
||||
|
||||
// Fix generazione idsede
|
||||
|
Loading…
x
Reference in New Issue
Block a user