Last active
April 28, 2018 02:50
-
-
Save robertz/c5cdc1534c226129e1b8ff2fb1ff13ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
data () { | |
return { | |
offset: 0, | |
tz: 'America/New_York', | |
} | |
}, | |
computed: { | |
payees () { // may be referenced as this.payees | |
return this.$store.state.payees; | |
}, | |
activePayees () { | |
return this.$store.state.payees.filter((payee) => return payee.active === true); | |
}, | |
payments () { // may be referenced as this.payments | |
return this.$store.state.payments; | |
}, | |
forecast () { // may be referenced as this.forecast.outlook -> bright | |
// run calculations | |
return { outlook: 'bright' }; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment