update table invoice
This commit is contained in:
@@ -162,8 +162,13 @@ function checkReceiptNoInFirstBillData(receipt_no,payment) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (payment) {
|
||||
return json_data[0]["payment"];
|
||||
if (json_data.length>0) {
|
||||
return json_data[0]["payment"];
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}else{
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user