update rebate for credit and redeem

This commit is contained in:
Aung Myo
2017-11-15 17:54:59 +06:30
parent ef253cd1dc
commit bf0a8135f6
6 changed files with 31 additions and 18 deletions

View File

@@ -174,9 +174,10 @@
data: {redeem_amount:redeem_amount,membership_id:membership_id,sale_id:sale_id},
success: function(result){
if(result.status == true){
console.log(result)
swal({
title: "Information!",
text: result.status,
text: result.message,
}, function () {
window.location.href = '/origami/sale/'+ sale_id + "/payment"
});