grand total prob solved
bzr revid: patelamit2003@gmail.com-20081103130619-gogp0b41e4qmgpnm
This commit is contained in:
parent
0b500fec75
commit
6578c17a61
|
@ -336,6 +336,7 @@ class partner_balance(report_sxw.rml_parse):
|
|||
# completearray.append(new_tot)
|
||||
|
||||
|
||||
|
||||
new_header['debit'] = tot_debit
|
||||
new_header['credit'] = tot_credit
|
||||
new_header['scredit'] = tot_scredit
|
||||
|
@ -371,12 +372,9 @@ class partner_balance(report_sxw.rml_parse):
|
|||
r['type'] = 1
|
||||
#
|
||||
r['balance'] = float(r['sdebit']) - float(r['scredit'])
|
||||
tot_debit = r['debit']
|
||||
tot_credit = r['credit']
|
||||
tot_scredit = r['scredit']
|
||||
tot_sdebit = r['sdebit']
|
||||
tot_enlitige = (r['enlitige'] or 0.0)
|
||||
|
||||
#
|
||||
|
||||
completearray.append(r)
|
||||
|
||||
if cleanarray[i]['account_id'] == cleanarray[i-1]['account_id']:
|
||||
|
|
|
@ -327,13 +327,13 @@
|
|||
<para style="P8"><u>[[ sum_credit(data) or '0.0' ]]</u></para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="P8"><u>[[ (sum_scredit(data)-sum_sdebit(data)) or '0.0' ]]</u></para>
|
||||
<para style="P8"><u>[[ (solde_debit(data)-solde_credit(data)) or '0.0' ]]</u></para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="P8"><u>[[ sum_litige(data) or '0.0' ]]</u></para>
|
||||
</td>
|
||||
</tr>
|
||||
<!--<tr>
|
||||
<!-- <tr>
|
||||
<td>
|
||||
<para style="P7">Balance</para>
|
||||
</td><td>
|
||||
|
|
Loading…
Reference in New Issue