~luc-demeyer/openobject-addons/7.0-account_financial_report_webkit-fixes

« back to all changes in this revision

Viewing changes to account_financial_report/report/balance_full.rml

  • Committer: Gabriela (Vauxoo)
  • Date: 2012-01-20 23:53:06 UTC
  • mfrom: (5.1.2 miguel-bug-918857)
  • Revision ID: gabrielaquilarque97@gmail.com-20120120235306-jwp7ck633wj32lz7

[MERGE] Merge from lp:~vauxoo/account-financial-report/miguel-bug-918857.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
            <frame id="first" x1="1cm" y1="1.0cm" width="19.0cm" height="23cm"/>
6
6
            <pageGraphics>
7
7
                <setFont name="Helvetica" size="9"/>
8
 
 
9
 
<!--
10
 
                <image x="1.0cm" y="25.0cm" height="2.5cm" width="9.6cm">[[company.logo and company.logo or removeParentNode('image')]]</image>
11
 
                <drawString x="1.0cm" y="24.5cm">[[company.logo and removeParentNode('para') or company.name]]</drawString> 
12
 
-->
13
 
 
14
8
                <place x="-3.5cm" y="22.50cm" width="19cm"  height="5.0cm"> 
15
9
                    <blockTable colWidths="9.6cm,9.4cm" style="TITLE">
16
10
                        <tr>
17
11
                            <td><para style="TOP_TITLE"></para></td>
18
 
                            <td><para style="TITLE_CENTER_NAME">[[ company.name and company.name or 'NOMBRE DE COMPANIA NO DISPONIBLE' ]]</para></td>
19
 
                        </tr>
20
 
                        <tr>
21
 
                            <td><para style="TOP_TITLE"></para></td>
22
 
                            <td><para style="TITLE_CENTER">[[ (company.partner_id.vat and ('RIF: %s-%s-%s'%(company.partner_id.vat[2:3],company.partner_id.vat[3:11],company.partner_id.vat[11:12])) or removeParentNode('para')) ]]</para></td>
23
 
                        </tr>
24
 
                        <tr>
25
 
                            <td><para style="TOP_TITLE"></para></td>
26
 
                            <td><para style="TITLE_CENTER">[[ get_inf_text(data['form']) ]]</para></td>
 
12
                            <td><para style="TITLE_CENTER_NAME">
 
13
                                <font>[[ (company.name and company.name or 'NOMBRE DE COMPANIA NO DISPONIBLE')]]</font>
 
14
                                <font>[[ company.partner_id.vat and ('- %s-%s-%s'%(company.partner_id.vat[2:3],company.partner_id.vat[3:11],company.partner_id.vat[11:12])) or '' ]]</font>
 
15
                            </para></td>
 
16
                        </tr>
 
17
                        <tr>
 
18
                            <td><para style="TOP_TITLE"></para></td>
 
19
                            <td><para style="TITLE_CENTER">[[ get_informe_text(data['form']) ]][[data['form'] and (' (Expresado en %s)'%( company.currency_id.name)) or '']]</para></td>
27
20
                        </tr>
28
21
                        <tr>
29
22
                            <td><para style="TOP_TITLE"></para></td>
30
23
                            <td><para style="TITLE_CENTER">[[data['form'] and get_month(data['form']) or '']]</para></td>
31
24
                        </tr>
32
 
                        <tr>
33
 
                            <td><para style="TOP_TITLE"></para></td>
34
 
                            <td><para style="TITLE_CENTER">[[data['form'] and ('(Expresado en %s)'%(company.currency_id.symbol)) or '']]</para></td>
35
 
                        </tr>
36
25
                    </blockTable>
37
26
                </place>
38
 
                <drawRightString x="192mm" y="5mm">[[ get_inf_text(data['form']) ]] /  Pág.: <pageNumber/>-<pageCount/> </drawRightString> 
 
27
                <drawRightString x="192mm" y="5mm">[[ get_informe_text(data['form']) ]] /  Pág.: <pageNumber/>-<pageCount/> </drawRightString> 
39
28
            </pageGraphics>
40
29
 
41
30
        </pageTemplate>
108
97
                    <para style="TITLES">Cuenta</para>
109
98
                </td>
110
99
                <td>
111
 
                    <para style="TITLE_LEFT_ALIGN"></para>
 
100
                    <para style="TITLE_LEFT_ALIGN">Balance</para>
112
101
                </td>
113
102
            </tr>
114
103
            <tr>
127
116
                <td>
128
117
                    <para style="TITLE_LEFT_ALIGN">
129
118
                        <font>[[ a['type']&lt;&gt;'view' and setTag('para','para',{'fontName':"Courier"}) or removeParentNode('font') ]]</font>
130
 
                        <font>[[ (a['total']==True) and formatLang(a['balance']) or '']]</font>
 
119
                        <font>[[(a['total']==True) and formatLang(a['balance']) or '']]</font>
131
120
                    </para>
132
121
                </td>
133
122
            </tr>