update discount for first bill

This commit is contained in:
Aung Myo
2018-02-06 11:15:43 +06:30
parent 90e30440c1
commit 76b1cda530

View File

@@ -476,7 +476,7 @@
receipt_no = ($("#receipt_no").html()).trim();
}
discount="<%= @membership.discount%>"\
discount="<%= @membership.discount%>"
if ($("#server_mode").val() != "cloud") { // first bill not used in cloud
if (discount) {
if(checkReceiptNoInFirstBillData(receipt_no,"")){