Details of Sales

Company	Print Date	Start Period	End Period
[[ company.name ]]	[[ formatLang(time.strftime('%Y-%m-%d'),date=True) ]]	[[ '%s' % getstartperiod(objects) ]]	[[ '%s' % getendperiod(objects) ]]

Mode of Taxes	

[[ repeatIn(gettaxamount(objects).items(),'p') ]]

[[ p[0] ]]	[[ formatLang(p[1] ]] [[company.currency_id.symbol]]

Mode of Payment	

[[ repeatIn(getpayments(objects).items(),'t') ]]

[[ t[0].name ]]	[[ '%.2f' % (t[1],) ]] [[company.currency_id.symbol]]

Summary	
Sales total	[[ '%d' % getsalestotal(objects) ]]
Qty of product	[[ '%d' % getqtytotal(objects) ]]
Total invoiced	[[ '%.2f' % getsuminvoice(objects) ]] [[ company.currency_id.symbol ]]
Total discount	[[ '%.2f' % getsumdisc(objects) ]] [[ company.currency_id.symbol ]]
Total paid	[[ '%.2f' % getpaidtotal(objects) ]] [[ company.currency_id.symbol ]]
Total of the day	[[ '%.2f' % gettotalofthaday(objects) ]] [[ company.currency_id.symbol ]]

vir

2009-11-06T11:31:24

Denis Ledoux