src/org/openbravo/erpCommon/ad_reports/ReportTrialBalancePDF.fo
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 0 0247c26f10c6
child 3867 c892204dd732
permissions -rw-r--r--
Removed old frame parameter of windowTableId
carlos@0
     1
<?xml version="1.0" encoding="UTF-8"?>
carlos@0
     2
<!--
carlos@0
     3
 *************************************************************************
carlos@0
     4
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     5
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     7
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     8
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    11
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    12
 * under the License. 
carlos@0
    13
 * The Original Code is Openbravo ERP. 
carlos@0
    14
 * The Initial Developer of the Original Code is Openbravo SL 
carlos@0
    15
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
carlos@0
    16
 * All Rights Reserved. 
carlos@0
    17
 * Contributor(s):  ______________________________________.
carlos@0
    18
 ************************************************************************
carlos@0
    19
-->
carlos@0
    20
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
carlos@0
    21
	<fo:layout-master-set>
carlos@0
    22
		<fo:simple-page-master master-name="first" margin-left="1cm" page-height="29.7cm" page-width="21cm" margin-top="0.8cm" margin-right="1cm" margin-bottom="0.25cm">
carlos@0
    23
			<fo:region-before extent="3cm"/>
carlos@0
    24
			<fo:region-body margin-left="0cm" margin-right="0cm" margin-bottom="1cm" margin-top="3cm"/>
carlos@0
    25
		</fo:simple-page-master>
carlos@0
    26
	</fo:layout-master-set>
carlos@0
    27
	<fo:page-sequence master-reference="first">
carlos@0
    28
		<fo:static-content flow-name="xsl-region-before">
carlos@0
    29
			<fo:table>
carlos@0
    30
				<fo:table-column column-width="15.5cm"/>
carlos@0
    31
				<fo:table-column column-width="3.5cm"/>
carlos@0
    32
				<fo:table-body>
carlos@0
    33
					<fo:table-row>
carlos@0
    34
						<fo:table-cell border-bottom-width="0.5pt" border-bottom-style="solid" number-columns-spanned="2">
carlos@0
    35
							<fo:block font-size="14pt" text-align="center" padding-bottom="4pt" font-weight="bold">REPORT TRIAL BALANCE</fo:block>
carlos@0
    36
						</fo:table-cell>
carlos@0
    37
					</fo:table-row>
carlos@0
    38
					<fo:table-row>
carlos@0
    39
						<fo:table-cell>
carlos@0
    40
							<fo:block font-size="10pt" text-align="left" padding-top="2pt">
carlos@0
    41
								<fo:inline font-weight="bold">Enterprise:&#160;&#160;</fo:inline>
carlos@0
    42
								<fo:inline id="fieldCompanyName">xx</fo:inline>
carlos@0
    43
							</fo:block>
carlos@0
    44
						</fo:table-cell>
carlos@0
    45
						<fo:table-cell>
carlos@0
    46
							<fo:block font-size="10pt" text-align="left" padding-top="2pt">
carlos@0
    47
								<fo:inline font-weight="bold">Date:&#160;&#160;</fo:inline>
carlos@0
    48
								<fo:inline id="fieldDate">xx</fo:inline>
carlos@0
    49
							</fo:block>
carlos@0
    50
						</fo:table-cell>
carlos@0
    51
					</fo:table-row>
carlos@0
    52
					<fo:table-row>
carlos@0
    53
						<fo:table-cell number-columns-spanned="2">
carlos@0
    54
							<fo:block font-size="10pt" text-align="left" padding-top="2pt">
carlos@0
    55
								<fo:inline font-weight="bold">Conditions:&#160;&#160;</fo:inline>
carlos@0
    56
								<fo:inline>Period:&#160;&#160;</fo:inline>
carlos@0
    57
								<fo:inline id="fieldPeriod">xx</fo:inline>
carlos@0
    58
							</fo:block>
carlos@0
    59
						</fo:table-cell>
carlos@0
    60
					</fo:table-row>
carlos@0
    61
					<fo:table-row>
carlos@0
    62
						<fo:table-cell number-columns-spanned="2">
carlos@0
    63
							<fo:block font-size="10pt" text-align="left" padding-top="2pt" font-weight="bold" id="fieldAccounting">xx</fo:block>
carlos@0
    64
						</fo:table-cell>
carlos@0
    65
					</fo:table-row>
carlos@0
    66
				</fo:table-body>
carlos@0
    67
			</fo:table>
carlos@0
    68
		</fo:static-content>
carlos@0
    69
    
carlos@0
    70
    <fo:flow font-size="8pt" flow-name="xsl-region-body" font-family="Helvetica">
carlos@0
    71
    <DIVFO id="sectionNoBP">      
carlos@0
    72
        <fo:table space-before.optimum="20pt" table-layout="fixed" id="selEliminar">
carlos@0
    73
          <fo:table-column column-width="2.5cm"/>
carlos@0
    74
          <fo:table-column column-width="6.5cm"/>
carlos@0
    75
          <fo:table-column column-width="2.5cm"/>
carlos@0
    76
          <fo:table-column column-width="2.5cm"/>
carlos@0
    77
          <fo:table-column column-width="2.5cm"/>
carlos@0
    78
          <fo:table-column column-width="2.5cm"/>
carlos@0
    79
          <fo:table-header>
carlos@0
    80
            <fo:table-row>
carlos@0
    81
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    82
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Account code</fo:block>
carlos@0
    83
              </fo:table-cell>
carlos@0
    84
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    85
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Description</fo:block>
carlos@0
    86
              </fo:table-cell>
carlos@0
    87
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    88
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Initial balance</fo:block>
carlos@0
    89
              </fo:table-cell>
carlos@0
    90
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    91
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Debt period</fo:block>
carlos@0
    92
              </fo:table-cell>
carlos@0
    93
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    94
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Credit period</fo:block>
carlos@0
    95
              </fo:table-cell>
carlos@0
    96
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
    97
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Final balance</fo:block>
carlos@0
    98
              </fo:table-cell>
carlos@0
    99
            </fo:table-row>
carlos@0
   100
          </fo:table-header>
carlos@0
   101
          <fo:table-body>
carlos@0
   102
            <DIVFO id="sectionDetail">
carlos@0
   103
              <fo:table-row>
carlos@0
   104
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   105
                  <fo:block padding-top="2pt" text-align="center" id="fieldAccount"/>
carlos@0
   106
                </fo:table-cell>
carlos@0
   107
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   108
                  <fo:block font-size="8pt" padding-top="2pt" start-indent="2pt" text-align="left" id="fieldDescription"/>
carlos@0
   109
                </fo:table-cell>
carlos@0
   110
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   111
                  <fo:block padding-top="2pt" end-indent="2pt" text-align="end" id="fieldSaldoInicial"/>
carlos@0
   112
                </fo:table-cell>
carlos@0
   113
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   114
                  <fo:block padding-top="2pt" end-indent="2pt" text-align="end" id="fieldAmtacctdr"/>
carlos@0
   115
                </fo:table-cell>
carlos@0
   116
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   117
                  <fo:block padding-top="2pt" end-indent="2pt" text-align="end" id="fieldAmtacctcr"/>
carlos@0
   118
                </fo:table-cell>
carlos@0
   119
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   120
                  <fo:block padding-top="2pt" end-indent="2pt" text-align="end" id="fieldSaldoFinal"/>
carlos@0
   121
                </fo:table-cell>
carlos@0
   122
              </fo:table-row>
carlos@0
   123
            </DIVFO>
carlos@0
   124
            <fo:table-row>
carlos@0
   125
              <fo:table-cell number-columns-spanned="6">
carlos@0
   126
                <fo:block>&#160;</fo:block>
carlos@0
   127
              </fo:table-cell>
carlos@0
   128
            </fo:table-row>
carlos@0
   129
            <fo:table-row>
carlos@0
   130
              <fo:table-cell number-columns-spanned="6">
carlos@0
   131
                <fo:block>&#160;</fo:block>
carlos@0
   132
              </fo:table-cell>
carlos@0
   133
            </fo:table-row>
carlos@0
   134
            <fo:table-row>
carlos@0
   135
              <fo:table-cell number-columns-spanned="2">
carlos@0
   136
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt">CONTINUE ........</fo:block>
carlos@0
   137
              </fo:table-cell>
carlos@0
   138
              <fo:table-cell>
carlos@0
   139
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt" id="fieldTotalSaldoInicial"/>
carlos@0
   140
              </fo:table-cell>
carlos@0
   141
              <fo:table-cell>
carlos@0
   142
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt" id="fieldTotalAmtacctdr"/>
carlos@0
   143
              </fo:table-cell>
carlos@0
   144
              <fo:table-cell>
carlos@0
   145
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt" id="fieldTotalAmtacctcr"/>
carlos@0
   146
              </fo:table-cell>
carlos@0
   147
              <fo:table-cell>
carlos@0
   148
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt" id="fieldTotalSaldoFinal"/>
carlos@0
   149
              </fo:table-cell>
carlos@0
   150
            </fo:table-row>
carlos@0
   151
          </fo:table-body>
carlos@0
   152
        </fo:table>
carlos@0
   153
      <!--/fo:flow-->
carlos@0
   154
    </DIVFO>
carlos@0
   155
    
carlos@0
   156
    <DIVFO id="sectionBP">
carlos@0
   157
      <!--fo:flow font-size="8pt" flow-name="xsl-region-body" font-family="Helvetica"-->
carlos@0
   158
        <fo:table space-before.optimum="20pt" table-layout="fixed">
carlos@0
   159
           <fo:table-column column-width="19cm"/>
carlos@0
   160
           <fo:table-body>
carlos@0
   161
            <fo:table-row>
carlos@0
   162
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   163
              
carlos@0
   164
               <fo:block text-align="left" padding-top="2pt">
carlos@0
   165
								<fo:inline font-weight="bold">Business Partner:&#160;&#160;</fo:inline>
carlos@0
   166
								<fo:inline id="fieldPartner">xx</fo:inline>
carlos@0
   167
							</fo:block>
carlos@0
   168
               
carlos@0
   169
              </fo:table-cell>
carlos@0
   170
            </fo:table-row>
carlos@0
   171
          </fo:table-body>
carlos@0
   172
        </fo:table>
carlos@0
   173
      
carlos@0
   174
        <fo:table space-before.optimum="0pt" table-layout="fixed"><!-- id="selEliminar2"-->
carlos@0
   175
          <fo:table-column column-width="2.5cm"/>
carlos@0
   176
          <fo:table-column column-width="6.5cm"/>
carlos@0
   177
          <fo:table-column column-width="2.5cm"/>
carlos@0
   178
          <fo:table-column column-width="2.5cm"/>
carlos@0
   179
          <fo:table-column column-width="2.5cm"/>
carlos@0
   180
          <fo:table-column column-width="2.5cm"/>
carlos@0
   181
          <fo:table-header>
carlos@0
   182
            <fo:table-row>
carlos@0
   183
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   184
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Account code</fo:block>
carlos@0
   185
              </fo:table-cell>
carlos@0
   186
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   187
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Description</fo:block>
carlos@0
   188
              </fo:table-cell>
carlos@0
   189
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   190
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Initial balance</fo:block>
carlos@0
   191
              </fo:table-cell>
carlos@0
   192
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   193
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Debt period</fo:block>
carlos@0
   194
              </fo:table-cell>
carlos@0
   195
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   196
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Credit period</fo:block>
carlos@0
   197
              </fo:table-cell>
carlos@0
   198
              <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   199
                <fo:block font-weight="bold" padding-top="2pt" start-indent="2pt">Final balance</fo:block>
carlos@0
   200
              </fo:table-cell>
carlos@0
   201
            </fo:table-row>
carlos@0
   202
          </fo:table-header>
carlos@0
   203
          <fo:table-body>
carlos@0
   204
            <DIVFO id="sectionDetail2">
carlos@0
   205
              <fo:table-row>
carlos@0
   206
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   207
                  <fo:block padding-top="2pt" text-align="center" id="fieldAccount2"/>
carlos@0
   208
                </fo:table-cell>
carlos@0
   209
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   210
                  <fo:block font-size="8pt" padding-top="2pt" start-indent="2pt" text-align="left" id="fieldDescription2"/>
carlos@0
   211
                </fo:table-cell>
carlos@0
   212
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   213
                  <fo:block padding-top="2pt" end-indent="2pt" text-align="end" id="fieldSaldoInicial2"/>
carlos@0
   214
                </fo:table-cell>
carlos@0
   215
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   216
                  <fo:block padding-top="2pt" end-indent="2pt" text-align="end" id="fieldAmtacctdr2"/>
carlos@0
   217
                </fo:table-cell>
carlos@0
   218
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   219
                  <fo:block padding-top="2pt" end-indent="2pt" text-align="end" id="fieldAmtacctcr2"/>
carlos@0
   220
                </fo:table-cell>
carlos@0
   221
                <fo:table-cell border-style="solid" border-width="0.5pt">
carlos@0
   222
                  <fo:block padding-top="2pt" end-indent="2pt" text-align="end" id="fieldSaldoFinal2"/>
carlos@0
   223
                </fo:table-cell>
carlos@0
   224
              </fo:table-row>
carlos@0
   225
            </DIVFO>
carlos@0
   226
            <fo:table-row>
carlos@0
   227
              <fo:table-cell number-columns-spanned="6">
carlos@0
   228
                <fo:block>&#160;</fo:block>
carlos@0
   229
              </fo:table-cell>
carlos@0
   230
            </fo:table-row>
carlos@0
   231
            <fo:table-row>
carlos@0
   232
              <fo:table-cell number-columns-spanned="6">
carlos@0
   233
                <fo:block>&#160;</fo:block>
carlos@0
   234
              </fo:table-cell>
carlos@0
   235
            </fo:table-row>
carlos@0
   236
            <fo:table-row>
carlos@0
   237
              <fo:table-cell number-columns-spanned="2">
carlos@0
   238
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt">CONTINUE ........</fo:block>
carlos@0
   239
              </fo:table-cell>
carlos@0
   240
              <fo:table-cell>
carlos@0
   241
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt" id="fieldTotalSaldoInicial2"/>
carlos@0
   242
              </fo:table-cell>
carlos@0
   243
              <fo:table-cell>
carlos@0
   244
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt" id="fieldTotalAmtacctdr2"/>
carlos@0
   245
              </fo:table-cell>
carlos@0
   246
              <fo:table-cell>
carlos@0
   247
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt" id="fieldTotalAmtacctcr2"/>
carlos@0
   248
              </fo:table-cell>
carlos@0
   249
              <fo:table-cell>
carlos@0
   250
                <fo:block font-weight="bold" text-align="end" end-indent="2pt" padding-top="2pt" id="fieldTotalSaldoFinal2"/>
carlos@0
   251
              </fo:table-cell>
carlos@0
   252
            </fo:table-row>
carlos@0
   253
          </fo:table-body>
carlos@0
   254
        </fo:table>
carlos@0
   255
      
carlos@0
   256
    </DIVFO>
carlos@0
   257
    </fo:flow>
carlos@0
   258
	</fo:page-sequence>
carlos@0
   259
</fo:root>