Skip to content

Commit f83afc8

Browse files
mrsaicharan1niranjan94
authored andcommitted
fix: Fix tax on donation tickets (#3260)
1 parent 8824f5c commit f83afc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/ticket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default ModelBase.extend({
5252
* This attribute computes total ticket price payable after inclusion
5353
* of additional taxes on the base ticket price
5454
*/
55-
ticketPriceWithTax: computed('event.tax.isTaxIncludedInPrice', 'event.tax.rate', function() {
55+
ticketPriceWithTax: computed('price', 'event.tax.isTaxIncludedInPrice', 'event.tax.rate', function() {
5656
let taxType = this.event.get('tax.isTaxIncludedInPrice');
5757
if (!taxType) {
5858
return ((1 + this.event.get('tax.rate') / 100) * this.price).toFixed(2);

0 commit comments

Comments
 (0)