change tax after first bill

This commit is contained in:
Thein Lin Kyaw
2020-08-04 11:52:35 +06:30
parent ffb8e56031
commit 51bb2d0fcf

View File

@@ -818,10 +818,8 @@
if ($("#server_mode").val() != "cloud") { // first bill not used in cloud if ($("#server_mode").val() != "cloud") { // first bill not used in cloud
if (discount) { if (discount) {
if(checkReceiptNoInFirstBillData(receipt_no,"")){ if(checkReceiptNoInFirstBillData(receipt_no,"")){
$("button.change_tax").hide();
$("#pay").show(); $("#pay").show();
}else{ }else{
$("button.change_tax").show();
$("#pay").hide(); $("#pay").hide();
} }
} }