diff --git a/app/views/reports/receipt_no_detail/index.html.erb b/app/views/reports/receipt_no_detail/index.html.erb
index 50ed0544..08b61b89 100755
--- a/app/views/reports/receipt_no_detail/index.html.erb
+++ b/app/views/reports/receipt_no_detail/index.html.erb
@@ -130,22 +130,24 @@
<% sale_payments = SalePayment.get_sale_payments(result) %>
<% if sale_payments.length > 0%>
<% sale_payments.each do |rec| %>
-
- | |
- |
- Payment <%= rec.payment_method.upcase %> |
- <%= rec.payment_amount %> ( <%= rec.payment_status %> ) |
- |
-
-
- <% if !rec.payment_reference.nil? %>
+ <%if rec.payment_amount.to_f > 0 %>
| |
|
- Payment Ref. |
- <%= rec.payment_reference %> |
+ Payment <%= rec.payment_method.upcase %> |
+ <%= rec.payment_amount %> ( <%= rec.payment_status %> ) |
|
-
+
+
+ <% if !rec.payment_reference.nil? %>
+
+ | |
+ |
+ Payment Ref. |
+ <%= rec.payment_reference %> |
+ |
+
+ <% end %>
<% end %>
<% end %>
<% if result.amount_changed != 0 && !result.amount_changed.nil? %>
diff --git a/app/views/reports/receipt_no_detail/index.xls.erb b/app/views/reports/receipt_no_detail/index.xls.erb
index 509aabbc..a475fdee 100755
--- a/app/views/reports/receipt_no_detail/index.xls.erb
+++ b/app/views/reports/receipt_no_detail/index.xls.erb
@@ -122,22 +122,24 @@
<% sale_payments = SalePayment.get_sale_payments(result) %>
<% if sale_payments.length > 0%>
<% sale_payments.each do |rec| %>
-
- | |
- |
- Payment <%= rec.payment_method.upcase %> |
- <%= rec.payment_amount %> ( <%= result.payment_status %> ) |
- |
-
-
- <% if !rec.payment_reference.nil? %>
+ <%if rec.payment_amount.to_f > 0 %>
| |
|
- Payment Ref. |
- <%= rec.payment_reference %> |
+ Payment <%= rec.payment_method.upcase %> |
+ <%= rec.payment_amount %> ( <%= result.payment_status %> ) |
|
-
+
+
+ <% if !rec.payment_reference.nil? %>
+
+ | |
+ |
+ Payment Ref. |
+ <%= rec.payment_reference %> |
+ |
+
+ <% end %>
<% end %>
<% end %>
<% if result.amount_changed != 0 && !result.amount_changed.nil? %>