From 1324f381d13f4149bd1eab5bc6d6e7b66d2a29dd Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Mon, 5 Feb 2018 11:21:52 +0630 Subject: [PATCH] update quick service payment view --- app/views/origami/credit_payments/index.html.erb | 2 +- app/views/origami/home/index.html.erb | 4 ++-- app/views/origami/jcb/index.html.erb | 2 +- app/views/origami/master/index.html.erb | 2 +- app/views/origami/mpu/index.html.erb | 2 +- app/views/origami/others_payments/index.html.erb | 4 ++-- app/views/origami/payments/show.html.erb | 3 +++ app/views/origami/paypar_payments/index.html.erb | 2 +- app/views/origami/redeem_payments/index.html.erb | 2 +- app/views/origami/unionpay/index.html.erb | 2 +- app/views/origami/visa/index.html.erb | 2 +- app/views/origami/voucher/index.html.erb | 2 +- 12 files changed, 16 insertions(+), 13 deletions(-) diff --git a/app/views/origami/credit_payments/index.html.erb b/app/views/origami/credit_payments/index.html.erb index 827ae6d4..d92ad452 100755 --- a/app/views/origami/credit_payments/index.html.erb +++ b/app/views/origami/credit_payments/index.html.erb @@ -111,7 +111,7 @@
- +
diff --git a/app/views/origami/home/index.html.erb b/app/views/origami/home/index.html.erb index 3ed44abc..4b32c515 100755 --- a/app/views/origami/home/index.html.erb +++ b/app/views/origami/home/index.html.erb @@ -123,8 +123,8 @@ <%= t("views.btn.back") %> <%if current_login_employee.role == "administrator" || current_login_employee.role == "manager" %> - + <%end%> <%if current_login_employee.role != "waiter" %> diff --git a/app/views/origami/jcb/index.html.erb b/app/views/origami/jcb/index.html.erb index 945ac11c..837c9f43 100755 --- a/app/views/origami/jcb/index.html.erb +++ b/app/views/origami/jcb/index.html.erb @@ -114,7 +114,7 @@
- +
diff --git a/app/views/origami/master/index.html.erb b/app/views/origami/master/index.html.erb index 66d19bb5..f5c8f06b 100755 --- a/app/views/origami/master/index.html.erb +++ b/app/views/origami/master/index.html.erb @@ -115,7 +115,7 @@
- +
diff --git a/app/views/origami/mpu/index.html.erb b/app/views/origami/mpu/index.html.erb index 2c00bf2e..f40ce252 100755 --- a/app/views/origami/mpu/index.html.erb +++ b/app/views/origami/mpu/index.html.erb @@ -116,7 +116,7 @@
- +
diff --git a/app/views/origami/others_payments/index.html.erb b/app/views/origami/others_payments/index.html.erb index 7c22ad03..a6a13a77 100755 --- a/app/views/origami/others_payments/index.html.erb +++ b/app/views/origami/others_payments/index.html.erb @@ -21,7 +21,7 @@
- +
@@ -51,6 +51,6 @@ }) $('#back').on('click',function(){ - window.location.href = '/origami/sale/<%= @sale_id %>/payment/'; + window.location.href = '/origami/sale/<%= @sale_id %>/<%= @cashier_type %>/payment/'; }) diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb index d73a7ed6..ff7ceacc 100755 --- a/app/views/origami/payments/show.html.erb +++ b/app/views/origami/payments/show.html.erb @@ -295,6 +295,9 @@ + +
\ No newline at end of file diff --git a/app/views/origami/redeem_payments/index.html.erb b/app/views/origami/redeem_payments/index.html.erb index 5698eb41..1d29e563 100755 --- a/app/views/origami/redeem_payments/index.html.erb +++ b/app/views/origami/redeem_payments/index.html.erb @@ -103,7 +103,7 @@
- +
diff --git a/app/views/origami/unionpay/index.html.erb b/app/views/origami/unionpay/index.html.erb index e1425947..5dee20f1 100755 --- a/app/views/origami/unionpay/index.html.erb +++ b/app/views/origami/unionpay/index.html.erb @@ -115,7 +115,7 @@
- +
diff --git a/app/views/origami/visa/index.html.erb b/app/views/origami/visa/index.html.erb index 49c2e23d..2970ba44 100755 --- a/app/views/origami/visa/index.html.erb +++ b/app/views/origami/visa/index.html.erb @@ -115,7 +115,7 @@
- +
diff --git a/app/views/origami/voucher/index.html.erb b/app/views/origami/voucher/index.html.erb index 52dc64d7..0d349116 100755 --- a/app/views/origami/voucher/index.html.erb +++ b/app/views/origami/voucher/index.html.erb @@ -92,7 +92,7 @@
- +