clickable checked

This commit is contained in:
phyusin
2018-06-01 14:04:46 +06:30
parent 5f95d2a769
commit a1ab3fac47
3 changed files with 12 additions and 2 deletions

View File

@@ -308,6 +308,9 @@ var cashier_type = "<%= @cashier_type %>";
// Calculate Other Charges for Payment
$("#charge_other").on('click', function(e){
e.preventDefault();
if($('#charge_other').is(":visible")) {
$('#charge_other').prop("disabled",true);
}
var sale_id = $('#sale-id').text();
var sub_total = $('#order-sub-total').text();
var other_charges_items = JSON.stringify(get_other_item_rows());