client/skr/screens/sku-maint/SkuMaint.coffee in stockor-0.1.7 vs client/skr/screens/sku-maint/SkuMaint.coffee in stockor-0.1.8
- old
+ new
@@ -1,10 +1,15 @@
class Skr.Screens.SkuMaint extends Skr.Screens.Base
mixins:[
- Skr.Screens.Mixins.Editing
+ Lanes.Screens.Mixins.Editing
]
- useFormBindings: true
+
+ subviews:
+ glacct:
+ component: 'SelectField'
+ model: 'model'
+ options: { association: 'gl_asset_account', mappings: { title: 'combined_name' } }
finderOptions: ->
modelClass: Skr.Models.Sku
title: 'Find SKU',
invalid_chars: Skr.Models.Mixins.CodeField.invalidChars