Another round of testing with different email adderss

This commit is contained in:
Dillon
2023-01-08 22:03:51 +08:00
parent 63f0670923
commit d0e6caed9f
2 changed files with 3 additions and 3 deletions
@@ -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){