Changeset 678 for trunk/grails-app
- Timestamp:
- Oct 4, 2010, 8:32:56 PM (14 years ago)
- Location:
- trunk/grails-app/services
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/AssetReportService.groovy
r654 r678 64 64 // Add all attribType columns. 65 65 result.attribTypes.each { column -> 66 rows[assetResult.name][column] = null66 rows[assetResult.name][column] = '-' 67 67 } 68 68 } … … 181 181 // Add all attribType columns. 182 182 result.attribTypes.each { column -> 183 rows[rowKey][column] = null183 rows[rowKey][column] = '-' 184 184 } 185 185 } -
trunk/grails-app/services/CreateDataService.groovy
r665 r678 1382 1382 1383 1383 //ExtendedAttributeType #9 1384 extendedAttributeTypeInstance = new ExtendedAttributeType(name: " Hazards Identified")1384 extendedAttributeTypeInstance = new ExtendedAttributeType(name: "ecr") 1385 1385 saveAndTest(extendedAttributeTypeInstance) 1386 1386 1387 1387 //ExtendedAttributeType #10 1388 extendedAttributeTypeInstance = new ExtendedAttributeType(name: "Risk Assesment")1388 extendedAttributeTypeInstance = new ExtendedAttributeType(name: "Risk Level") 1389 1389 saveAndTest(extendedAttributeTypeInstance) 1390 1390 … … 1394 1394 1395 1395 //ExtendedAttributeType #12 1396 extendedAttributeTypeInstance = new ExtendedAttributeType(name: " Maintenance Frequency")1396 extendedAttributeTypeInstance = new ExtendedAttributeType(name: "Regulatory Requirement") 1397 1397 saveAndTest(extendedAttributeTypeInstance) 1398 1398 1399 1399 //ExtendedAttributeType #13 1400 extendedAttributeTypeInstance = new ExtendedAttributeType(name: "Maintenance Date")1400 extendedAttributeTypeInstance = new ExtendedAttributeType(name: "Maintenance % Completion") 1401 1401 saveAndTest(extendedAttributeTypeInstance) 1402 1402 … … 1600 1600 1601 1601 //AssetExtendedAttribute #5 1602 assetExtendedAttributeInstance = new AssetExtendedAttribute(value: " Crushing, Electrical, Pinch Points, Trip/Fall, High Pressure Air",1602 assetExtendedAttributeInstance = new AssetExtendedAttribute(value: "3", 1603 1603 asset: Asset.get(1), 1604 1604 extendedAttributeType: ExtendedAttributeType.get(9))
Note: See TracChangeset
for help on using the changeset viewer.