mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-04-02 07:01:59 -04:00
implemented some basic CRUD for QBO Items
This commit is contained in:
26
app/views/items/show.html.erb
Normal file
26
app/views/items/show.html.erb
Normal file
@@ -0,0 +1,26 @@
|
||||
<h2><%= @item.name %></h2>
|
||||
|
||||
<p>
|
||||
<strong>SKU:</strong>
|
||||
<%= @item.sku %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Description:</strong>
|
||||
<%= @item.description %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Unit Price:</strong>
|
||||
<%= number_to_currency(@item.unit_price) %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Active:</strong>
|
||||
<%= @item.active ? "Yes" : "No" %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= link_to "Edit", edit_item_path(@item), class: "icon icon-edit" %>
|
||||
<%= link_to "Back", items_path %>
|
||||
</p>
|
||||
Reference in New Issue
Block a user