Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -577,7 +577,7 @@ class OrderAdminService
|
||||
return false;
|
||||
}
|
||||
|
||||
$email = new \Email(0);
|
||||
$email = new \Shared\Email\Email();
|
||||
$email->load_by_name('#sklep-zmiana-statusu-zamowienia');
|
||||
|
||||
$email->text = str_replace('[NUMER_ZAMOWIENIA]', $number, $email->text);
|
||||
@@ -800,4 +800,4 @@ class OrderAdminService
|
||||
FILE_APPEND
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user