Skip to content
Discussion options

You must be logged in to vote

Your mistyped this

@column()
public get total_net_of_taxes(): number {
  return this.total - this.charges
}

try this

@computed()
public get total_net_of_taxes(): number {
  return this.total - this.charges
}

and also my one more suggestion, try to use the camel case function name
like totalNetOfTaxes

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@betaWeb
Comment options

@crbast
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by betaWeb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants