From 9426e89499963ca8adb5521614f5b1a284ec873a Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Tue, 3 Jun 2014 15:48:18 -0400 Subject: [PATCH] [FIX] format report detailed_reconciliation.mako --- .../report/detailed_reconciliation.mako | 71 ++++++++----------- 1 file changed, 29 insertions(+), 42 deletions(-) diff --git a/npg_bank_account_reconciliation/report/detailed_reconciliation.mako b/npg_bank_account_reconciliation/report/detailed_reconciliation.mako index f62e574ef..cf221def4 100644 --- a/npg_bank_account_reconciliation/report/detailed_reconciliation.mako +++ b/npg_bank_account_reconciliation/report/detailed_reconciliation.mako @@ -20,7 +20,7 @@ } .col_header { font-weight:bold; - width:20px; + width:30px; } .col_header_third { font-style:italic; @@ -31,11 +31,15 @@ .col_date { width:10px; } - .right_col_sum { - text-align:right; + .col_amount { + width:100px; + } + .col_partner { + width:40px; } .right_col { text-align:right; + width:100px; } .line_sum { border-style:solid; @@ -74,22 +78,19 @@ ${_("Date")} - - ${_("Name")} - ${_("Reference")} - + ${_("Partner")} - + ${_("Amount")} - + ${_("Beginning Balance")} @@ -103,7 +104,7 @@ - + ${_("Cleared Transactions")} @@ -116,7 +117,7 @@ - + ${_("Cheques and Payments")}${" - %s " % int(rec.sum_of_debits_lines)}${_("items")} @@ -135,15 +136,12 @@ ${rec_line.date} - ${rec_line.name} + ${rec_line.ref and rec_line.ref or ""} - - ${rec_line.ref} + + ${rec_line.partner_id.name and rec_line.partner_id.name or ""} - - ${rec_line.partner_id.name} - - + ${formatLang(rec_line.amount, monetary=True, currency_obj=rec.company_id.currency_id)} @@ -153,7 +151,7 @@ - + ${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_credits_lines)}${_("items")} @@ -172,13 +170,10 @@ ${rec_line.date} - ${rec_line.name} + ${rec_line.ref and rec_line.ref or ""} - ${rec_line.ref} - - - ${rec_line.partner_id.name} + ${rec_line.partner_id.name and rec_line.partner_id.name or ""} ${formatLang(rec_line.amount, monetary=True, currency_obj=rec.company_id.currency_id)} @@ -188,7 +183,7 @@ - + ${_("Total Cleared Transactions")} @@ -198,7 +193,7 @@ - + ${_("Cleared Balance")} @@ -212,7 +207,7 @@ - + ${_("Uncleared Transactions")} @@ -225,7 +220,7 @@ - + ${_("Cheques and Payments")}${" - %s " % int(rec.sum_of_debits_lines_unclear)}${_("items")} @@ -244,13 +239,10 @@ ${rec_line.date} - ${rec_line.name} + ${rec_line.ref and rec_line.ref or ""} - ${rec_line.ref} - - - ${rec_line.partner_id.name} + ${rec_line.partner_id.name and rec_line.partner_id.name or ""} ${formatLang(rec_line.amount, monetary=True, currency_obj=rec.company_id.currency_id)} @@ -262,7 +254,7 @@ - + ${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_credits_lines_unclear)}${_("items")} @@ -281,13 +273,10 @@ ${rec_line.date} - ${rec_line.name} + ${rec_line.ref and rec_line.ref or ""} - ${rec_line.ref} - - - ${rec_line.partner_id.name} + ${rec_line.partner_id.name and rec_line.partner_id.name or ""} ${formatLang(rec_line.amount, monetary=True, currency_obj=rec.company_id.currency_id)} @@ -297,7 +286,7 @@ - + ${_("Total Uncleared Transactions")} @@ -312,8 +301,6 @@ - - ${formatLang(rec.starting_balance + rec.cleared_balance + rec.uncleared_balance, monetary=True, currency_obj=rec.company_id.currency_id)}