From 27ae67614bcd03c88a91173cc88ec03c984683c1 Mon Sep 17 00:00:00 2001 From: aungthetkhaing Date: Thu, 19 Jun 2025 22:11:43 +0630 Subject: [PATCH] Revert "fix: conditional rendering mmqr in modal" This reverts commit e3b51e613709ff061492feda9a1529ae40f64883. --- .../foodcourt/orders/_read_modal.html.erb | 19 ++++++++----------- app/views/layouts/_read_modal.html.erb | 17 +++++++---------- 2 files changed, 15 insertions(+), 21 deletions(-) diff --git a/app/views/foodcourt/orders/_read_modal.html.erb b/app/views/foodcourt/orders/_read_modal.html.erb index 3eadc4e7..a1ed341c 100644 --- a/app/views/foodcourt/orders/_read_modal.html.erb +++ b/app/views/foodcourt/orders/_read_modal.html.erb @@ -170,19 +170,16 @@
- <% mmqr_payment = PaymentMethodSetting.find_by(payment_method: 'MMQR')%> - <% if mmqr_payment&.present? && mmqr_payment&.is_active == 1 %> -
-
- -
-
Click here to pay with MMQR
+
+
+
-
- (Or) -
- <% end %> +
Click here to pay with MMQR
+
+
+ (Or) +
- <% mmqr_payment = PaymentMethodSetting.find_by(payment_method: 'MMQR')%> - <% if mmqr_payment&.present? && mmqr_payment&.is_active == 1 %> -
-
+
+
-
-
Click here to pay with MMQR
-
- (Or) -
- <% end %> +
Click here to pay with MMQR
+
+
+ (Or) +