Sha256: cbda79041547361409d573089557773d74d40de6ef3a13bc55081153dce693fa
Contents?: true
Size: 793 Bytes
Versions: 1
Compression:
Stored size: 793 Bytes
Contents
class Skr.Components.SystemSettings extends Lanes.React.Component dataObjects: banks: -> Skr.Models.BankAccount.Collection.fetch() setBankAccount: (value) -> Lanes.config.system_settings .setValueForExtension('skr', 'bank_account_id', value.id) @forceUpdate() getBankAccount: -> id = Lanes.config.system_settings.forExtension('skr').bank_account_id if id then {id} else undefined render: -> <BS.Row className="skr-system-settings"> <SC.BankAccountFinder selectField sm=3 label="Default Bank Account" choices={this.banks.models} setSelection={@setBankAccount} getSelection={@getBankAccount} /> </BS.Row>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-0.2 | client/skr/components/SystemSettings.cjsx |