Inverted Analytic Balance - [[ company.currency_id.name ]]

Code	Name	Debit([[ company.currency_id.code]])	Credit([[ company.currency_id.code]])	Balance([[ company.currency_id.code]])	Quantity

Total		[[ formatLang(sum_debit(objects,data['form']['date1'],data['form']['date2']),currency_obj=company.currency_id)]]	[[ formatLang(sum_credit(objects,data['form']['date1'],data['form']['date2']),currency_obj=company.currency_id)]]	[[ formatLang(sum_balance(objects,data['form']['date1'],data['form']['date2']),currency_obj=company.currency_id)]]	[[ formatLang(sum_quantity(objects,data['form']['date1'],data['form']['date2'])) ]]

[[ repeatIn(lines_g(objects,data['form']['date1'],data['form']['date2']),'move_g') ]]

[[ (not move_g) and removeParentNode('blockTable') ]] [[ move_g['code'] ]]	[[ move_g['name'] ]]	[[ formatLang(move_g['debit'],currency_obj=company.currency_id)]]	[[formatLang(move_g['credit'],currency_obj=company.currency_id)]]	[[ formatLang(move_g['balance'],currency_obj=company.currency_id)]]	[[formatLang(move_g['quantity']) ]]

[[ repeatIn(lines_a(objects,move_g['id'],data['form']['date1'],data['form']['date2']),'move_a') ]]

[[ (not move_a) and removeParentNode('blockTable') ]] [[ move_a['code'] ]]	[[ move_a['complete_name'] ]]	[[ formatLang(move_a['debit'],currency_obj=company.currency_id)]]	[[ formatLang(move_a['credit'],currency_obj=company.currency_id)]]	[[ formatLang(move_a['balance'],currency_obj=company.currency_id)]]	[[ formatLang(move_a['quantity'] ]])

NCO

2005-12-11T18:23:34