Skip to content

fix(point-issue) update the equation for the perItemsPurchased#137

Merged
mas-iota merged 1 commit intomasterfrom
points-issue
Nov 24, 2024
Merged

fix(point-issue) update the equation for the perItemsPurchased#137
mas-iota merged 1 commit intomasterfrom
points-issue

Conversation

@AliAlaqrabawi3
Copy link
Copy Markdown
Contributor

No description provided.

var purchaseOptionValue = WidgetCode.application.settings.value;
if(purchaseOptionValue === 'perMoneySpent'){
$rootScope.$broadcast('POINTS_ADDED', {points: (currentView.amount * WidgetCode.application.pointsPerDollar) + WidgetCode.application.pointsPerVisit});
pointsAwarded = (currentView.amount * WidgetCode.application.pointsPerDollar) + WidgetCode.application.pointsPerVisit;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reduce code

@mas-iota mas-iota merged commit 9353d9a into master Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants