Changeset 649 for trunk


Ignore:
Timestamp:
Sep 6, 2010, 7:43:05 PM (14 years ago)
Author:
gav
Message:

Small improvement to Stock Take By Location report, sort locations found and at '_' pattern info text to report.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/InventoryReportService.groovy

    r564 r649  
    9696        result.locationCount = namedParams.locationList.size()
    9797        if(result.locationCount > 0) {
     98            namedParams.locationList.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }
    9899            result.locations = namedParams.locationList.toString()[1..-2]
    99100        }
  • trunk/web-app/reports/stockTakeByLocation.jrxml

    r550 r649  
    354354                                <reportElement x="0" y="84" width="782" height="17"/>
    355355                                <textElement verticalAlignment="Middle" markup="none"/>
    356                                 <textFieldExpression class="java.lang.String"><![CDATA["Locations requested ('e.g:' is ignored and '%' is a wild card): "]]></textFieldExpression>
     356                                <textFieldExpression class="java.lang.String"><![CDATA["Locations requested ('e.g:' is ignored, '%' is a wild card that matches zero or more characters, '_' matches any single character): "]]></textFieldExpression>
    357357                        </textField>
    358358                </band>
Note: See TracChangeset for help on using the changeset viewer.