[55] | 1 | // locations to search for config files that get merged into the main config |
---|
| 2 | // config files can either be Java properties files or ConfigSlurper scripts |
---|
| 3 | |
---|
| 4 | // grails.config.locations = [ "classpath:${appName}-config.properties", |
---|
| 5 | // "classpath:${appName}-config.groovy", |
---|
| 6 | // "file:${userHome}/.grails/${appName}-config.properties", |
---|
| 7 | // "file:${userHome}/.grails/${appName}-config.groovy"] |
---|
| 8 | |
---|
| 9 | // if(System.properties["${appName}.config.location"]) { |
---|
| 10 | // grails.config.locations << "file:" + System.properties["${appName}.config.location"] |
---|
| 11 | // } |
---|
[887] | 12 | |
---|
[923] | 13 | // Local config file (development) otherwise try the classpath (production). |
---|
| 14 | if(new File("${appName}-config.groovy").exists()) |
---|
| 15 | grails.config.locations = [ "file:${appName}-config.groovy" ] |
---|
| 16 | else |
---|
| 17 | grails.config.locations = [ "classpath:${appName}-config.groovy" ] |
---|
| 18 | |
---|
[887] | 19 | // Set false due to acegi security issue. |
---|
| 20 | // See: http://jira.grails.org/browse/GPACEGI-41 |
---|
| 21 | // See: http://www.gnumims.org/trac/ticket/98 |
---|
| 22 | grails.mime.file.extensions = false // enables the parsing of file extensions from URLs into the request format |
---|
| 23 | |
---|
[55] | 24 | grails.mime.types = [ html: ['text/html','application/xhtml+xml'], |
---|
| 25 | xml: ['text/xml', 'application/xml'], |
---|
| 26 | text: 'text-plain', |
---|
| 27 | js: 'text/javascript', |
---|
| 28 | rss: 'application/rss+xml', |
---|
| 29 | atom: 'application/atom+xml', |
---|
| 30 | css: 'text/css', |
---|
| 31 | csv: 'text/csv', |
---|
[165] | 32 | pdf: 'application/pdf', |
---|
| 33 | rtf: 'application/rtf', |
---|
| 34 | excel: 'application/vnd.ms-excel', |
---|
| 35 | ods: 'application/vnd.oasis.opendocument.spreadsheet', |
---|
[55] | 36 | all: '*/*', |
---|
| 37 | json: ['application/json','text/json'], |
---|
| 38 | form: 'application/x-www-form-urlencoded', |
---|
| 39 | multipartForm: 'multipart/form-data' |
---|
| 40 | ] |
---|
| 41 | // The default codec used to encode data with ${} |
---|
| 42 | grails.views.default.codec="none" // none, html, base64 |
---|
| 43 | grails.views.gsp.encoding="UTF-8" |
---|
| 44 | grails.converters.encoding="UTF-8" |
---|
| 45 | |
---|
[449] | 46 | // enable Sitemesh preprocessing of GSP pages |
---|
| 47 | grails.views.gsp.sitemesh.preprocess = true |
---|
| 48 | // scaffolding templates configuration |
---|
| 49 | grails.scaffolding.templates.domainSuffix = 'Instance' |
---|
| 50 | |
---|
| 51 | // Set to false to use the new Grails 1.2 JSONBuilder in the render method |
---|
| 52 | grails.json.legacy.builder=false |
---|
| 53 | |
---|
[55] | 54 | // enabled native2ascii conversion of i18n properties files |
---|
| 55 | grails.enable.native2ascii = true |
---|
| 56 | |
---|
[449] | 57 | // whether to install the java.util.logging bridge for sl4j. Disable fo AppEngine! |
---|
| 58 | grails.logging.jul.usebridge = true |
---|
| 59 | // packages to include in Spring bean scanning |
---|
| 60 | grails.spring.bean.packages = [] |
---|
| 61 | |
---|
[622] | 62 | /** |
---|
| 63 | * Internal searchable index config. |
---|
| 64 | */ |
---|
| 65 | // Is set true by createDataService.startSearchableIndex() once bootstrap completes. |
---|
| 66 | appSearchable.cascadeOnUpdate = false |
---|
[449] | 67 | |
---|
[197] | 68 | /** |
---|
[622] | 69 | * Directory configuration. |
---|
| 70 | * Pickup the Tomcat/Catalina directory else use the target or current dir. |
---|
| 71 | */ |
---|
| 72 | def fs = File.separator // Local variable. |
---|
| 73 | globalDirs.targetDir = new File("target${fs}").isDirectory() ? "target${fs}" : '' |
---|
| 74 | globalDirs.catalinaBase = System.properties.getProperty('catalina.base') |
---|
| 75 | globalDirs.logDirectory = globalDirs.catalinaBase ? "${globalDirs.catalinaBase}${fs}logs${fs}" : globalDirs.targetDir |
---|
| 76 | globalDirs.workDirectory = globalDirs.catalinaBase ? "${globalDirs.catalinaBase}${fs}work${fs}" : globalDirs.targetDir |
---|
[635] | 77 | globalDirs.tempDirectory = globalDirs.catalinaBase ? "${globalDirs.catalinaBase}${fs}temp${fs}${appName}${fs}" : globalDirs.targetDir |
---|
[622] | 78 | globalDirs.searchableIndexDirectory = "${globalDirs.workDirectory}SearchableIndex${fs}${appName}${fs}" |
---|
[635] | 79 | globalDirs.tempInventoryItemPicturesDirectory = "${globalDirs.tempDirectory}InventoryItemPictures${fs}" |
---|
[622] | 80 | |
---|
| 81 | /** |
---|
[200] | 82 | * Log4j configuration. |
---|
| 83 | * Causing this file to reload (e.g. edit+save) may break the appLog destination |
---|
| 84 | * and further logs will be written to files or directories like "[:]". |
---|
[197] | 85 | * For more info see http://logging.apache.org/log4j/1.2/manual.html |
---|
| 86 | * For log levels see http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html |
---|
| 87 | * Basic log levels are ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < OFF |
---|
| 88 | */ |
---|
| 89 | log4j = { |
---|
| 90 | appenders { |
---|
| 91 | // Use if we want to prevent creation of a stacktrace.log file. |
---|
| 92 | 'null' name:'stacktrace' |
---|
| 93 | |
---|
| 94 | // Use this if we want to modify the default appender called 'stdout'. |
---|
| 95 | console name:'stdout', layout:pattern(conversionPattern: '[%t] %-5p %c{2} %x - %m%n') |
---|
| 96 | |
---|
| 97 | // Custom log file. |
---|
| 98 | rollingFile name:"appLog", |
---|
[622] | 99 | file:"${globalDirs.logDirectory}${appName}.log".toString(), |
---|
[358] | 100 | maxFileSize:'300kB', |
---|
[480] | 101 | maxBackupIndex:1, |
---|
[197] | 102 | layout:pattern(conversionPattern: '%d{[EEE, dd-MMM-yyyy @ HH:mm:ss.SSS]} [%t] %-5p %c %x - %m%n') |
---|
[55] | 103 | } |
---|
[197] | 104 | |
---|
[449] | 105 | // This is for the built-in stuff and from the default Grails-1.2.1 config. |
---|
[197] | 106 | error 'org.codehaus.groovy.grails.web.servlet', // controllers |
---|
| 107 | 'org.codehaus.groovy.grails.web.pages', // GSP |
---|
| 108 | 'org.codehaus.groovy.grails.web.sitemesh', // layouts |
---|
| 109 | 'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping |
---|
| 110 | 'org.codehaus.groovy.grails.web.mapping', // URL mapping |
---|
| 111 | 'org.codehaus.groovy.grails.commons', // core / classloading |
---|
| 112 | 'org.codehaus.groovy.grails.plugins', // plugins |
---|
| 113 | 'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration |
---|
| 114 | 'org.springframework', |
---|
[449] | 115 | 'org.hibernate', |
---|
| 116 | 'net.sf.ehcache.hibernate' |
---|
[197] | 117 | |
---|
| 118 | warn 'org.mortbay.log' // Jetty |
---|
| 119 | |
---|
[579] | 120 | error 'grails.app' // Set the default log level for our app code. |
---|
| 121 | info 'grails.app.bootstrap' // Set the log level per type and per type.class |
---|
| 122 | error 'grails.app.service.AuthService' |
---|
| 123 | error 'grails.app.service.NavigationService' |
---|
| 124 | error 'grails.app.service.com.zeddware.grails.plugins.filterpane.FilterService' |
---|
[622] | 125 | info 'org.codehaus.groovy.grails.plugins.searchable' |
---|
| 126 | //info 'org.compass' |
---|
[579] | 127 | error 'grails.app.task' // Quartz jobs. |
---|
[622] | 128 | info 'grails.app.task.InventoryIndexJob' |
---|
[200] | 129 | |
---|
| 130 | // Move anything that should behave differently into this section. |
---|
| 131 | switch(environment) { |
---|
| 132 | case 'development': |
---|
[480] | 133 | // Configure the root logger to output to stdout and appLog appenders. |
---|
| 134 | root { |
---|
| 135 | error 'stdout','appLog' |
---|
| 136 | additivity = true |
---|
| 137 | } |
---|
[481] | 138 | //debug "org.hibernate.SQL" |
---|
[579] | 139 | debug 'grails.app.service' |
---|
| 140 | debug 'grails.app.controller' |
---|
[200] | 141 | break |
---|
| 142 | case 'test': |
---|
[480] | 143 | // Configure the root logger to only output to appLog appender. |
---|
| 144 | root { |
---|
[508] | 145 | error 'stdout','appLog' |
---|
[480] | 146 | additivity = true |
---|
| 147 | } |
---|
[579] | 148 | debug 'grails.app.service' |
---|
| 149 | debug 'grails.app.controller' |
---|
[200] | 150 | break |
---|
| 151 | case 'production': |
---|
[480] | 152 | // Configure the root logger to only output to appLog appender. |
---|
| 153 | root { |
---|
| 154 | error 'appLog' |
---|
| 155 | additivity = true |
---|
| 156 | } |
---|
[579] | 157 | warn 'grails.app.service' |
---|
| 158 | warn 'grails.app.controller' |
---|
| 159 | debug 'grails.app.service.AssetCsvService' |
---|
| 160 | debug 'grails.app.service.PersonCsvService' |
---|
| 161 | debug 'grails.app.service.InventoryCsvService' |
---|
[637] | 162 | info 'grails.app.service.InventoryItemService' |
---|
[579] | 163 | debug 'grails.app.service.AssetTreeService' /// @todo: remove after testing. |
---|
[200] | 164 | break |
---|
| 165 | } |
---|
[55] | 166 | } |
---|
| 167 | |
---|
[197] | 168 | /** |
---|
| 169 | * Environment specific configuration. |
---|
| 170 | */ |
---|
| 171 | environments { |
---|
| 172 | |
---|
| 173 | production { |
---|
| 174 | grails.serverURL = "http://www.changeme.com" // Set serverURL stem for creating absolute links. |
---|
[55] | 175 | } |
---|
| 176 | |
---|
[197] | 177 | development { |
---|
| 178 | grails.serverURL = "http://localhost:8080/${appName}" // Set serverURL stem for creating absolute links. |
---|
| 179 | } |
---|
[55] | 180 | |
---|
[197] | 181 | test { |
---|
| 182 | grails.serverURL = "http://localhost:8080/${appName}" // Set serverURL stem for creating absolute links. |
---|
| 183 | } |
---|
| 184 | |
---|
| 185 | } // end environments |
---|
| 186 | |
---|
[199] | 187 | /** |
---|
| 188 | * Navigation plugin menu. |
---|
| 189 | * The top level titles are taken from i18n message bundles. |
---|
| 190 | * Subitems i18n message bundles are not currently resolving with this plugin. |
---|
| 191 | */ |
---|
[139] | 192 | navigation.nav = [ |
---|
| 193 | [order:10, controller:'appCore', title:'home', action:'start', |
---|
| 194 | subItems: [ |
---|
| 195 | [order:10, controller:'appCore', title:'Start', action:'start', isVisible: { true }], |
---|
[627] | 196 | [order:20, controller:'appCore', title:'Manager', action:'manager', isVisible: { |
---|
| 197 | authenticateService.ifAnyGranted('ROLE_AppAdmin,ROLE_Manager,ROLE_TaskManager,ROLE_InventoryManager,ROLE_AssetManager,ROLE_ProductionManager') |
---|
| 198 | } |
---|
| 199 | ], |
---|
[139] | 200 | [order:30, controller:'appCore', title:'Admin', action:'appAdmin', isVisible: { authenticateService.ifAllGranted('ROLE_AppAdmin') }], |
---|
| 201 | [order:90, controller:'appCore', title:'Timeout', action:'changeSessionTimeout', isVisible: { params.action == 'changeSessionTimeout' }], |
---|
| 202 | [order:91, controller:'appCore', title:'Password', action:'changePassword', isVisible: { params.action == 'changePassword' }], |
---|
| 203 | ] |
---|
| 204 | ], |
---|
| 205 | [order:20, controller:'taskDetailed', title:'tasks', action:'search', |
---|
| 206 | subItems: [ |
---|
[215] | 207 | [order:10, controller:'taskDetailed', title:'Search', action:'search', isVisible: { true }], |
---|
| 208 | [order:11, controller:'taskDetailed', title:'Calendar', action:'searchCalendar', isVisible: { true }], |
---|
[418] | 209 | [order:20, controller:'taskDetailed', title:'+Scheduled', action:'create', isVisible: { true }], |
---|
[433] | 210 | [order:30, controller:'taskDetailed', title:'+Unsheduled', action:'createUnscheduled', isVisible: { true }], |
---|
| 211 | [order:40, controller:'taskDetailed', title:'+Callout', action:'createImmediateCallout', isVisible: { true }], |
---|
| 212 | [order:90, controller:'taskDetailed', title:'Show', action:'show', id:'nav', isVisible: { params.action == 'show' }], |
---|
| 213 | [order:91, controller:'taskDetailed', title:'Edit', action:'edit', id:'nav', isVisible: { params.action == 'edit' }] |
---|
[139] | 214 | ] |
---|
| 215 | ], |
---|
| 216 | [order:30, controller:'inventoryItemDetailed', title:'inventory', action:'search', |
---|
| 217 | subItems: [ |
---|
| 218 | [order:10, controller:'inventoryItemDetailed', title:'Search', action:'search', isVisible: { true }], |
---|
| 219 | [order:20, controller:'inventoryItemDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 220 | [order:90, controller:'inventoryItemDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
[646] | 221 | [order:91, controller:'inventoryItemDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }], |
---|
| 222 | [order:91, controller:'inventoryItemDetailed', title:'Reorder', action:'reorder', isVisible: { params.action == 'reorder' }] |
---|
[139] | 223 | ] |
---|
| 224 | ], |
---|
[306] | 225 | [order:40, controller:'assetDetailed', title:'assets', action:'search', |
---|
[139] | 226 | subItems: [ |
---|
[306] | 227 | [order:10, controller:'assetDetailed', title:'Search', action:'search', isVisible: { true }], |
---|
[139] | 228 | [order:20, controller:'assetDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 229 | [order:90, controller:'assetDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
[353] | 230 | [order:91, controller:'assetDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }], |
---|
| 231 | [order:99, controller:'assetSubItemDetailed', title:'Sub Items', action:'search', isVisible: { true }] |
---|
[139] | 232 | ] |
---|
| 233 | ] |
---|
| 234 | ] |
---|
[58] | 235 | |
---|
[199] | 236 | /** |
---|
| 237 | * Navigation plugin alternate menu. |
---|
[367] | 238 | * The alternate menu top level titles are not displayed anywhere. |
---|
[199] | 239 | * Subitems i18n message bundles are not currently resolving with this plugin. |
---|
| 240 | */ |
---|
[147] | 241 | navigation.navAlt = [ |
---|
| 242 | [order:10, controller:'person', title:'person', action:'list', |
---|
| 243 | subItems: [ |
---|
| 244 | [order:10, controller:'person', title:'Person List', action:'list', isVisible: { true }], |
---|
| 245 | [order:20, controller:'person', title:'Create', action:'create', isVisible: { true }], |
---|
| 246 | [order:90, controller:'person', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 247 | [order:91, controller:'person', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 248 | ] |
---|
| 249 | ], |
---|
[367] | 250 | [order:20, controller:'taskProcedureDetailed', title:'taskProcedure', action:'list', |
---|
[147] | 251 | subItems: [ |
---|
| 252 | [order:10, controller:'taskProcedureDetailed', title:'Task Procedure List', action:'list', isVisible: { true }], |
---|
| 253 | [order:20, controller:'taskProcedureDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 254 | [order:90, controller:'taskProcedureDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 255 | [order:91, controller:'taskProcedureDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 256 | ] |
---|
[367] | 257 | ], |
---|
| 258 | [order:30, controller:'assetSubItemDetailed', title:'assetSubItem', action:'search', |
---|
| 259 | subItems: [ |
---|
| 260 | [order:10, controller:'assetSubItemDetailed', title:'Sub Item Search', action:'search', isVisible: { true }], |
---|
| 261 | [order:20, controller:'assetSubItemDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 262 | [order:90, controller:'assetSubItemDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 263 | [order:91, controller:'assetSubItemDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 264 | ] |
---|
| 265 | ], |
---|
| 266 | [order:40, controller:'maintenancePolicyDetailed', title:'maintenancePolicy', action:'list', |
---|
| 267 | subItems: [ |
---|
| 268 | [order:10, controller:'maintenancePolicyDetailed', title:'Maintenance Policy List', action:'list', isVisible: { true }], |
---|
| 269 | [order:20, controller:'maintenancePolicyDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 270 | [order:90, controller:'maintenancePolicyDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 271 | [order:91, controller:'maintenancePolicyDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 272 | ] |
---|
[374] | 273 | ], |
---|
| 274 | [order:50, controller:'supplierDetailed', title:'supplier', action:'list', |
---|
| 275 | subItems: [ |
---|
| 276 | [order:10, controller:'supplierDetailed', title:'Supplier List', action:'list', isVisible: { true }], |
---|
| 277 | [order:20, controller:'supplierDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 278 | [order:90, controller:'supplierDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 279 | [order:91, controller:'supplierDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 280 | ] |
---|
| 281 | ], |
---|
[377] | 282 | [order:70, controller:'inventoryStoreDetailed', title:'inventoryStore', action:'list', |
---|
| 283 | subItems: [ |
---|
| 284 | [order:10, controller:'inventoryStoreDetailed', title:'Inventory Store List', action:'list', isVisible: { true }], |
---|
| 285 | [order:20, controller:'inventoryStoreDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 286 | [order:90, controller:'inventoryStoreDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 287 | [order:91, controller:'inventoryStoreDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 288 | ] |
---|
| 289 | ], |
---|
| 290 | [order:80, controller:'inventoryLocationDetailed', title:'inventoryLocation', action:'list', |
---|
| 291 | subItems: [ |
---|
| 292 | [order:10, controller:'inventoryLocationDetailed', title:'Inventory Location List', action:'list', isVisible: { true }], |
---|
| 293 | [order:20, controller:'inventoryLocationDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 294 | [order:90, controller:'inventoryLocationDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 295 | [order:91, controller:'inventoryLocationDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 296 | ] |
---|
[380] | 297 | ], |
---|
| 298 | [order:90, controller:'inventoryGroupDetailed', title:'inventoryGroup', action:'list', |
---|
| 299 | subItems: [ |
---|
| 300 | [order:10, controller:'inventoryGroupDetailed', title:'Inventory Group List', action:'list', isVisible: { true }], |
---|
| 301 | [order:20, controller:'inventoryGroupDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 302 | [order:90, controller:'inventoryGroupDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 303 | [order:91, controller:'inventoryGroupDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 304 | ] |
---|
[383] | 305 | ], |
---|
| 306 | [order:110, controller:'supplierTypeDetailed', title:'supplierType', action:'list', |
---|
| 307 | subItems: [ |
---|
| 308 | [order:10, controller:'supplierTypeDetailed', title:'Supplier Type List', action:'list', isVisible: { true }], |
---|
| 309 | [order:20, controller:'supplierTypeDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 310 | [order:90, controller:'supplierTypeDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 311 | [order:91, controller:'supplierTypeDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 312 | ] |
---|
[385] | 313 | ], |
---|
[386] | 314 | [order:120, controller:'siteDetailed', title:'site', action:'list', |
---|
[385] | 315 | subItems: [ |
---|
| 316 | [order:10, controller:'siteDetailed', title:'Site List', action:'list', isVisible: { true }], |
---|
| 317 | [order:20, controller:'siteDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 318 | [order:90, controller:'siteDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 319 | [order:91, controller:'siteDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 320 | ] |
---|
| 321 | ], |
---|
[386] | 322 | [order:130, controller:'sectionDetailed', title:'section', action:'list', |
---|
[385] | 323 | subItems: [ |
---|
| 324 | [order:10, controller:'sectionDetailed', title:'Section List', action:'list', isVisible: { true }], |
---|
| 325 | [order:20, controller:'sectionDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 326 | [order:90, controller:'sectionDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 327 | [order:91, controller:'sectionDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 328 | ] |
---|
[386] | 329 | ], |
---|
[387] | 330 | [order:140, controller:'extendedAttributeTypeDetailed', title:'extendedAttributeType', action:'list', |
---|
[386] | 331 | subItems: [ |
---|
| 332 | [order:10, controller:'extendedAttributeTypeDetailed', title:'Attribute Type List', action:'list', isVisible: { true }], |
---|
| 333 | [order:20, controller:'extendedAttributeTypeDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 334 | [order:90, controller:'extendedAttributeTypeDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 335 | [order:91, controller:'extendedAttributeTypeDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 336 | ] |
---|
[412] | 337 | ], |
---|
| 338 | [order:150, controller:'departmentDetailed', title:'department', action:'list', |
---|
| 339 | subItems: [ |
---|
| 340 | [order:10, controller:'departmentDetailed', title:'Department List', action:'list', isVisible: { true }], |
---|
| 341 | [order:20, controller:'departmentDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 342 | [order:90, controller:'departmentDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 343 | [order:91, controller:'departmentDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 344 | ] |
---|
[431] | 345 | ], |
---|
| 346 | [order:160, controller:'productionReferenceDetailed', title:'productionReference', action:'list', |
---|
| 347 | subItems: [ |
---|
| 348 | [order:10, controller:'productionReferenceDetailed', title:'Production Reference List', action:'list', isVisible: { true }], |
---|
| 349 | [order:20, controller:'productionReferenceDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 350 | [order:90, controller:'productionReferenceDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 351 | [order:91, controller:'productionReferenceDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 352 | ] |
---|
[440] | 353 | ], |
---|
| 354 | [order:170, controller:'costCodeDetailed', title:'costCode', action:'list', |
---|
| 355 | subItems: [ |
---|
| 356 | [order:10, controller:'costCodeDetailed', title:'Cost Code List', action:'list', isVisible: { true }], |
---|
| 357 | [order:20, controller:'costCodeDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 358 | [order:90, controller:'costCodeDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 359 | [order:91, controller:'costCodeDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 360 | ] |
---|
[471] | 361 | ], |
---|
| 362 | [order:180, controller:'personGroupDetailed', title:'personGroup', action:'list', |
---|
| 363 | subItems: [ |
---|
| 364 | [order:10, controller:'personGroupDetailed', title:'Person Group List', action:'list', isVisible: { true }], |
---|
| 365 | [order:20, controller:'personGroupDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 366 | [order:90, controller:'personGroupDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 367 | [order:91, controller:'personGroupDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 368 | ] |
---|
| 369 | ], |
---|
| 370 | [order:190, controller:'personGroupTypeDetailed', title:'personGroupType', action:'list', |
---|
| 371 | subItems: [ |
---|
| 372 | [order:10, controller:'personGroupTypeDetailed', title:'Person Group Type List', action:'list', isVisible: { true }], |
---|
| 373 | [order:20, controller:'personGroupTypeDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 374 | [order:90, controller:'personGroupTypeDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 375 | [order:91, controller:'personGroupTypeDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 376 | ] |
---|
[556] | 377 | ], |
---|
| 378 | [order:200, controller:'taskGroupDetailed', title:'taskProcedure', action:'list', |
---|
| 379 | subItems: [ |
---|
| 380 | [order:10, controller:'taskGroupDetailed', title:'Task Group List', action:'list', isVisible: { true }], |
---|
| 381 | [order:20, controller:'taskGroupDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 382 | [order:90, controller:'taskGroupDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 383 | [order:91, controller:'taskGroupDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 384 | ] |
---|
[559] | 385 | ], |
---|
| 386 | [order:210, controller:'unitOfMeasureDetailed', title:'unitOfMeasure', action:'list', |
---|
| 387 | subItems: [ |
---|
| 388 | [order:10, controller:'unitOfMeasureDetailed', title:'Unit Of Measure List', action:'list', isVisible: { true }], |
---|
| 389 | [order:20, controller:'unitOfMeasureDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 390 | [order:90, controller:'unitOfMeasureDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 391 | [order:91, controller:'unitOfMeasureDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 392 | ] |
---|
[595] | 393 | ], |
---|
| 394 | [order:220, controller:'inventoryItemPurchaseDetailed', title:'inventoryItemPurchase', action:'search', |
---|
| 395 | subItems: [ |
---|
| 396 | [order:10, controller:'inventoryItemPurchaseDetailed', title:'Purchase Search', action:'search', isVisible: { true }], |
---|
| 397 | [order:20, controller:'inventoryItemPurchaseDetailed', title:'Order', action:'create', isVisible: { true }], |
---|
| 398 | [order:90, controller:'inventoryItemPurchaseDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 399 | [order:91, controller:'inventoryItemPurchaseDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 400 | ] |
---|
[633] | 401 | ], |
---|
| 402 | [order:230, controller:'purchasingGroupDetailed', title:'purchasingGroup', action:'list', |
---|
| 403 | subItems: [ |
---|
| 404 | [order:10, controller:'purchasingGroupDetailed', title:'Purchasing Group List', action:'list', isVisible: { true }], |
---|
| 405 | [order:20, controller:'purchasingGroupDetailed', title:'Create', action:'create', isVisible: { true }], |
---|
| 406 | [order:90, controller:'purchasingGroupDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], |
---|
| 407 | [order:91, controller:'purchasingGroupDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] |
---|
| 408 | ] |
---|
[147] | 409 | ] |
---|
| 410 | ] |
---|