Details of Sales

Company	Print Date	Start Period	End Period
[[ company.name ]]	[[ formatLang(time.strftime('%Y-%m-%d'),date=True) ]]	[[ formatLang(getperiod(data['form']),date = True) ]]	[[ formatLang(getperiod2(data['form']),date = True) ]]

Date	Code	Product	Price	Qty	Disc(%)	Invoiced

[[ repeatIn(pos_sales_details(data['form']), 'line_ids') ]]

[[ formatLang(line_ids['date_order'],date_time = True) ]]	[[ line_ids['pos_name'] ]]	[ [[ line_ids['code'] ]] ] [[ line_ids['name'] ]]	[[ formatLang(line_ids['price_unit']) ]] [[ company.currency_id.symbol ]]	[[ formatLang(line_ids['qty']) ]] [[ line_ids['uom'] ]]	[[ formatLang(line_ids['discount']) ]]	[[ getinvoice(line_ids['invoice_id']) or removeParentNode('font') ]]

Mode of Taxes	

[[ repeatIn(gettaxamount(data['form']), 'p')]]

[[ p['name'] or removeParentNode('para') ]]	[[ formatLang(p['amount']) or removeParentNode('tr') ]] [[ company.currency_id.symbol ]]

Mode of Payment	

[[ repeatIn(getpayments(data['form']), 'p') ]]

[[ p['name'] or removeParentNode('para') ]]	[[ formatLang(p['sum']) or removeParentNode('tr') ]] [[ company.currency_id.symbol ]]

Summary	
Sales total(Revenue)	[[ formatLang(getsalestotal2()) ]] [[ company.currency_id.symbol ]]
Qty of product	[[ formatLang(getqtytotal2()) ]]
Total invoiced	[[ formatLang(getsuminvoice2(data['form'])) ]] [[ company.currency_id.symbol ]]
Total discount	[[ formatLang(getsumdisc(data['form'])) ]] [[ company.currency_id.symbol ]]
Total paid	[[ formatLang(getpaidtotal2()) ]] [[ company.currency_id.symbol ]]
Total of the day	[[ formatLang(gettotalofthaday(data['form'])) ]] [[ company.currency_id.symbol ]]

vir

2009-11-06T11:31:24

sgo