button disabled

This commit is contained in:
Myat Zin Wai Maw
2019-09-12 11:03:25 +06:30
parent abd13b91cb
commit 719d5637c2
3 changed files with 7 additions and 5 deletions

View File

@@ -1265,6 +1265,7 @@
closeOnConfirm: false
}, function (isConfirm) {
if (isConfirm) {
$('.confirm').prop("disabled",true);
var sale_id = $("#sale_id").val();//"<%= @obj_sale.sale_id rescue "" %>"
var ajax_url = "/origami/sale/" + sale_id + '/cashier/void';
var remark = $("#remark").val();