Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-02-21 21:48:03 +01:00
parent ebab220f7e
commit 5eee2c6649
21 changed files with 172 additions and 150 deletions

View File

@@ -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
);
}
}
}