Merge branch 'dev' of bitbucket.org:jubilian/nhance into dev
This commit is contained in:
commit
f4e2fa3a21
@ -1332,6 +1332,7 @@
|
|||||||
|
|
||||||
function assignLeadData() {
|
function assignLeadData() {
|
||||||
const lead_data = <?= json_encode(json_decode($lead_data['custom_fields'])) ?>;
|
const lead_data = <?= json_encode(json_decode($lead_data['custom_fields'])) ?>;
|
||||||
|
var clientName = <?= isset($lead_data['client_name']) ? json_encode($lead_data['client_name']) : ""?>;
|
||||||
var client_type = <?= isset($lead_data['client_type']) ? $lead_data['client_type'] : "" ?>;
|
var client_type = <?= isset($lead_data['client_type']) ? $lead_data['client_type'] : "" ?>;
|
||||||
var mobile = <?= isset($lead_data['client_type']) ? $lead_data['client_type'] : "" ?>;
|
var mobile = <?= isset($lead_data['client_type']) ? $lead_data['client_type'] : "" ?>;
|
||||||
var email = <?= isset($lead_data['client_type']) ? $lead_data['client_type'] : "" ?>;
|
var email = <?= isset($lead_data['client_type']) ? $lead_data['client_type'] : "" ?>;
|
||||||
@ -1358,7 +1359,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$("#client_type").val(client_type).trigger("change");
|
$("#client_type").val(client_type).trigger("change");
|
||||||
$("#insured_name").val(insured_name);
|
$("#insured_name").val(clientName);
|
||||||
$("#address1").val(lead_data.address);
|
$("#address1").val(lead_data.address);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
"botman/driver-web": "^1.5",
|
"botman/driver-web": "^1.5",
|
||||||
"dompdf/dompdf": "^2.0",
|
"dompdf/dompdf": "^2.0",
|
||||||
"firebase/php-jwt": "^6.10",
|
"firebase/php-jwt": "^6.10",
|
||||||
"google/apiclient": "^2.18",
|
"google/apiclient": "^2.15.0",
|
||||||
"kreait/firebase-php": "^7.0",
|
"kreait/firebase-php": "^7.0",
|
||||||
"laminas/laminas-escaper": "^2.9",
|
"laminas/laminas-escaper": "^2.9",
|
||||||
"php-amqplib/php-amqplib": "^2.8",
|
"php-amqplib/php-amqplib": "^2.8",
|
||||||
|
|||||||
@ -16,6 +16,7 @@ class ExcelSanitizeHelperTest extends TestCase
|
|||||||
"validString" => "HelloWorld",
|
"validString" => "HelloWorld",
|
||||||
"withNonPrintable" => "71030034240400000016",
|
"withNonPrintable" => "71030034240400000016",
|
||||||
"withWhitespace" => " Trim me ",
|
"withWhitespace" => " Trim me ",
|
||||||
|
"withNonInBetween" => "Santosh\u00a0Badatya",
|
||||||
"nonStringValue" => 'Hello
|
"nonStringValue" => 'Hello
|
||||||
World',
|
World',
|
||||||
];
|
];
|
||||||
@ -23,6 +24,7 @@ World',
|
|||||||
"validString" => "HelloWorld",
|
"validString" => "HelloWorld",
|
||||||
"withNonPrintable" => "71030034240400000016",
|
"withNonPrintable" => "71030034240400000016",
|
||||||
"withWhitespace" => "Trim me",
|
"withWhitespace" => "Trim me",
|
||||||
|
"withNonInBetween" => "Santosh Badatya",
|
||||||
"nonStringValue" => 'HelloWorld',
|
"nonStringValue" => 'HelloWorld',
|
||||||
];
|
];
|
||||||
$result = ExcelSanitizeHelper::sanitizeArrayData($input);
|
$result = ExcelSanitizeHelper::sanitizeArrayData($input);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user