From 4d3de51e72056822a8102603bf6ca7c74e1c30a7 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Thu, 6 Jul 2017 13:14:35 +0630 Subject: [PATCH] update msg for unsuccessful rebate --- app/views/origami/payments/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb index 5eeb8c36..9b04e38e 100644 --- a/app/views/origami/payments/show.html.erb +++ b/app/views/origami/payments/show.html.erb @@ -361,7 +361,7 @@ $( document ).ready(function() { if($('#balance').text() < 0){ $.confirm({ title: 'Hi!', - content: 'Changed amount ' + $('#balance').text() * (-1) + '\n\n' + msg, + content: 'Changed amount ' + $('#balance').text() * (-1), buttons: { confirm: { text: 'Ok', @@ -378,7 +378,7 @@ $( document ).ready(function() { $.confirm({ title: 'Hi!', - content: 'Thank you !'+'\n\n'+msg, + content: 'Thank you !', buttons: { confirm: { text: 'Ok',