You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
3.5 KiB

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