Subversion Repositories SmartDukaan

Rev

Rev 34168 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34168 Rev 35971
Line 177... Line 177...
177
            console.log(row);
177
            console.log(row);
178
 
178
 
179
            var onboardingId = $(row).find("td:eq(0)").text();
179
            var onboardingId = $(row).find("td:eq(0)").text();
180
            var comment = $(row).find("td:eq(7) input[type='text']").val();
180
            var comment = $(row).find("td:eq(7) input[type='text']").val();
181
            var language = $(row).find("td:eq(8) option:selected").val();
181
            var language = $(row).find("td:eq(8) option:selected").val();
182
            var approval = $(row).find("td:eq(10) option:selected").val();
182
            var approval = $(row).find("td:eq(9) option:selected").val();
183
 
183
 
184
            console.log("onboardingId" + onboardingId);
184
            console.log("onboardingId" + onboardingId);
185
            console.log("language" + language);
185
            console.log("language" + language);
186
            console.log("approval" + approval);
186
            console.log("approval" + approval);
187
            console.log("comment" + comment);
187
            console.log("comment" + comment);
Line 429... Line 429...
429
            prebookingListingObject['anniversaryDate'] = anniversaryDate
429
            prebookingListingObject['anniversaryDate'] = anniversaryDate
430
            prebookingListingObject['dob'] = dob
430
            prebookingListingObject['dob'] = dob
431
            prebookingListingObject['phoneNumber'] = phoneNumber
431
            prebookingListingObject['phoneNumber'] = phoneNumber
432
 
432
 
433
 
433
 
434
            prebookingListingObject['kyc'] = kycCompleted
434
            prebookingListingObject['kyc'] = kycCompleted ? parseInt(kycCompleted) : 0
435
 
435
 
436
 
436
 
437
            prebookingListingObject['businessType'] = businessType
437
            prebookingListingObject['businessType'] = businessType || null
438
 
438
 
439
 
439
 
440
            var jsonObject = JSON.stringify(prebookingListingObject);
440
            var jsonObject = JSON.stringify(prebookingListingObject);
441
            console.log("prebookingListingObject" + prebookingListingObject);
441
            console.log("prebookingListingObject" + prebookingListingObject);
442
            console.log("jsonObject" + jsonObject);
442
            console.log("jsonObject" + jsonObject);