We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 237090e commit 9f91f82Copy full SHA for 9f91f82
2 files changed
app/views/items/show.html.erb
@@ -45,7 +45,7 @@
45
</tr>
46
<tr>
47
<th>Value Per Item</th>
48
- <td>$<%= @item.value_in_dollars || 0 %></td>
+ <td><%= dollar_value(@item.value_in_cents || 0 ) %></td>
49
50
51
<th>Quantity per Individual</th>
spec/requests/items_requests_spec.rb
@@ -348,7 +348,7 @@
348
expect(response.body).to include('NDBN Reporting Category')
349
expect(response.body).to include('Adult Incontinence')
350
expect(response.body).to include('Value Per Item')
351
- expect(response.body).to include('$200.0')
+ expect(response.body).to include('$200.00')
352
expect(response.body).to include('Quantity per Individual')
353
expect(response.body).to include('2000')
354
expect(response.body).to include('On hand minimum quantity')
0 commit comments