FIX_PLACEMENT_MAIL_SEND
This commit is contained in:
parent
83fe658718
commit
03aca3465e
@ -3764,7 +3764,7 @@ class LeadsController extends BaseController
|
|||||||
if(isset($propsal_and_insurer)) {
|
if(isset($propsal_and_insurer)) {
|
||||||
|
|
||||||
if (! empty($propsal_and_insurer[0])) {
|
if (! empty($propsal_and_insurer[0])) {
|
||||||
$parts = explode('-', $propsal_and_insurer[0], 2);
|
$parts = explode('-', $propsal_and_insurer, 2);
|
||||||
$proposal_key = $parts[0] ?? null;
|
$proposal_key = $parts[0] ?? null;
|
||||||
$insurer_key = $parts[1] ?? null;
|
$insurer_key = $parts[1] ?? null;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -4664,7 +4664,7 @@ function appendInsurerContact(data) {
|
|||||||
|
|
||||||
$.each(data, function(index, item) {
|
$.each(data, function(index, item) {
|
||||||
$('#placement_to').append($('<option>', {
|
$('#placement_to').append($('<option>', {
|
||||||
value: item.id,
|
value: item.contact_person_email,
|
||||||
text: item.contact_person_email
|
text: item.contact_person_email
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user