Sha256: 9d5197a5a73e7a5b5a8989ed460c45647ff566c77cd78709779f61f9c8784fb7
Contents?: true
Size: 1.41 KB
Versions: 2
Compression:
Stored size: 1.41 KB
Contents
class Skr.Components.SalesOrderFinder extends Lanes.React.Component propTypes: onModelSet: React.PropTypes.func commands: React.PropTypes.object name: React.PropTypes.string autoFocus: React.PropTypes.bool getDefaultProps: -> editing: true autoFocus: true, name: 'visible_id', label: 'Sales Order #' dataObjects: query: -> new Lanes.Models.Query({ initialFieldIndex: 1, title: 'Sales Order', autoRetrieve: true syncOptions: Lanes.Models.Query.mergedSyncOptions( @props.syncOptions, { with: [ 'with_details' ] } ) src: Skr.Models.SalesOrder, fields: [ { id: 'id', visible: false } { id: 'visible_id', title: 'SO #', fixedWidth: 100} { id: 'customer_code', title: 'Customer', fixedWidth: 120} { id: 'order_date', fixedWidth: 120} { id: 'po_num', title: 'PO', fixedWidth: 120} { id: 'notes', flex: 1} { id: 'order_total', title: 'Total', textAlign: 'right', fixedWidth: 120, format: Lanes.u.format.currency } ] }) render: -> <LC.RecordFinder ref="finder" sm=2 {...@props} query={@query} />
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stockor-0.3.0 | client/skr/components/SalesOrderFinder.cjsx |
stockor-0.2 | client/skr/components/SalesOrderFinder.cjsx |