fetchArray("SELECT * FROM zz_segments WHERE id=".prepare($id_segment)); $add_where = "AND ".$rs_segment[0]['clause']; $body .= '
Documento | \n"; $body .= "Anagrafica | \n"; $body .= "Tipo di pagamento | \n"; $body .= "Data scadenza | \n"; $body .= "Importo | \n"; $body .= "GiĆ pagato | \n"; $body .= "
---|---|---|---|---|---|
'.$rs[$i]['Documento'].' '.$rs[$i]['Data emissione']." | \n";
$body .= ' '.$rs[$i]['Anagrafica']." | \n"; $body .= ''.$rs[$i]['Tipo di pagamento']." | \n"; $body .= "".$rs[$i]['Data scadenza']." | \n"; $body .= "".Translator::numberToLocale($rs[$i]['Importo'])." | \n"; $body .= "".Translator::numberToLocale($rs[$i]['Pagato'])." | \n"; $body .= "
TOTALE: | ".Translator::numberToLocale($totale_da_pagare)." | ".Translator::numberToLocale($totale_pagato)." | \n"; $body .= "