fetchArray($query); $totrows = sizeof($rs); if ($dir == 'entrata') { $body .= '
Mese | \n"; $body .= "Imponibile | \n"; $body .= "Iva | \n"; $body .= "Totale |
---|---|---|---|
".$mesi[intval(date('m', strtotime($rs[$r]['data'])))].' '.date('Y', strtotime($rs[$r]['data']))." | \n"; $body .= "".Translator::numberToLocale($rs2[0]['imponibile'])." € | \n"; $body .= "".Translator::numberToLocale($rs2[0]['iva'])." € | \n"; $body .= "".Translator::numberToLocale($rs2[0]['imponibile'] + $rs2[0]['iva'] + $rs2[0]['rivalsainps'] + $rs2[0]['bollo'] + $rs2[0]['ritenutaacconto'])." € |
TOTALE: | \n"; $body .= "".Translator::numberToLocale($totale_imponibile)." € | \n"; $body .= "".Translator::numberToLocale($totale_iva)." € | \n"; $body .= "".Translator::numberToLocale($totale)." € | \n"; $body .= "