mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 17:03:22 -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) {
|
||||
payment_type = $(this).val();
|
||||
if (payment_type === "credit" || payment_type === "cash") {
|
||||
check_number = "";
|
||||
check_number = undefined;
|
||||
} else {
|
||||
check_number = $("#check_number").val();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user