update first bill

This commit is contained in:
Aung Myo
2018-07-23 12:05:45 +06:30
parent 1895936f38
commit eca3ee4637
2 changed files with 8 additions and 2 deletions

View File

@@ -936,6 +936,8 @@
confirmButtonText: "Yes, print it!",
closeOnConfirm: false
}, function (isConfirm) {
$('.confirm').off("click touchstart touchend");
$('.confirm').attr("disabled","disabled");
if (isConfirm) {
var sale_id = $('#sale_id').val();
var ajax_url = "/origami/sale/" + sale_id + "/first_bill";