diff --git a/app/views/line_items/_issue_line_items.html.erb b/app/views/line_items/_issue_line_items.html.erb
new file mode 100644
index 0000000..6026027
--- /dev/null
+++ b/app/views/line_items/_issue_line_items.html.erb
@@ -0,0 +1,40 @@
+<% if @issue.line_items.any? %>
+
+
+
Line Items
+
+
+
+
+ | Description |
+ Quantity |
+ Unit Price |
+ Total |
+
+
+
+
+ <% total = 0 %>
+
+ <% @issue.line_items.each do |item| %>
+ <% line_total = item.quantity.to_f * item.unit_price.to_f %>
+ <% total += line_total %>
+
+
+ | <%= h item.description %> |
+ <%= item.quantity %> |
+ <%= number_to_currency(item.unit_price) %> |
+ <%= number_to_currency(line_total) %> |
+
+ <% end %>
+
+
+
+
+ | Total |
+ <%= number_to_currency(total) %> |
+
+
+
+
+<% end %>
\ No newline at end of file
diff --git a/lib/redmine_qbo_line_items/hooks/view_hook_listener.rb b/lib/redmine_qbo_line_items/hooks/view_hook_listener.rb
index 9470128..cefac6a 100644
--- a/lib/redmine_qbo_line_items/hooks/view_hook_listener.rb
+++ b/lib/redmine_qbo_line_items/hooks/view_hook_listener.rb
@@ -30,6 +30,7 @@ module RedmineQboLineItems
)
end
+ render_on :view_issues_show_description_bottom , partial: 'line_items/issue_line_items'
end
end