Commit d4892066 by Jansa Jose

changes

parent 20613c4f
......@@ -1047,13 +1047,17 @@ function viewCustomQuote(thisObj){
var html ='',
imgCount = 0,
issueHtml = '',
optionalHtml = '',
custdescription = jQuery.parseJSON(booking_data['custom_service_quote']);
optionalHtml = '';
var issues_selected = '';
if(booking_data['issues_selected'] != '' && booking_data['issues_selected'] != null && booking_data['issues_selected'] != undefined && booking_data['issues_selected'] != 'null' && booking_data['issues_selected'] != 'undefined' && booking_data['issues_selected'] != ' -- '){
issues_selected = jQuery.parseJSON(booking_data['issues_selected']);
}
var custdescription = '';
if(booking_data['custom_service_quote'] != '' && booking_data['custom_service_quote'] != null && booking_data['custom_service_quote'] != undefined && booking_data['custom_service_quote'] != 'null' && booking_data['custom_service_quote'] != 'undefined' && booking_data['custom_service_quote'] != ' -- '){
custdescription = jQuery.parseJSON(booking_data['custom_service_quote']);
}
// console.log(custdescription);
if(issues_selected != ''){
var comma = '';
......@@ -1138,13 +1142,17 @@ jQuery('[id="showBookinDetails"]').on('click',function() {
var html = '',
imgCount = 0,
issueHtml = '',
optionalHtml = '',
optional_data = jQuery.parseJSON(booking_data['custom_issue_data']);
optionalHtml = '';
var issues_selected = '';
if(booking_data['issues_selected'] != '' && booking_data['issues_selected'] != null && booking_data['issues_selected'] != undefined && booking_data['issues_selected'] != 'null' && booking_data['issues_selected'] != 'undefined' && booking_data['issues_selected'] != ' -- '){
issues_selected = jQuery.parseJSON(booking_data['issues_selected']);
}
var optional_data = '';
if(booking_data['custom_issue_data'] != '' && booking_data['custom_issue_data'] != null && booking_data['custom_issue_data'] != undefined && booking_data['custom_issue_data'] != 'null' && booking_data['custom_issue_data'] != 'undefined' && booking_data['custom_issue_data'] != ' -- '){
optional_data = jQuery.parseJSON(booking_data['custom_issue_data']);
}
if(issues_selected != ''){
var comma = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment