[MODULE] +v1.1.0 from https://www.odoo.com/apps/7.0/account_financial_report_webkit/
[burette/account_financial_report_webkit.git] / report / templates / account_report_open_invoices.mako
1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html SYSTEM
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
6 <style type="text/css">
7 .overflow_ellipsis {
8 text-overflow: ellipsis;
9 overflow: hidden;
10 white-space: nowrap;
11 }
12
13 .open_invoice_previous_line {
14 font-style: italic;
15 }
16
17 .clearance_line {
18 font-style: italic;
19 }
20 ${css}
21 </style>
22 </head>
23 <body>
24
25 <% template1 = helper.get_mako_template('account_financial_report_webkit','report', 'templates', 'open_invoices_inclusion.mako.html') %>
26 <% context.lookup.put_template('open_invoices_inclusion.mako.html', template1) %>
27 <% template2 = helper.get_mako_template('account_financial_report_webkit','report', 'templates', 'grouped_by_curr_open_invoices_inclusion.mako.html') %>
28 <% context.lookup.put_template('grouped_by_curr_open_invoices_inclusion.mako.html', template2) %>
29 <%setLang(user.lang)%>
30
31 <div class="act_as_table data_table">
32 <div class="act_as_row labels">
33 <div class="act_as_cell">${_('Chart of Account')}</div>
34 <div class="act_as_cell">${_('Fiscal Year')}</div>
35 <div class="act_as_cell">
36 %if filter_form(data) == 'filter_date':
37 ${_('Dates Filter')}
38 %else:
39 ${_('Periods Filter')}
40 %endif
41 </div>
42 <div class="act_as_cell">${_('Clearance Date')}</div>
43 <div class="act_as_cell">${_('Accounts Filter')}</div>
44 <div class="act_as_cell">${_('Target Moves')}</div>
45
46 </div>
47 <div class="act_as_row">
48 <div class="act_as_cell">${ chart_account.name }</div>
49 <div class="act_as_cell">${ fiscalyear.name if fiscalyear else '-' }</div>
50 <div class="act_as_cell">
51 ${_('From:')}
52 %if filter_form(data) == 'filter_date':
53 ${formatLang(start_date, date=True) if start_date else u'' }
54 %else:
55 ${start_period.name if start_period else u''}
56 %endif
57 ${_('To:')}
58 %if filter_form(data) == 'filter_date':
59 ${ formatLang(stop_date, date=True) if stop_date else u'' }
60 %else:
61 ${stop_period.name if stop_period else u'' }
62 %endif
63 </div>
64 <div class="act_as_cell">${ formatLang(date_until, date=True) }</div>
65 <div class="act_as_cell">
66 %if partner_ids:
67 ${_('Custom Filter')}
68 %else:
69 ${ display_partner_account(data) }
70 %endif
71 </div>
72 <div class="act_as_cell">${ display_target_move(data) }</div>
73 </div>
74 </div>
75 %for acc in objects:
76 %if 'grouped_ledger_lines' in acc:
77 <% fl = formatLang %>
78 <%include file="grouped_by_curr_open_invoices_inclusion.mako.html" args="account=acc,formatLang=fl"/>
79 %else:
80 <% fl = formatLang %>
81 <%include file="open_invoices_inclusion.mako.html" args="account=acc,formatLang=fl"/>
82 %endif
83 %endfor
84 </body>
85 </html>