Third party balance From [[ data['form']['date1'] ]] to [[ data['form']['date2'] ]] [[ company.name ]] Currency: [[ company.currency_id.name ]] Printing date: [[ time.strftime('%Y-%m-%d') ]] at [[ time.strftime('%H:%M:%S') ]] Account number Account name Transactions Balances In dispute Debit Credit Debit Credit [[ repeatIn(lines(), 'a') ]][[ a['ref'] ]] [[ a['name'] ]] [[ '%.2f' % a['debit'] ]] [[ '%.2f' % a['credit'] ]] [[ '%.2f' % a['sdebit'] ]] [[ '%.2f' % a['scredit'] ]] [[ '%.2f' % (a['enlitige'] or 0.0) ]] Grand total [[ '%.2f' % sum_debit() ]] [[ '%.2f' % sum_credit() ]] [[ '%.2f' % sum_sdebit() ]] [[ '%.2f' % sum_scredit() ]] [[ '%.2f' % sum_litige() ]] Balance [[ '%.2f' % solde_debit() ]] [[ '%.2f' % solde_credit() ]]