mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Another round of testing with different email adderss
This commit is contained in:
@@ -72,7 +72,7 @@ class CreatePerfexCRMInvoiceProcessor
|
||||
$invoiceItems = [];
|
||||
|
||||
$email = $supplier->employees()->first()->email;
|
||||
$email = 'dillon36@yahoo.com'; //cief TODO: To be updated to user actual email address
|
||||
$email = 'dillon37@yahoo.com'; //cief TODO: To be updated to user actual email address
|
||||
$result = $this->convertsPerfexCRMLeadToCustomer->execute($email);
|
||||
if(isset($result->payload)){
|
||||
$clientId = $result->payload['client_id'];
|
||||
|
||||
@@ -49,7 +49,7 @@ class TransactionToPerfexCRMProcessor
|
||||
*/
|
||||
public function execute(Transaction $model, int $status)
|
||||
{
|
||||
$companyName = "dillon36"; //cief TODO: To be updated by removing this line to user actual company name
|
||||
$companyName = "dillon37"; //cief TODO: To be updated by removing this line to user actual company name
|
||||
if(!is_null($model->owner->company)){
|
||||
//For owner_type > App\Models\Booking
|
||||
$companyReference = $model->owner->company->reference;
|
||||
@@ -60,7 +60,7 @@ class TransactionToPerfexCRMProcessor
|
||||
$company = $this->fetchesCompany->execute(['id' => $model->owner->owner->id]);
|
||||
$email = $company->employees()->first()->email;
|
||||
}
|
||||
$contactEmail = "dillon36@yahoo.com"; //cief TODO: To be updated to user actual email address
|
||||
$contactEmail = "dillon37@yahoo.com"; //cief TODO: To be updated to user actual email address
|
||||
$bookingMarking = $model->owner->marking;
|
||||
if($model->owner instanceof \App\Models\Booking && $model->payment_reference != null && $status == ApprovalStatus::APPROVED){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user