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.

File:
1 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        }
Note: See TracChangeset for help on using the changeset viewer.