config/screens.rb in stockor-0.1.5 vs config/screens.rb in stockor-0.1.7
- old
+ new
@@ -1,17 +1,36 @@
-Lanes::Screen.define_group 'customer' do | group |
+Lanes::Screen.define_group 'maint' do | group |
group.title = "Customers"
group.description = "Maintain records related to Customers"
group.icon = "icon-users"
end
Lanes::Screen.define "customer-maint" do | screen |
screen.title = "Customer Maintenance"
screen.icon = "icon-wrench2"
- screen.group_id = "customer"
+ 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-wrench2"
+ 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-wrench2"
+ 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