feat: Enhance email functionality and PDF generation for Sales Orders

- Enabled SMTP debugging in PHPMailer for better error tracking.
- Added a "Test send email" link in the Inventory Detail View for quick email testing.
- Implemented automatic PDF generation and email sending upon Sales Order creation.
- Created a new action for sending Sales Order emails with attached PDFs.
- Added a new AJAX action for testing outgoing email server configurations.
- Updated outgoing server settings to use new SMTP credentials.
- Improved email templates for better user experience.
- Added test scripts for validating PDF generation and email sending.
This commit is contained in:
BACHIR SOULDI
2026-02-17 15:59:31 +01:00
parent 2794e62571
commit 2a647b138a
46 changed files with 25100 additions and 1296 deletions

22
.gitignore vendored
View File

@@ -1,5 +1,17 @@
/test
/logs
/user_privileges
/test
/logs
/user_privileges
*.log
*.bak
test/templates_c/
test/templates_c/*.tpl.php
test/templates_c/v7/710e620183d7eba30794adcdaa65a6b9b5aba915.file.Footer.tpl.php
test/templates_c/v7/833e7fc50cbf769ba11253f5188fa344a967b92e.file.SidebarAppMenu.tpl.php
test/templates_c/v7/2627944103942efed50bd439d9d1dbdcc67dc480.file.ModalFooter.tpl.php
test/templates_c/v7/b62713acd22803ca6b3ad6d54ce71cdbcc4dc22a.file.Topbar.tpl.php
test/templates_c/v7/b307425d1b338e6a92e5cdf7e1d4fa12929b2d14.file.Multireference.tpl.php