Commit d4892066 by Jansa Jose

changes

parent 20613c4f
...@@ -1047,13 +1047,17 @@ function viewCustomQuote(thisObj){ ...@@ -1047,13 +1047,17 @@ function viewCustomQuote(thisObj){
var html ='', var html ='',
imgCount = 0, imgCount = 0,
issueHtml = '', issueHtml = '',
optionalHtml = '', optionalHtml = '';
custdescription = jQuery.parseJSON(booking_data['custom_service_quote']);
var issues_selected = ''; 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'] != ' -- '){ 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']); 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); // console.log(custdescription);
if(issues_selected != ''){ if(issues_selected != ''){
var comma = ''; var comma = '';
...@@ -1138,13 +1142,17 @@ jQuery('[id="showBookinDetails"]').on('click',function() { ...@@ -1138,13 +1142,17 @@ jQuery('[id="showBookinDetails"]').on('click',function() {
var html = '', var html = '',
imgCount = 0, imgCount = 0,
issueHtml = '', issueHtml = '',
optionalHtml = '', optionalHtml = '';
optional_data = jQuery.parseJSON(booking_data['custom_issue_data']);
var issues_selected = ''; 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'] != ' -- '){ 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']); 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 != ''){ if(issues_selected != ''){
var comma = ''; 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