update show for foc
This commit is contained in:
@@ -455,15 +455,10 @@ $('#foc').click(function() {
|
|||||||
url: "<%= origami_payment_foc_path %>",
|
url: "<%= origami_payment_foc_path %>",
|
||||||
data: params,
|
data: params,
|
||||||
success:function(result){
|
success:function(result){
|
||||||
localStorage.removeItem("cash");
|
|
||||||
if (result.status) {
|
|
||||||
var msg = result.message;
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
var msg = '';
|
|
||||||
}
|
|
||||||
$( "#loading_wrapper" ).hide();
|
$( "#loading_wrapper" ).hide();
|
||||||
|
|
||||||
|
if (cash > 0) {
|
||||||
$.confirm({
|
$.confirm({
|
||||||
title: 'Infomation!',
|
title: 'Infomation!',
|
||||||
content: 'Thank you !',
|
content: 'Thank you !',
|
||||||
@@ -477,6 +472,7 @@ $('#foc').click(function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user