src/org/openbravo/erpCommon/ad_reports/ReportProductionPDF.fo
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 338 2ee57bd20eae
child 6701 690d2af86089
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 
rafael@338
    15
 * All portions are Copyright (C) 2001-2008 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="1cm" margin-right="1cm" margin-bottom="0.5cm">
carlos@0
    23
			<fo:region-body margin-left="0cm" margin-right="0cm" margin-bottom="1cm" margin-top="1cm"/>
carlos@0
    24
			<fo:region-before extent="1cm"/>
carlos@0
    25
		</fo:simple-page-master>
carlos@0
    26
		<fo:simple-page-master master-name="rest" margin-left="1cm" page-height="29.7cm" page-width="21cm" margin-top="1cm" margin-right="1cm" margin-bottom="0.5cm">
carlos@0
    27
			<fo:region-body margin-left="0cm" margin-right="0cm" margin-bottom="1cm" margin-top="1cm"/>
carlos@0
    28
			<fo:region-before extent="1cm"/>
carlos@0
    29
		</fo:simple-page-master>
carlos@0
    30
		<fo:page-sequence-master master-name="basicPSM">
carlos@0
    31
			<fo:repeatable-page-master-alternatives>
carlos@0
    32
				<fo:conditional-page-master-reference master-reference="first" page-position="first"/>
carlos@0
    33
				<fo:conditional-page-master-reference master-reference="rest" page-position="rest"/>
carlos@0
    34
				<fo:conditional-page-master-reference master-reference="rest"/>
carlos@0
    35
			</fo:repeatable-page-master-alternatives>
carlos@0
    36
		</fo:page-sequence-master>
carlos@0
    37
	</fo:layout-master-set>
carlos@0
    38
	<fo:page-sequence master-reference="basicPSM" initial-page-number="1" force-page-count="no-force">
carlos@0
    39
		<fo:static-content flow-name="xsl-region-before">
carlos@0
    40
			<fo:block font-size="14pt" font-weight="bold" text-align="center" id="fieldTitle">xx</fo:block>
carlos@0
    41
		</fo:static-content>
carlos@0
    42
		<fo:flow font-size="10pt" flow-name="xsl-region-body" font-family="Helvetica">
carlos@0
    43
			<fo:table table-layout="fixed">
carlos@0
    44
				<fo:table-column column-width="10cm"/>
carlos@0
    45
				<fo:table-column column-width="5cm"/>
carlos@0
    46
				<fo:table-column column-width="4cm"/>
carlos@0
    47
				<fo:table-body>
carlos@0
    48
					<DIVFO id="sectionProduction">
carlos@0
    49
						<fo:table-row>
carlos@0
    50
							<fo:table-cell number-columns-spanned="2" border-left-style="solid" border-left-width="0.5pt" border-top-style="solid" border-top-width="0.5pt">
carlos@0
    51
								<fo:block padding-top="2pt" start-indent="2pt" font-weight="bold">
carlos@0
    52
									<fo:inline>Production:&#160;</fo:inline>
carlos@0
    53
									<fo:inline id="fieldProductionName"/>
carlos@0
    54
								</fo:block>
carlos@0
    55
							</fo:table-cell>
carlos@0
    56
							<fo:table-cell border-right-style="solid" border-right-width="0.5pt" border-top-style="solid" border-top-width="0.5pt">
carlos@0
    57
								<fo:block padding-top="2pt" start-indent="2pt" font-weight="bold">
carlos@0
    58
									<fo:inline>Date:&#160;</fo:inline>
carlos@0
    59
									<fo:inline id="fieldMovementdate"/>
carlos@0
    60
								</fo:block>
carlos@0
    61
							</fo:table-cell>
carlos@0
    62
						</fo:table-row>
carlos@0
    63
						<fo:table-row>
carlos@0
    64
							<fo:table-cell border-width="0.5pt" border-style="solid">
carlos@0
    65
								<fo:block padding-top="2pt" text-align="center" font-weight="bold">Product</fo:block>
carlos@0
    66
							</fo:table-cell>
carlos@0
    67
							<fo:table-cell border-width="0.5pt" border-style="solid">
rafael@338
    68
								<fo:block padding-top="2pt" text-align="center" font-weight="bold">Attribute</fo:block>
carlos@0
    69
							</fo:table-cell>
carlos@0
    70
							<fo:table-cell border-width="0.5pt" border-style="solid">
carlos@0
    71
								<fo:block padding-top="2pt" text-align="center" font-weight="bold">Quantity</fo:block>
carlos@0
    72
							</fo:table-cell>
carlos@0
    73
						</fo:table-row>
carlos@0
    74
						<DIVFO id="sectionDetail">
carlos@0
    75
							<fo:table-row>
carlos@0
    76
								<fo:table-cell border-width="0.5pt" border-style="solid">
carlos@0
    77
									<fo:block padding-top="2pt" start-indent="2pt" text-align="left" id="fieldProductName">Product</fo:block>
carlos@0
    78
								</fo:table-cell>
carlos@0
    79
								<fo:table-cell border-width="0.5pt" border-style="solid">
rafael@338
    80
									<fo:block padding-top="2pt" start-indent="2pt" text-align="left" id="fieldDescription">Attribute</fo:block>
carlos@0
    81
								</fo:table-cell>
carlos@0
    82
								<fo:table-cell border-width="0.5pt" border-style="solid">
carlos@0
    83
									<fo:block padding-top="2pt" end-indent="2pt" text-align="end">
carlos@0
    84
										<fo:inline id="fieldMovementqty">Quantity</fo:inline>&#160;<fo:inline id="fieldUomName"/>
carlos@0
    85
									</fo:block>
carlos@0
    86
								</fo:table-cell>
carlos@0
    87
							</fo:table-row>
carlos@0
    88
						</DIVFO>
carlos@0
    89
						<fo:table-row>
carlos@0
    90
							<fo:table-cell number-columns-spanned="3">
carlos@0
    91
								<fo:block>&#160;</fo:block>
carlos@0
    92
							</fo:table-cell>
carlos@0
    93
						</fo:table-row>
carlos@0
    94
					</DIVFO>
carlos@0
    95
					<fo:table-row>
carlos@0
    96
						<fo:table-cell number-columns-spanned="3">
carlos@0
    97
							<fo:block>&#160;</fo:block>
carlos@0
    98
						</fo:table-cell>
carlos@0
    99
					</fo:table-row>
carlos@0
   100
					<fo:table-row>
carlos@0
   101
						<fo:table-cell number-columns-spanned="3">
carlos@0
   102
							<fo:block font-weight="bold" font-size="12pt" text-align="left" start-indent="4cm">
carlos@0
   103
								<fo:inline text-decoration="underline">PRODUCTION REPORT</fo:inline>
carlos@0
   104
							</fo:block>
carlos@0
   105
						</fo:table-cell>
carlos@0
   106
					</fo:table-row>
carlos@0
   107
					<DIVFO id="sectionDetailSummering">
carlos@0
   108
						<fo:table-row>
carlos@0
   109
							<fo:table-cell number-columns-spanned="2">
carlos@0
   110
								<fo:block font-size="12pt" text-align="left" start-indent="4cm" id="fieldProduct"/>
carlos@0
   111
							</fo:table-cell>
carlos@0
   112
							<fo:table-cell number-columns-spanned="2">
carlos@0
   113
								<fo:block font-size="12pt" text-align="end" end-indent="3cm">
carlos@0
   114
									<fo:inline id="fieldMovementqtySum"/>&#160;<fo:inline id="fieldName"/>
carlos@0
   115
								</fo:block>
carlos@0
   116
							</fo:table-cell>
carlos@0
   117
						</fo:table-row>
carlos@0
   118
					</DIVFO>
carlos@0
   119
				</fo:table-body>
carlos@0
   120
			</fo:table>
carlos@0
   121
		</fo:flow>
carlos@0
   122
	</fo:page-sequence>
carlos@0
   123
</fo:root>