Skip to content

Commit

Permalink
Fixed saving of orderCompletedEmail
Browse files Browse the repository at this point in the history
  • Loading branch information
nfourtythree committed Aug 14, 2023
1 parent eaf3080 commit ee0039d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/elements/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -2063,6 +2063,7 @@ public function afterSave(bool $isNew): void
$orderRecord->itemTotal = $this->getItemTotal();
$orderRecord->itemSubtotal = $this->getItemSubtotal();
$orderRecord->email = $this->getEmail() ?: '';
$orderRecord->orderCompletedEmail = $this->orderCompletedEmail;
$orderRecord->isCompleted = $this->isCompleted;

$dateOrdered = $this->dateOrdered;
Expand Down

0 comments on commit ee0039d

Please sign in to comment.