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