mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-27 08:47:39 +01:00
Fix movimenti contabili per Sconti in Fattura
This commit is contained in:
parent
5e9c5fcc1a
commit
69b715fbd4
@ -118,7 +118,7 @@ class Movimenti
|
|||||||
// Retro-compatibilità per versioni <= 2.4
|
// Retro-compatibilità per versioni <= 2.4
|
||||||
$id_conto = $riga->id_conto ?: $this->fattura->idconto;
|
$id_conto = $riga->id_conto ?: $this->fattura->idconto;
|
||||||
|
|
||||||
$imponibile = $riga->imponibile;
|
$imponibile = $riga->totale_imponibile;
|
||||||
$imponibile = $is_nota ? -$imponibile : $imponibile; // Inversione di segno per le note
|
$imponibile = $is_nota ? -$imponibile : $imponibile; // Inversione di segno per le note
|
||||||
if (!empty($imponibile)) {
|
if (!empty($imponibile)) {
|
||||||
$movimenti[] = [
|
$movimenti[] = [
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
include_once __DIR__.'/init.php';
|
include_once __DIR__.'/init.php';
|
||||||
|
|
||||||
use Models\Upload;
|
|
||||||
use Plugins\ExportFE\FatturaElettronica;
|
use Plugins\ExportFE\FatturaElettronica;
|
||||||
use Plugins\ExportFE\Interaction;
|
use Plugins\ExportFE\Interaction;
|
||||||
use Util\XML;
|
use Util\XML;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user