Sha256: 2cb88d6cb1b8a15b0082c3c924eb7f5f9ad2b42ad9b9dc5847fda7dbba6619a5
Contents?: true
Size: 1.47 KB
Versions: 1
Compression:
Stored size: 1.47 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 defaultSort: 'visible_id', sortAscending: false 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: 150} { 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-0.4.0 | client/skr/components/SalesOrderFinder.cjsx |