X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=app%2Fviews%2Fpurchase%2Freceipt.rhtml;h=87e1c150aea95a4798cdcbea21aca70d58ac9d83;hb=da871e3e27c31759e0d017c89ccf16a14db1a227;hp=d5054cfbb154c35eb9152a550897902c0f0ec92d;hpb=8aced6893e5ea362fe6f7460b9341a2dbe745025;p=cs356-p2-videostore.git diff --git a/app/views/purchase/receipt.rhtml b/app/views/purchase/receipt.rhtml index d5054cf..87e1c15 100644 --- a/app/views/purchase/receipt.rhtml +++ b/app/views/purchase/receipt.rhtml @@ -16,7 +16,7 @@ - <% if @debt %> + <% if not @debt.zero? %> Overdue Item Fees @@ -34,6 +34,13 @@ <%=h number_to_currency(item.price) %> <% end %> +<% end %> +<% if @bonus %> + + Bonus: <%=h @bonus.title %> + + - <%= number_to_currency(@bonus.calculated_price) %> + <% end %> Total