mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-23 01:03:23 -05:00
Changes check_number to undefined if it doesn't exist.
This commit is contained in:
parent
4a562671ec
commit
82a2159fd4
@ -624,7 +624,7 @@ $(function() {
|
|||||||
if ($(this).prop("checked") === true) {
|
if ($(this).prop("checked") === true) {
|
||||||
payment_type = $(this).val();
|
payment_type = $(this).val();
|
||||||
if (payment_type === "credit" || payment_type === "cash") {
|
if (payment_type === "credit" || payment_type === "cash") {
|
||||||
check_number = "";
|
check_number = undefined;
|
||||||
} else {
|
} else {
|
||||||
check_number = $("#check_number").val();
|
check_number = $("#check_number").val();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user