mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
account_statement_ext -> provide profile per bank statement, remove period, choose to use balance check or not,... account_statement_base_completion -> provide a completion rule system to fullfill the bank statement (partner, account,...) account_statement_base_import -> provide a base to create your own file parser for each bank/office and link it to a profile account_statement_transactionid_completion and account_statement_transactionid_import to use the transaction ID recorded in th SO account_advanced_reconcile -> An advanced way to setup reconciliation rules on every account account_financial_report_webkit -> some little fixes (lp:c2c-financial-addons/6.1 rev 63)
70 lines
2.9 KiB
Mako
70 lines
2.9 KiB
Mako
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<style type="text/css">
|
|
${css}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<%!
|
|
def amount(text):
|
|
return text.replace('-', '‑') # replace by a non-breaking hyphen (it will not word-wrap between hyphen and numbers)
|
|
%>
|
|
|
|
<%setLang(user.context_lang)%>
|
|
%for statement in objects:
|
|
|
|
<div class="act_as_table data_table">
|
|
<div class="act_as_row labels">
|
|
<div class="act_as_cell">${_('Bordereau')}</div>
|
|
<div class="act_as_cell">${_('Date')}</div>
|
|
</div>
|
|
<div class="act_as_row">
|
|
<div class="act_as_cell">${ statement.name }</div>
|
|
<div class="act_as_cell">${ formatLang(statement.date,date=True) }</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- we use div with css instead of table for tabular data because div do not cut rows at half at page breaks -->
|
|
<div class="act_as_table list_table" style="margin-top: 10px;">
|
|
<div class="act_as_thead">
|
|
<div class="act_as_row labels">
|
|
## date
|
|
<div class="act_as_cell first_column" style="width: 100px;">${_('Reference')}</div>
|
|
## period
|
|
<div class="act_as_cell" style="width: 175px;">${_('Partenaire')}</div>
|
|
## move
|
|
<div class="act_as_cell" style="width: 60px;">${_('Montant')}</div>
|
|
## journal
|
|
</div>
|
|
</div>
|
|
<% sum_statement = 0.0 %>
|
|
%for statementline in statement.line_ids:
|
|
<div class="act_as_tbody">
|
|
## curency code
|
|
<div class="act_as_cell">${statementline.name or '' }</div>
|
|
## currency balance
|
|
<div class="act_as_cell">${statementline.partner_id.name or '' }</div>
|
|
## currency balance cumulated
|
|
<div class="act_as_cell amount">${formatLang(statementline.amount) | amount }</div>
|
|
<% sum_statement += statementline.amount %>
|
|
</div>
|
|
%endfor
|
|
<div class="act_as_tbody">
|
|
## curency code
|
|
<div class="act_as_cell"></div>
|
|
## currency balance
|
|
<div class="act_as_cell">Total</div>
|
|
## currency balance cumulated
|
|
<div class="act_as_cell amount_total">${formatLang(sum_statement) }</div>
|
|
</div>
|
|
|
|
</div>
|
|
%endfor
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|