| $date | "; + print "$date | "; print "Montant | "; print "\n"; print " | ||
| $obj->dm | \n"; + print "$obj->dm | \n"; $total = $total + $obj->amount; - print "".price($obj->amount)." | ".$total." | \n"; + print "".price($obj->amount)." | ".$total." | \n"; print "
| Total : | ".price($total)." | euros HT | |||
| Total : | ".price($total)." | euros HT |
| TVA Solde : " . price($tva->solde($year)) . " euros | $textprevyear $textnextyear |
| TVA collectée | '; echo 'Tva Réglée | |||||||
| '.strftime("%b %Y",mktime(0,0,0,$m,1,$y)).' | '; + print ''.strftime("%b %Y",mktime(0,0,0,$m,1,$y)).' | '; $x_coll = tva_coll($db, $y, $m); - print "".price($x_coll)." | "; + print "".price($x_coll)." | "; $x_paye = tva_paye($db, $y, $m); - print "".price($x_paye)." | "; + print "".price($x_paye)." | "; $diff = $x_coll - $x_paye; $total = $total + $diff; $subtotal = $subtotal + $diff; - print "".price($diff)." | \n"; + print "".price($diff)." | \n"; print "\n"; print " |
| Sous total : | '.price($subtotal).' | '.price($subtotal * 0.8).' | '; + print '||||||
| Sous total : | '.price($subtotal).' | '.price($subtotal * 0.8).' | '; $i = 0; $subtotal = 0; } } - print '||||||
| Total : | '.price($total).' | '; + print '|||||||
| Total : | '.price($total).' | '; print "\n"; print " | ||||||