appointmentDate->format('Y-m-d'));
$fromCompanyId = isset($authData['company']['id']) ? $authData['company']['id'] : null;
$fromProfileId = isset($authData['id']) ? $authData['id'] : null;
$toCompanyId = $fromCompanyId;
$toProfileId = $record->valuation->valuatedBy;
$email = $record->valuation->email;
$mobile = null;
$subject = "Notification of successful submission of vehicle";
$templateName = 'public-general';
$params['body'] = '
';
$params['body'] .= $record->valuation->stock->company->name . ' ( ' . null != $record->valuation->stock->company->contact->office ? null != $record->valuation->stock->company->contact->office : $record->valuation->stock->company->contact->mobile . ' ) ';
$params['body'] .= ' |
|
Date / Time:
|
' . $appointmentDate->format('Y-m-d') . '
|
' . $record->timeSlot->timeSlotDisplayName . '
|
|
Your Address:
|
' . $record->valuation->customerAddressStreet . '
|
' . $record->valuation->customerAddressStreetName . '
|
' . $record->valuation->customerAddressSuburb . '
|
' . $record->valuation->customerAddressCity . '
|
' . $record->valuation->customerAddressPostalCode . '
|
|
Email:
|
' . $record->valuation->email . '
|