update feedback testing

This commit is contained in:
Aung Myo
2017-11-09 17:25:54 +06:30
parent cb91ad307a
commit f8cd712ad1
18 changed files with 74 additions and 48 deletions

View File

@@ -403,7 +403,7 @@
$( "#loading_wrapper" ).hide();
if($('#balance').text() < 0){
swal({
title: "Infomation!",
title: "Information!",
text: 'Changed amount ' + $('#balance').text() * (-1),
}, function () {
window.location.href = '/origami';
@@ -411,7 +411,7 @@
}else{
$('#pay').text("Pay");
swal({
title: "Infomation!",
title: "Information!",
text: 'Thank You !',
}, function () {
window.location.href = '/origami';
@@ -424,7 +424,7 @@
$('#void').on('click',function () {
swal({
title: "Infomation!",
title: "Information!",
text: 'Are you sure want to Void !',
}, function () {
var sale_id = $('#sale_id').text();
@@ -472,7 +472,7 @@
if (cash > 0) {
swal({
title: "Infomation!",
title: "Information!",
text: 'Thank You !',
}, function () {
window.location.href = '/origami';