diff --git a/app/views/foodcourt/orders/_read_modal.html.erb b/app/views/foodcourt/orders/_read_modal.html.erb
index ac5de71c..e773d48b 100644
--- a/app/views/foodcourt/orders/_read_modal.html.erb
+++ b/app/views/foodcourt/orders/_read_modal.html.erb
@@ -223,16 +223,19 @@
Payment Options
-
-
-

-
-
Click here to pay with MMQR
-
+ <% mmqr = PaymentMethodSetting.find_by(payment_method: 'MMQR') %>
+ <% if mmqr.present? && mmqr.is_active %>
+
+
+

+
+
Click here to pay with MMQR
+
-
- (Or)
-
+
+ (Or)
+
+ <% end %>
Table No : <%=@table_no%>
-
<%if !@dining.nil?%><%= @dining.id%><%end%>
+
<%if !@dining.nil?%><%= @dining.id rescue "-" %><%end%>
Sale ID : <% if @sale_data %><%=@sale_data.sale_id %><% end %>
diff --git a/app/views/layouts/_read_modal.html.erb b/app/views/layouts/_read_modal.html.erb
index ca129a86..3aa29dab 100644
--- a/app/views/layouts/_read_modal.html.erb
+++ b/app/views/layouts/_read_modal.html.erb
@@ -185,6 +185,7 @@
}
+
+
@@ -223,21 +225,24 @@
Payment Options
-
-
-

-
-
Click here to pay with MMQR
-
-
-
-
+ <% mmqr = PaymentMethodSetting.find_by(payment_method: 'MMQR') %>
+ <% if mmqr.present? && mmqr.is_active %>
+
+
+

+
+
Click here to pay with MMQR
+
-
-
- (Or)
-
+
+ (Or)
+
+ <% end %>