Lanes::Screen.define_group 'maint' do | group | group.title = "Maintenance" group.description = "Maintain records" group.icon = "icon-wrench" end Lanes::Screen.define_group 'customer' do | group | group.title = "Customer" group.description = "Custoemr records" group.icon = "icon-wrench" end Lanes::Screen.define "customer-maint" do | screen | screen.title = "Customer Maintenance" screen.icon = "icon-users" screen.group_id = "maint" screen.model_class = "Customer" screen.view_class = "Skr.Screens.CustomerMaint" screen.js = 'skr/screens/customer-maint.js' screen.css = 'skr/screens/customer-maint.css' end Lanes::Screen.define "sku-maint" do | screen | screen.title = "SKU Maintenance" screen.icon = "icon-gift" screen.group_id = "maint" screen.model_class = "Sku" screen.view_class = "Skr.Screens.SkuMaint" screen.js = "skr/screens/sku-maint.js" screen.css = "skr/screens/sku-maint.css" end Lanes::Screen.define "vendor-maint" do | screen | screen.title = "Vendor Maintenance" screen.icon = "icon-truck" screen.group_id = "maint" screen.model_class = "Vendor" screen.view_class = "Skr.Screens.VendorMaint" screen.js = "skr/screens/vendor-maint.js" screen.css = "skr/screens/vendor-maint.css" end Lanes::Screen.define "sales-order" do | screen | screen.title = "Sales Order" screen.description = "" screen.icon = "" screen.group_id = "customer" screen.model_class = "SalesOrder" screen.view_class = "Skr.Screens.SalesOrder" screen.js = "skr/screens/sales-order.js" screen.css = "skr/screens/sales-order.css" end