diff --git a/site/views/leases/invoice.ctp b/site/views/leases/invoice.ctp index 48974e8..317a638 100644 --- a/site/views/leases/invoice.ctp +++ b/site/views/leases/invoice.ctp @@ -61,14 +61,14 @@ function verifyRequest(formData, jqForm, options) { } // Terrible way to accomplish this... - for (var j = 0; j < 20; ++j) { - if (formData[i]['name'] == "data[Entry]["+j+"][amount]" && - !(formData[i]['value'] > 0)) { - //$("#debug").append('
Bad Amount'); - alert("Must enter a valid amount"); - return false; - } - } +/* for (var j = 0; j < 20; ++j) { */ +/* if (formData[i]['name'] == "data[Entry]["+j+"][amount]" && */ +/* !(formData[i]['value'] > 0)) { */ +/* //$("#debug").append('
Bad Amount'); */ +/* alert("Must enter a valid amount"); */ +/* return false; */ +/* } */ +/* } */ } //$("#debug").append('OK');