Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item View - Change value from cents to dollars #4839

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ZahBenjamin
Copy link

Resolves #4790

Description

Change value from cents to dollars in item view

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

To test run the rspec file spec/requests/iitems_requests_spec.rb

image

Copy link
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

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

Hey @ZahBenjamin,
Welcome aboard!

We need a slight format change to be able to put this through.

Thanks!

@@ -204,7 +204,7 @@
expect(response.body).to include('Category')
expect(response.body).to include('CURRENTCATEGORY')
expect(response.body).to include('Value Per Item')
expect(response.body).to include('20000')
expect(response.body).to include('$200.0')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Dollar currency is always shown with two decimal places -- so I would expect this to be $200.00, not merely $200.0.

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.

Item view -- change Value Per Item to Value per Item in dollars
2 participants