Changeset 550 for trunk/web-app/reports
- Timestamp:
- May 28, 2010, 1:29:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/reports/stockTakeByLocation.jrxml
r547 r550 5 5 <property name="ireport.zoom" value="1.0"/> 6 6 <property name="ireport.x" value="0"/> 7 <property name="ireport.y" value="0"/> 7 <property name="ireport.y" value="144"/> 8 <import value="java.util.*"/> 8 9 <import value="net.sf.jasperreports.engine.*"/> 9 <import value="java.util.*"/>10 10 <import value="net.sf.jasperreports.engine.data.*"/> 11 11 <style name="Crosstab Data Text" isDefault="false" hAlign="Center"/> … … 73 73 <parameter name="currentUser" class="java.lang.String"/> 74 74 <parameter name="logoUrl" class="java.lang.String"/> 75 <parameter name="startDateString" class="java.lang.String"/> 76 <parameter name="endDateString" class="java.lang.String"/> 77 <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> 78 <defaultValueExpression><![CDATA["C:\\Documents and Settings\\kromhoutg\\My Documents\\reports\\"]]></defaultValueExpression> 79 </parameter> 75 <parameter name="locationString" class="java.lang.String"/> 80 76 <queryString language="SQL"> 81 77 <![CDATA[]]> … … 85 81 <field name="inventoryItemCount" class="java.lang.Integer"/> 86 82 <field name="locations" class="java.lang.String"/> 87 <field name="countWarning" class="java.lang.String"/> 83 <field name="errorMessage" class="java.lang.String"/> 84 <field name="locationCount" class="java.lang.Integer"/> 88 85 <background> 89 86 <band splitType="Stretch"/> … … 105 102 <reportElement x="0" y="75" width="340" height="17"/> 106 103 <textElement textAlignment="Center" verticalAlignment="Middle" markup="none"/> 107 <textFieldExpression class="java.lang.String"><![CDATA[" Inventory Items: "+$F{inventoryItemCount}+", Locations: "+$F{locations}+"."]]></textFieldExpression>104 <textFieldExpression class="java.lang.String"><![CDATA["Total - Items: "+$F{inventoryItemCount}+", Locations: "+$F{locationCount}]]></textFieldExpression> 108 105 </textField> 109 106 <textField> 110 107 <reportElement mode="Opaque" x="400" y="4" width="382" height="46" isPrintWhenDetailOverflows="true" forecolor="#FF0000" backcolor="#FFCCCC"> 111 <printWhenExpression><![CDATA[$F{ countWarning} != null ? true:false]]></printWhenExpression>108 <printWhenExpression><![CDATA[$F{errorMessage} != null ? true:false]]></printWhenExpression> 112 109 </reportElement> 113 110 <textElement textAlignment="Center" verticalAlignment="Middle"> 114 111 <font size="12" isBold="true"/> 115 112 </textElement> 116 <textFieldExpression class="java.lang.String"><![CDATA[$F{ countWarning}]]></textFieldExpression>113 <textFieldExpression class="java.lang.String"><![CDATA[$F{errorMessage}]]></textFieldExpression> 117 114 </textField> 118 115 </band> … … 132 129 <jr:groupHeader groupName="group1"> 133 130 <jr:cell height="20" rowSpan="1"> 134 <textField >135 <reportElement x="0" y="0" width="1 27" height="20"/>131 <textField isStretchWithOverflow="true"> 132 <reportElement x="0" y="0" width="117" height="20"/> 136 133 <textElement verticalAlignment="Middle"> 137 134 <font size="12" isBold="true"/> … … 141 138 </jr:cell> 142 139 </jr:groupHeader> 143 <jr:columnHeader style="table_CH" height="20" rowSpan="1"/> 144 <jr:detailCell style="table_TD" height="51" rowSpan="1"> 145 <image> 146 <reportElement x="39" y="0" width="88" height="51"/> 140 <jr:columnHeader style="table_CH" height="20" rowSpan="1"> 141 <textField isStretchWithOverflow="true"> 142 <reportElement x="0" y="0" width="117" height="20"/> 143 <textElement verticalAlignment="Middle"> 144 <font isBold="true"/> 145 </textElement> 146 <textFieldExpression class="java.lang.String"><![CDATA[$F{inventoryLocation}.name]]></textFieldExpression> 147 </textField> 148 </jr:columnHeader> 149 <jr:detailCell style="table_TD" height="51" rowSpan="1"> 150 <image hAlign="Center" vAlign="Middle"> 151 <reportElement x="29" y="0" width="88" height="51"/> 147 152 <imageExpression class="java.awt.Image"><![CDATA[net.sf.jasperreports.engine.util.JRImageLoader.loadImage($F{picture}.images.first().data)]]></imageExpression> 148 153 </image> … … 151 156 <jr:column width="237"> 152 157 <jr:columnHeader style="table_CH" height="20" rowSpan="1"> 153 <textField >158 <textField isStretchWithOverflow="true"> 154 159 <reportElement x="0" y="0" width="237" height="20"/> 155 160 <textElement verticalAlignment="Middle"> … … 174 179 <jr:column width="104"> 175 180 <jr:columnHeader style="table_CH" height="20" rowSpan="1"> 176 <textField >181 <textField isStretchWithOverflow="true"> 177 182 <reportElement x="0" y="0" width="104" height="20"/> 178 183 <textElement textAlignment="Center" verticalAlignment="Middle"> … … 196 201 <jr:column width="90"> 197 202 <jr:columnHeader style="table_CH" height="20" rowSpan="1"> 198 <textField >203 <textField isStretchWithOverflow="true"> 199 204 <reportElement x="0" y="0" width="90" height="20"/> 200 205 <textElement textAlignment="Center" verticalAlignment="Middle"> … … 206 211 <jr:detailCell style="table_TD" height="51" rowSpan="1"> 207 212 <rectangle> 208 <reportElement x="5" y=" 8" width="80" height="35"/>213 <reportElement x="5" y="11" width="80" height="30"/> 209 214 </rectangle> 210 215 </jr:detailCell> … … 232 237 <jr:column width="139"> 233 238 <jr:columnHeader style="table_CH" height="20" rowSpan="1"> 234 <textField >239 <textField isStretchWithOverflow="true"> 235 240 <reportElement x="0" y="0" width="139" height="20"/> 236 241 <textElement verticalAlignment="Middle"> … … 326 331 <textFieldExpression class="java.lang.String"><![CDATA["Summary"]]></textFieldExpression> 327 332 </textField> 328 <textField >329 <reportElement x="0" y="60" width="782" height=" 309"/>333 <textField isStretchWithOverflow="true"> 334 <reportElement x="0" y="60" width="782" height="18"/> 330 335 <textElement/> 331 336 <textFieldExpression class="java.lang.String"><![CDATA[$F{summaryOfCalculationMethod}]]></textFieldExpression> 337 </textField> 338 <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true"> 339 <reportElement x="0" y="125" width="782" height="17"/> 340 <textElement verticalAlignment="Middle" markup="none"/> 341 <textFieldExpression class="java.lang.String"><![CDATA["Locations found: "]]></textFieldExpression> 342 </textField> 343 <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true"> 344 <reportElement x="14" y="143" width="768" height="17"/> 345 <textElement verticalAlignment="Middle" markup="none"/> 346 <textFieldExpression class="java.lang.String"><![CDATA[$F{locations}+"."]]></textFieldExpression> 347 </textField> 348 <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true"> 349 <reportElement x="14" y="101" width="768" height="17"/> 350 <textElement verticalAlignment="Middle" markup="none"/> 351 <textFieldExpression class="java.lang.String"><![CDATA[$P{locationString}]]></textFieldExpression> 352 </textField> 353 <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true"> 354 <reportElement x="0" y="84" width="782" height="17"/> 355 <textElement verticalAlignment="Middle" markup="none"/> 356 <textFieldExpression class="java.lang.String"><![CDATA["Locations requested ('e.g:' is ignored and '%' is a wild card): "]]></textFieldExpression> 332 357 </textField> 333 358 </band>
Note: See TracChangeset
for help on using the changeset viewer.