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

@@ -387,7 +387,7 @@
success:function(result){
$("#loading_wrapper").hide();
swal({
title: "Infomation!",
title: "Information!",
text: result.status,
}, function () {
if(result.table_type == "Table"){
@@ -410,7 +410,7 @@
// Selected Items
var sale_items = get_selected_sale_items();
if(sale_items.length == 0){
//swal("Infomation!", "You have no selected item!");
//swal("Information!", "You have no selected item!");
swal ( "Oops" , "You have no selected item!" , "error" );
}
@@ -430,7 +430,7 @@
data: params,
success: function(result){
swal({
title: "Infomation!",
title: "Information!",
text: result.status,
type: "success",
}, function () {
@@ -453,7 +453,7 @@
url: "/origami/" + sale_id + "/remove_all_discount",
success: function(result){
swal({
title: "Infomation!",
title: "Information!",
text: result.status,
type: "success",
}, function () {
@@ -497,7 +497,7 @@
btn_color = 'red'
}
swal({
title: "Infomation!",
title: "Information!",
text: result.status,
confirmButtonText: 'OK',
confirmButtonColor: btn_color,