1
0
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:
Jonathan Rosenbaum 2015-02-08 07:34:47 +00:00
parent 4a562671ec
commit 82a2159fd4

View File

@ -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();
}