[[setLang(user.context_lang)]] [[ setTag('para','para',{'alignment':"RIGHT"}) ]] CODE ACCOUNT BALANCE [[ repeatIn(lines(data['form']), 'a') ]] [[ a['type']<>'view' and setTag('para','para',{'fontName':"Courier"}) or removeParentNode('font') ]] [[a['label']==True and a['code'] or '' ]] [[ ((a['total'] and not a['label']) and setTag('para','para',{'alignment':"RIGHT"}) or (a['type']<>'view' and setTag('para','para',{'fontName':"Courier"}))) or removeParentNode('font') ]] [[ a['type']=='view' and a['name'].upper() or a['name'].title() ]] [[ a['type']<>'view' and setTag('para','para',{'fontName':"Courier"}) or removeParentNode('font') ]] [[ (a['total']==True) and formatLang(a['balance'] and a['balance'] * a.get('change_sign',1) or 0.0, digits=2, grouping=True) or '']]