mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-03 01:08:08 +01:00
Fix minore
This commit is contained in:
parent
8a7d093da4
commit
2756812373
@ -259,10 +259,6 @@ echo '
|
||||
<td>TOTALE IVA OGGETTIVAMENTE INDETRAIBILI SU ACQUISTI</td>
|
||||
<td class=text-right>'.moneyFormat($totale_iva_nondetraibile, 2).'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>TOTALE IVA DETRAIBILI</td>
|
||||
<td class=text-right>'.(empty($totale_iva_nondetraibile) ? '' : moneyformat($totale_iva_detraibile - $totale_iva_nondetraibile, 2)).'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>VARIAZIONE DI IMPOSTA RELATIVE A PERIODI PRECEDENTI</td>';
|
||||
if ($totale_iva_periodo_precedente < 25.82 && $totale_iva_periodo_precedente > 0) {
|
||||
|
@ -312,7 +312,7 @@ $iva_vendite_nonesigibile = $dbo->fetchArray('
|
||||
co_iva.codice_natura_fe AS cod_iva,
|
||||
co_iva.percentuale AS aliquota,
|
||||
co_iva.descrizione AS descrizione,
|
||||
SUM((subtotale-sconto+co_righe_documenti.rivalsainps) *percentuale/100 *indetraibile/100 *(IF(co_tipidocumento.reversed = 0, 1,-1 ))) AS iva,
|
||||
SUM((subtotale-sconto+co_righe_documenti.rivalsainps) *percentuale/100 *(100-indetraibile)/100 *(IF(co_tipidocumento.reversed = 0, 1,-1 ))) AS iva,
|
||||
SUM((co_righe_documenti.subtotale - co_righe_documenti.sconto + co_righe_documenti.rivalsainps) *(IF(co_tipidocumento.reversed = 0,1,-1))) AS subtotale
|
||||
FROM
|
||||
co_iva
|
||||
|
Loading…
x
Reference in New Issue
Block a user