From e5ccf7e5cb983953e93eca774b73a9278a9aad4b Mon Sep 17 00:00:00 2001 From: phyusin Date: Wed, 27 Jun 2018 13:24:18 +0630 Subject: [PATCH] check sale item status --- .../origami/product_commissions/load_commissioners.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/origami/product_commissions/load_commissioners.html.erb b/app/views/origami/product_commissions/load_commissioners.html.erb index 355b4501..7e5ecabe 100755 --- a/app/views/origami/product_commissions/load_commissioners.html.erb +++ b/app/views/origami/product_commissions/load_commissioners.html.erb @@ -73,6 +73,7 @@ # Can't check for discount unless sale_item.price == 0 %> + <% if sale_item.status.nil? %> <%= count %> @@ -90,6 +91,7 @@ <% + end end end %>